Please can someone answer my question asap.
I have to write an ABAP Class which receives an XML Document which has multiple IDOCS.The IDOC has several Segments which can repeat and also the segments have Sub-Segments.
Please can someone provide me a sample code which can convert the fields of each segment to a line of the output flat file.
I need a flat file where fields under each segment should come in one line.I mean the control record should come in one line.The fields of 1st segment ex:E1EDK01 should come in 2nd line.....
Thanks in Advance,