Analyzing Interface Objects in the ESR: Message Types

Objective

After completing this lesson, you will be able to create message types

Message Types

The message type describes the structure of a message that SAP Process Integration (PI) sends or receives and determines the root element of the message. The message type references a single and complex data type and can be used for both outbound and inbound service interfaces.

An eXtensible Markup Language Schema Definition (XSD) version of the message type is provided in the Enterprise Services Repository (ESR) for the export of the interface.

Create Message Types

Business Scenario

You want to create a message type.

Exercise Information

Note

In this exercise, when the values include ##, replace the character with a two-digit number (01–30).

Exercise Options

You can perform this exercise in two ways:

  1. Live Environment: choose Start Exercise, and from the entry page choose Open PDF Document. Follow the steps described in this pdf in your own system landscape.
  2. Simulation: choose Start Exercise, and from the entry page choose Start Tutorial. Watch the step-by-step instructions within the simulation.

Note

We recommend running the simulation first.

Task 1: Create Source Message Types

Steps

  1. Open NWDS 7.5 and open Enterprise Service Repository Perspective. Log on with your user ID and password if required.

    1. Navigate to WindowPerspectiveOpen PerspectiveOther.

    2. Select the Enterprise Service Repository perspective.

    3. If required, log on with your BIT500-## credentials.

  2. Create the source message types based on the data in the table. The data type should be a complex data type where the description is created as an included data type.

    Use the following data:

    FieldValue
    Software Component VersionSC_BIT500_##_A of education.com
    Namespacehttp://education.sap.com/sca##
    Message Type NameMT_Material
    Data Type UsedDT_Material

    1. Navigate to SC_BIT500_##_A of education.com → SC_BIT500_##_A of education.com and select your namespace, http://education.sap.com/sca##.

    2. Right-click http://education.sap.com/sca## and choose New → Message Type.

    3. In the Create Message Type window enter the data from the table.

    4. Choose Finish.

    5. If required, create a new Change List and enter a name of your choice, e.g. Group##.

    6. Save your changes.

Task 2: Create Target Message Types

Steps

  1. In the Enterprise Service Repository Perspective create the target message types based on the data in the table. The data type should be a complex data type where the description is created as an included data type.

    Use the following data:

    FieldValue
    Software Component VersionSC_BIT500_##_B of education.com
    Namespacehttp://education.sap.com/scb##
    Message Type NameMT_Materials_B
    Data Type UsedDT_MessageMaterials_B

    1. Navigate to SC_BIT500_##_B of education.comSC_BIT500_##_B of education.com.

    2. Select your namespace, http://education.sap.com/scb##.

    3. Right-click http://education.sap.com/scb##.

    4. Choose NewMessage Type.

    5. In the Create Message Type window enter the data from the table.

    6. Choose Finish.

    7. If required, create a new Change List and enter a name of your choice, e.g. Group##.

    8. Save your changes.

  2. Activate all of your objects.

    1. Go to the My Change Lists tab.

    2. Expand Change Lists of bit500-## userPending Change Lists.

    3. Expand each Software Component List.

    4. Right-click each of the change lists and choose Activate.

Log in to track your progress & complete quizzes