A basic type is an IDoc type supplied by SAP.
An extension is defined by the customer and combined with a basic type to create a new IDoc type.
The messages exchanged between systems are of various message types. The message type depends on the data contained and the process involved. It determines the technical structure of the message, the IDoc type. For example, the FIDCMT message type is used for journal messages.
The IDoc type indicates the SAP format that is to be used to interpret the data of a business transaction.
An IDoc type consists of the following components:
· a control record
This is identical for each IDoc type.
· several data records
One data record consists of a fixed key part and a variable data part. The data part is interpreted using segments, which differ depending on the IDoc type selected.
· several status records
These are identical for each IDoc type and describe the statuses an IDoc has already passed through or the status an IDoc has attained.
The figure below shows the m-to-n relationship between logical messages (business meaning) and IDoc types (technical format). Message 1, for example, is always assigned to one IDoc type, while message 3 is assigned to two IDoc types. IDoc type 2, in turn, is also assigned to 2 logical messages.
Message Type Basic Type
MATMAS_BAPI MATMAS_BAPI01 *Message 1/IDOC type 1
ORDERS ORDERS05 *Message 2, 3/IDOC type 2
ORDRSP ORDERS05
ORDCHG ORDERS01 *Message 3/IDOC 2, 3
ORDERS02
ORDERS03
ORDERS04
ORDERS05