IDOCs
IDOCs
between any two processes that can understand the syntax and semantics of the data.
In an inbound ALE or EDI process, an IDOC serves as input to create an application document.
-When an IDOC is created in the system , an unique number(16 Digits) is assigned to it.
- Basic Idoc Type: Basic Idoc type defines the structure and format of the business document
that is to be exchanged between two systems. Basic Idoc type can refer to an SAP provided
Name : A basic Idoc type can be assigned upto a thirty character name.
Hierarchy of segments : The hierarchy of segments specifies the physical sequence and
Mandatory Vs Optional Segments : When used in the IDOC type, each segment has
Minimum/Maximum range for each segment: It defines the maximum and minimum
Segments are reusable componets. A segment consists of various fields that represent data
in data record.
1. Control Record : The control record contains all of the control information about an IDOC,
this information basically includes the IDOC number, sender and receiver information,
and information such as the message type it represents and the IDOC type.
- The stucture of the control record is the same for all the IDOCs and is defined by SAP.
- The structure of the control record is defined by the data dictionary structure EDI_DC40.
2. Data Record : Data records contain the application data. A data record has two sections
- The Administrative section cotain the segment name, client, IDOC number, segment number,
3. Status Record : Status records are attaced to an IDOC throughout the process as
the IDOC achieves different milestones or encounters an error. At every milestone a statu code,
- Status codes 01 to 49 are reserved for OUtbound process, 50 and above are reserved for
inbound processes.
Message Type: Identifies what type of information transformed between logical systems
or partners.
Port : A Port defines the medium in which data is exchanged between the two systems in
5. ABAP-PI ports used to process data via the ABAP programming interface.
Partner Profiles:
A partner profile has three views, which maintain different parameters for the partner.
2. The Outbound Parameters view : Values are stored in table EDP13, except for the
Transaction Codes :