Application Development 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: 

Sample code on readind idoc data to a file

Former Member
0 Kudos

hi friends

i need a sample ABAP program on SAP to read the outbound IDOCs created from deliveries or anything and create a file containing delivery information or any which will be sent to external systems

2 REPLIES 2

uwe_schieferstein
Active Contributor
0 Kudos

Hello Anil

I would suggest to transform the IDoc into XML on which you can run a XSLT transformation in order to extract the required data.

For more details please refer to the blog [Generate Test Case for an IDOC Scenario|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2923] [original link is broken] [original link is broken] [original link is broken];.

In addition, search the SDN for similar blogs about this topic. You will plenty of them.

Regards,

Uwe

Former Member
0 Kudos

Hi friends

here what im trying to do is

i want to read all idoc data (assume deliveries) which is there in different segments and put this all data in flat file

i am not using XI here