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: 

READING EDI IDOC'S INBOUND ORDERS

Former Member
0 Kudos

HELLO.

DOES ANYBODY KNOW HOW TO READ EDI INBOUND SALES ORDERS IN

ABAP ?

I WANT TO READ THE IDOC'S WITH A PROGRAM

AND FIND THE MATERIALNUMBER AND THE QUANTITY .

THANKS

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Read table EDIDC using the inbound message type. Once you have the valid IDOC numbers read table EDID4 using the IDOC number and move the contents of field SDATA to the structure found in field SEGNAM. You can then read the field required in the structure.

5 REPLIES 5

Former Member
0 Kudos

You define your own process code and then attach your FM to it. Inside FM, you can read data.

I hope this is your requirement.

Former Member
0 Kudos

Tables EDIDC and EDID4 have all the data of the IDOCs. If you know the IDOC number then you can get the material number and quantity if you look inside the related segment of the IDOC.

Former Member
0 Kudos

Read table EDIDC using the inbound message type. Once you have the valid IDOC numbers read table EDID4 using the IDOC number and move the contents of field SDATA to the structure found in field SEGNAM. You can then read the field required in the structure.

Former Member
0 Kudos

Hi

If you want to find IDOCS for specific material numbers use transaction WE09.

If you want to see all IDOCS for a partner use tcode WE05.

Cheers.

Former Member
0 Kudos

Hi,

Check out this document for the details:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an advanced guide to implementing application link enabling.pdf

regards

Aveek