Importing a Structure into a Messaging BDoc Type

Context

You use this procedure to import a structure into a mBDoc type. After creating a segment for a mBDoc type, you need to add segment fields. You can either add segment fields manually or import an existing structure. When you import an existing structure, the fields in the structure are added as segment fields. In addition, during the structure import, you can create child and sibling segments.

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 appears.

  2. Expand the mBDoc type in the tree.
  3. Double-click the required segment.

    The Segment Overview, Mappings, Joins, and Segment Fields tabs appear.

  4. Choose Change.
  5. Right-click the segment.

    A context menu appears.

  6. Choose Import Structure.

    The Import Structure dialog box appears.

  7. In the Structure Name field, enter the name of the structure.
  8. Under Import Options, select the required import option. The following table explains the import options:

    Field name

    Description

    Req./Opt./Dep.

    User action and values

    Comment

    Append to existing segment fields

    Appends the fields in the structure to the existing segment fields

    Opt.

    Select the option.

    N/A

    Replace the existing segment fields

    Replaces the existing segment fields with fields in the structure

    Opt.

    Select the option.

    N/A

    Add as a sibling segment

    Adds a new segment at the same level as that of the existing segment

    Opt.

    Select the option and enter a name for the segment in the Segment Name field.

    When you select this option, you are required to specify a name for the new segment. The fields in the structure form the segment fields of the newly created segment.

    Add as a child segment

    Adds a new segment as a child of the existing segment

    Opt.

    Select the option and enter a name for the segment in the Segment Name field.

    When you select this option, you are required to specify a name for the new segment. The fields in the structure form the segment fields of the newly created segment.

  9. Choose Execute.