Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

IDOC

Former Member
0 Likes
571

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
490

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

2 REPLIES 2
Read only

Former Member
0 Likes
490

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.

Read only

Former Member
0 Likes
491

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