‎2007 Mar 22 12:08 PM
Hello All,
Can any body exaplain how i can get the data saved along with the structure from an idoc type to a local file.I am able to save the xml format structure of an idoc from the Tcode we63.
Thanks and Regards
Madhavi
‎2007 Mar 22 12:33 PM
Hi,
You can use this FM IDOC_READ_COMPLETELY to read the IDoc data and FM IDOCS_OUTPUT_TO_FILE to output to file.
If the file is stored in application server the you can use transaction CG3Y to download to PC file.
From IDoc interface point of view, you usually configure the IDoc port (WE21) which will tell the system where to output the IDoc (RFC, application server, and etc) and what type of IDoc file formats (XML, flat file and etc).
This IDoc port setup will be attached in your partner profile (WE20) for a given message type.
Regards,
Ferry Lianto
‎2007 Mar 22 12:24 PM
If IDOC is already created then you can use WE05 transaction and from there you can use export -> xml format.
If IDOC is not created then you have to do configuration/development to create it.
‎2007 Mar 22 12:33 PM
Hi,
You can use this FM IDOC_READ_COMPLETELY to read the IDoc data and FM IDOCS_OUTPUT_TO_FILE to output to file.
If the file is stored in application server the you can use transaction CG3Y to download to PC file.
From IDoc interface point of view, you usually configure the IDoc port (WE21) which will tell the system where to output the IDoc (RFC, application server, and etc) and what type of IDoc file formats (XML, flat file and etc).
This IDoc port setup will be attached in your partner profile (WE20) for a given message type.
Regards,
Ferry Lianto