09-08-2008 11:22 AM
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
09-08-2008 4:19 PM
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
09-08-2008 4:19 PM
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
09-08-2008 10:18 PM
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
09-24-2008 5:10 AM