Professional Documents
Culture Documents
SAP IDoc Overview and Outbound IDoc
SAP IDoc Overview and Outbound IDoc
1. Outbound
2. Inbound
IDoc (Intermediate Documents)
1- Outbound IDoc
Outbound IDoc
Outbound IDoc can be sent in 3 ways
2 • Message Control
• Ex: PO Status, GR Status, IR Status
12 Dispatch ok
18 Triggering port ok
25 Processing despite syntax error (outbound)
26 Error during syntax check of Idoc (outbound)
29 Error in ALE services
30 IDoc ready for dispatch (ALE service)
31 Error no further processing
37 Idoc created with errors
39 IDoc received in target system
40 Error application document not created in target system
3 Create Message Type Message type associate with basic IDoc type & WE81
defines the kind of data that is exchanged with the partner. One IDoc
type can be associated with many message types.
Outbound IDoc Configuration-
ABAP/Basis
Step Terminology Transaction
Code
4 Create Message Type- IDoc Type-Extension: In this step, Message type is WE82
assigned to the IDOC type and extension if it is available.
5 Create the RFC Destination: RFC destination will be going to contain the SM59
external system endpoint including Host, Path Prefix. Also maintain the basic
authentication. In order to send the outbound IDOC to we need to maintain
the RFC destination in SAP System
Outbound IDoc Configuration-
Basis
Step Terminology Transaction
Code
6 Create Port : WE21
The technical attributes of a communication channel (a port).
IDoc interfaces include information such as the IP address of a target system (port type
"Internet"),
or the directory and name of the file in which the communication data should be
transferred (port type "file").
8 Partner Profile Contains parameters for inbound & outbound processing of IDocs. WE20
Receiver Side ( Outbound to ) : In Partner type LS name XXXXX create the
Outbound Parameters, give the Message type, Receiver Port same as the port we
created in step 2. Enter the Basic type.
Message Control: Contains application for which IDoc will be created. The
message type of the application will trigger the IDoc.
Note: For outbound IDoc with Message types, respective Message Type and
Process Code needs to be assigned in Partner Profile which is not needed for
Change Pointers. PO Output configuration needs to be completed before this
setup
9 Change Distribution Model- This is required for the outbound IDoc with Change BD64
Pointers. A model view needs to be created and assign to the Message Type
Outbound IDoc Testing
Purchase Order Status:
https://wiki.scn.sap.com/wiki/display/ABAPConn/IDoc+Overview
https://wiki.scn.sap.com/wiki/display/ABAP/ALE%2CIDOC
IDoc (Intermediate Documents)
THANK YOU