

The port defines the medium in which data is exchanged between the 2 systems. The port defines the technical characteristics of the connection between your SAP system and the other system you want to transfer data with (subsystem). In the partner profile of a partner that we exchange Idocs with, we maintain the parameters that are necessary for exchanging the data. IDOC Views are important only for Outbound Processing.Ī partner is defined as a business partner with whom you conduct business and exchange documents IDOC views are used to improve performance in generating IDOCs to ensure only the relevant segments are filled with data. Transaction WE81Īn IDOC type can be used for more than one message type, which results in IDOCs containing more fields than required for a particular message type. Orders, orders responses, invoices etcĪn idoc type can be associated with many message typesĪlso, a message type can be associated with different idoc types.

Most of the times you will NOT use extension.Įach IDOC are thoroughly documented in transaction WE60Ī message represents a specific type of document that is transmitted between two partners Ex. In case you want to add more data to these restricted basic type you may use an extension type.

SAP provides many a pre-defined Basic IDOC Types which can not be modified. The last 3 characters is the version of the segmentĭefinitions keep changing as per the version but the segment type remains the same. You can define IDOC types using WE30 What is a Segment?Ī Segment defines the format and structure of a data record in I-DOC. An IDOC is an instance of an IDOC Type, just like the concept of variables and variables types in programming languages. Statuses 1-42 are for outbound while 50-75 for inboundĪn I DOC Type, (Basic) defines the structure and format of the business document that is to be exchanged. Status record is attached to an I-DOC at every milestone or when it encounter errors.Īll status record data is stored in EDIDS table.

The actual data is stored as a string in a field called SDATA, which is a 1000 char long field. It contains data like the idoc number, name and number of the segment in the idoc, the hierarchy and the data It contains information like IDOC number, the direction(inbound/outbound), sender, recipient information, channel it is using, which port it is using etc.ĭirection ‘1’ indicates outbound, ‘2’ indicates inbound.ĭata record contains application data like employee header info, weekly details, client details etcĪll data record data is stored in EDID2 to EDID4 tables and EDIDD is a structure where you can see its components. Let’s look into them in detail – Control RecordĪll control record data is stored in EDIDC table. As seen the screenshot above IDOC record has three parts Control, Data and Status.
