06-26-2008 9:04 AM
hi friends,
I wan to convert idoc to xml. I am using function module IDOC_XML_TRANSFORM but this fm only shows xml but there is no option to save it as xml.
Please give some suggestions.
Regards,
Brijesh...
06-26-2008 9:17 AM
Hi ,
Please use this link .
[Idoc to XML conversion|http://saptechnical.com/Tutorials/ALE/IDOCToXML/IDOCToXML.htm]
Please reward if useful.
06-26-2008 9:22 AM
You need to follow the following steps:
1. Create a port under type XML file: Give a physical directory path and Function module name as EDI_PATH_CREATE_CLIENT_DOCNUM. Make sure that the physical directory exists in AL11.
2. Define a partner profile for your message type with the port created above. Give this as Receiver port in the outbound parameters for the required message type.
3. In WE19, give the IDOC number which needs to be downloaded as XML
4. Execute it
5. Edit the control record and change the receiver port data and click on ok button.
6. Click on Standard outbound processing button in application toolbar.
7. It gives a pop-up message with the port details. Click ok in that pop-up.
8. Now the IDOC is saved as XML file in the physical directory mentioned in the port.
You can download this file using transaction CG3Y.
Regards,
Lakshmi.
06-26-2008 11:52 AM
Thanks, I had solved this issue by creating XML port and using transaction C3GY