A BDoc message is based on the class of a BDoc type. A BDoc message contains the following sections:
· Header - Contains data such as the globally unique BDoc message ID, BDoc sender, send time, and BDoc type, which identifies the data segment structure.
· Body - Contains a hierarchical data structure holding business information.
¡ BDoc messages exchanged between the CRM server and mobile clients are based on sBDoc types. sBDoc types contain data segments mapped to table fields that make up the corresponding business object type.
¡ BDoc messages exchanged between the CRM server and SAP and non-SAP applications are based on mBDoc types. mBDoc types contain a hierarchical segment structure (the classical part) and an extension created in the Data Dictionary that holds business data. The hierarchical segment structure may contain a selection of the fields of the extension for receiver determination, which allows the filter criteria to be specified for these fields in replication modeling.
· Receiver - Provides the details of the receivers of a message, such as receiver site name, site ID, and site type.
· Error Information - Provides the details of errors, such as date, time, type of error, message text, message class, and message number.
The following figures outline the structure of the two types of BDoc messages mentioned.
Message Exchanged Between the CRM Server and Mobile Clients
Message Exchanged Between the CRM Server and SAP and Non-SAP Applications