Hi experts,
I have 2 confusions with this powful module, which converts IDoc flat file to Idoc XML.
1.
SAP official documents clearly mentions "Payload in IDoc Flat format should have only one IDoc document" as important notes, but we have done POC that it can converts flat file with multiple IDoc..... The sender channel can convert these IDocs into one XML and send to IE for further processing.
This should be a good news, but why sometimes it can convert multiple IDocs correctly, sometimes not - we are sure there is no data issue with the flat file because the same file can be converted by another tool(content master).
The error information is so simple with only 2 words in sender channel - "Error: null", no more information since file still remains in the posting folder.
Totally get lost with such error information...
2.
I believe the flat to xml conversion is achieved by "fixedLength" method, say the module will parse the flat file based on the length of each field of IDoc metadata.
However, seems this module will discard the xml nodes which doesn't hold any value after conversion, for example:
<A></A>
We can't see this element "A" in the converted xml because it doesn't hold any value, and this IDoc XML will be sent to IE for further processing, and will raise error if some fields should occur but discarded by the module.
Below are the different xml, the first one is generated by IDocToXMLConvertor module, the second one is converted by other methods, which retains all the IDoc fields even it has no value.
Could you please share any thoughts for these 2 concerns above?
thanks a lot !!