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: 

interface between sap to non sap using edi idoc

Former Member
0 Kudos

hello abaper's,

i have requirment on creating Interface program for downloading files(PO) from Non-sap system to sap system using EDI Idoc techniques.pls give me a good tips for this requirment..

With Regards

MurugeshRajeev

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello,

First of all, we'll need to identify as to what we want to do with the PO Data. For example, If we want to Create Sales Order, there is already a Posting Program available with the Name IDOC_INPUT_ORDERS (FM). This is useful for Creating a Sales Order automatically whenever a PO IDoc is received.

Here is the Information for processing Standard IDoc.

1. WE30 - ORDERS05 - IDoc Type

2. WE31 - Segment Definition for the IDoc Type

3. WE81 - Logical Message Types (ORDERS)

4. WE82 - Assigning the Message Type to IDoc Type

5. WE42 - Define Process Code

6. BD51 - If you want to Code a Custom Function Module,

then after creating it, you need to register the same

Function Module in this Transaction Code.

7. WE57 - Assign Message Type / IDoc Type / FM group.

8. WE20 - Partner Profiles

9. WE21 - Port Definitions

Hope this information was helpful.

Thanks and Regards,

Venkat Phani Prasad Konduri

3 REPLIES 3

Former Member
0 Kudos

Hello,

First of all, we'll need to identify as to what we want to do with the PO Data. For example, If we want to Create Sales Order, there is already a Posting Program available with the Name IDOC_INPUT_ORDERS (FM). This is useful for Creating a Sales Order automatically whenever a PO IDoc is received.

Here is the Information for processing Standard IDoc.

1. WE30 - ORDERS05 - IDoc Type

2. WE31 - Segment Definition for the IDoc Type

3. WE81 - Logical Message Types (ORDERS)

4. WE82 - Assigning the Message Type to IDoc Type

5. WE42 - Define Process Code

6. BD51 - If you want to Code a Custom Function Module,

then after creating it, you need to register the same

Function Module in this Transaction Code.

7. WE57 - Assign Message Type / IDoc Type / FM group.

8. WE20 - Partner Profiles

9. WE21 - Port Definitions

Hope this information was helpful.

Thanks and Regards,

Venkat Phani Prasad Konduri

uwe_schieferstein
Active Contributor
0 Kudos

Hello

Assuming that the receiver expects the purchase order as EDI message then the overall procedure is like this:

1) Send purchase order as IDoc (ORDERS.ORDERS05)
2) Convert hierarchical IDoc into XML-IDoc (could be done by sending the IDoc to an XML port)
3) Convert IDoc-XML into EDI-XML (e.g. EDIFACT, ANSI X.12, etc.)
4) Convert EDI-XML into flat EDI message
5) Send EDI message to customer

We use SAP-XI to convert the Idoc-XML to EDI-XML. With the help of a little plugin we then create the flat EDI message which is sent by our ODEX server (www.dip.co.uk) to our clearing centre which eventualls forwards the messages to the customers.

Regards

Uwe

Former Member
0 Kudos

i found answer from friend's circle.