04-08-2009 10:15 AM
Hi,
I have the data of an IDOC in aninternal table.
Now I wish to convert this to the XML format.
Is there any FM which does so?
Or is there some other way to do it?
Regards,
Harshit Rungta
04-08-2009 10:19 AM
Hi use CALL TRANSFORMATION statement to convert abap data to xml format.
04-08-2009 10:43 AM
Hi,
u can also use FM /OSP/SAP_QUERY_DATA_TO_XML
OR
1. Goto WE19 and select radio button File as Template and specify the complete path and file in the parameter and click execute
2. In the next screen SAP will read the file and display the IDoc
3. Change the Sender and Receiver data in control record. Make sure you specify the XML File port as the the receiver port.
4. Now click the Standard Outbound Processing button.
This will generate the IDoc in XML format in the path that you specified in the XML port.
Hope this works ..
THANKS
ravi