Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10313

Re: SAP_XI_IDOC/IDOCFlatToXmlConvert, java.lang.NumberFormatException

$
0
0

Adarsh,

 

Is the source system is an SAP system? Could you post the file to check the format of the file. As said in the blog we need to have the format maintained to transform IDoc flat files into XML files.

 

"

Hi Li,

 

We have over come the number format exception by placing unique identifier in place of Idoc number and segment relations ships.

 

Module is successfully converting the IDoc Flat file with multiple Idocs, we dont have this limitation in this module.

 

The limitation is in the format of the source file. The flat file should contain unique identifier in place of IDoc and Parent and child node relation ship should explicitly mentioned in the IDoc flat file. Without these explicit parameters Module is not converting IDoc flat file into IDoc XML.

 

 

Without mentioning these explicit parameters, WE19 trasaction is successfully uploading the Idocs.

 

I think Java module is considering the unique relation ship by taking these parameters and ABAP program is reading the file in sequential way and creating the IDocs by breaking the file whenever it encounters EDIDC segment.

 

If the source system is not a SAP system, then it would be a problem using this module to convert Falt file into IDoc XML.

"

 

Thanks,

Krishna.


Viewing all articles
Browse latest Browse all 10313

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>