Professional Documents
Culture Documents
The Communication is established using ports Flat File, Middleware Another SAP systems Message Types are type of IDOC that is used to send and receive data.
Message Type point to IDOC type that describes the communication structure
SAP IDOC Business Application Send Purchase Order to Vendor Vendor has capability to accept 850/860 EDI SAP System will create IDOC ORDERS upon save of PO (Message Control in ME22N will be used to send IDOC) SAP ALE interface will send the IDOC to preconfigured PORT that could be a file, middleware or SAP system Middleware will convert IDOC message into EDI 850 and send it to the Vendor
Configure IDOC Model Create RFC destination for the receiving system
SM59: Create RFC Destination for SAP systems and middleware systems
Transaction WE20: LI : Send PO to Vendor : Outbound WE20 [ Maintain Partner Profiles ]: Select Node Partner type LI Create New Partner Partner No: Vendor Number Partner Role: VN Message type: ORDERS (new Order) or ORDCHG (order change) Outbound Options Basic Type: ORDERS03 Receiver Port (one of the following): File Port pointing to SAP System Port pointing to Middleware System Message Control Application: EF Message Type: NEU Process Code: ME10
Send PO IDOC to Vendor Configure Vendor as a partner in WE20 Change PO using ME22N Go to Messages Select following options Output : NEU Medium: EDI Partner function: VN Partner: [Vendor Number ] Click on further options Dispatch Time: Send Immediately (When Saving The Application) Save the PO Check WE05 to see IDOC has been sent
(Check NAST table for processing date, if date is present then the IDOC is sent)
Transaction WE20: LI : Receive Order Confirmation from Vendor WE20 [ Maintain Partner Profiles ] [ Inbound ] : Select Node Partner type LI Create New Partner Partner No: Vendor Number Partner Role: VN Message Type: ORDRSP
Go inside the ORDR process code to find object and event in order to link it to a workflow in case of error
Transaction WE20: LI : Receive ASN from Vendor WE20 [ Maintain Partner Profiles ] [ Inbound ] : Select Node Partner type LI Create New Partner Partner No: Vendor Number Partner Role: VN Message Type: DESADV
How to send Delivery Shipping Notification to Vendor? Send Delivery Advise to Vendor [ Outbound ] Partner Role: DP Message Type: DESADV Receiving Port: File Basic Type: DELVRY03 Extension: ZDELVR03 Message Control Application: V2 Message Type: ZMSG Process Code: ZDELR [ point to copy of ZZ_IDOC_OUTPUT_DELVRY ] ZZ_IDOC_OUTPUT_DELVRY would process the normal segments with
IDOC_OUTPUT_DELVRY & you could perform your custom task with rest of the segment
How to receive Invoice from Vendor? Receive Billing Document from Vendor [ Inbound ] Partner Role: Message Type: INVOIC Message Code: FI Process Code: INVF [ Background Function: IDOC_INPUT_INVOIC_FI ] Receive Logistics Invoice from Vendor [ Inbound ] Partner Role: Message Type: INVOIC Message Code: MM Process Code: INVL [ Background Function:IDOC_INPUT_INVOIC_MRM ]
850 PO
IDOC: ORDERS
Send PO Change to Vendor
855 PO Confirmation
IDOC: ORDRSP
Vendor Sends Change Acknowledgement
MIDDLEWARE
860 PO Change
IDOC: ORDCHG
810 Invoice/Bill
IDOC: INVOIC
Why do we need Middleware? Most of the Supplier systems are not SAP systems. We need to convert SAP IDOC into EDI compatible format SAP IDOC can be sent to Middleware system like XI or Websphere Middleware will phrase the IDOC and make a EDI packet