I want to convert an IDOC flat file to XML. Then after making changes I have to convert that again to Flat file. Is there any function module or class in ABAP using which I can do this.
Asked
Active
Viewed 1,119 times
1 Answers
0
Use FM IDOC_XML_TRANSFORM
for this simple task.
Another approach can be used if you have not yet processed IDoc but want to process them directly in XML. Then you can use ALE Interface convertion like this:
- Send an outbound IDOC data to a flat file (XML). You should do corresponding customizing on Sender for this: port, distribution model, partner profile.
- Process the IDoc on the Receiver system.
If you want to do further changes with this XML, then use XML transformations as Esti kindly recommended to you.

Community
- 1
- 1

Suncatcher
- 10,355
- 10
- 52
- 90