Modeling a Messaging BDoc Type

Context

You need to model an mBDoc type to exchange data between the CRM server and other systems, such as CRM Online and ERP backend systems. The process of modeling an mBDoc type is different from the process of modeling a Mobile Application BDoc type or sBDoc type. This is because an mBDoc type does not contain mapping of segments to database tables. In the mBDoc type, the container of business data is a complex ABAP Dictionary structure.

Procedure

  1. Log on to the CRM server and choose Start of the navigation pathArchitecture and Technology Next navigation step Middleware Next navigation step Development Next navigation step Meta Object Modeling Next navigation step BDoc ModelerEnd of the navigation path. The CRM BDoc Modeler screen is displayed.
  2. Choose create.

    The Attributes, BDoc Overview, and Parameters tabs are displayed.

  3. In the BDoc Identity group box, enter the following details:

    Field name

    Description

    Req./Opt./Dep.

    User action and values

    Comment

    Name

    Indicates the name of the BDoc type

    Req.

    Enter a name for the BDoc type.

    The name of the BDoc type must not exceed 14 characters.

    Short Name

    Indicates the short name of the BDoc type

    Dep.

    This field is read-only.

    This field is automatically populated with the name of the BDoc type. Therefore, the name of the BDoc type is also the short name of the BDoc type.

    Description

    Indicates the description of the BDoc type

    Opt.

    Enter a description for the BDoc type.

    N/A

  4. In the BDoc Class group box, select Messaging.
  5. In the Related Data Type field under the General Data group box, you can specify the ABAP Dictionary structure name that serves as a container for business data.
  6. Save the BDoc type.

    The Create Object Directory Entry dialog box is displayed.

  7. Enter the name of the transportable package in the Package field and choose Enter.

    ThePrompt for transportable Workbench request dialog box is displayed.

  8. Enter the transport request and choose Enter.

Results

You have modeled an mBDoc type. You can now proceed to create segments for the new mBDoc type. In addition, you can map the mBDoc type to a site type.