Example of Configuring a Service Operation

Concept

The following example shows how you create an object for the service operation Start (StartRequestMessage_sync StartRequest_syn).

Activities

  1. Click on the Operation Configuration tab.

  2. Click the service operation Start (StartRequestMessage_sync StartRequest_syn) to select it.

  3. Choose the Create Request Message pushbutton.

    In the screen section Request Message Configuration, the system displays the table with the following data:

    Field Name

    Field Type

    Value

    StartRequest_Sync

    StartRequestMessage_sync

    -

    MessageHeader

    Basic BusinessDocumentMessageHeader

    Create Object pushbutton

    StartRequest

    StartRequest

    Create Object pushbutton

  4. Click the StartRequest field name and in the Value column, choose the Create Object pushbutton.

    The system displays two new rows in the table:

    SiteRef

    SfcRequest

  5. Select the SiteRef object row by clicking on the name of the SiteRef field. Choose the Create Object pushbutton.

    The PCo system now shows a new row with the object Site (field name Site and field type String).

  6. In the row of the Site object in the Value column, enter the value SITE and mark the checkbox in the Variable column.

  7. Select the row of the object SfcRequest and choose the Create Array pushbutton in the same row.

    The system shows the Input Box dialog box.

  8. Enter 1 as the array size and choose OK.

    The PCo system shows a new row with the field name 0 and the field type StartRequestSFC.

  9. Select the new row and choose the Create Object pushbutton.

    The PCo system shows several new rows with new objects.

  10. Keep navigating in this structure until you have found the field names specified in the following table; you do this by marking a row and then choosing the Create Object pushbutton. For the string variables, enter the values from the following table:

    Field Name

    Value

    Select Variable Checkbox

    Start of the navigation pathSiteRef Next navigation step SiteEnd of the navigation path

    SITE

    Yes

    Start of the navigation pathSfcRef Next navigation step SfcEnd of the navigation path

    SFC

    Yes

    Start of the navigation pathResourceRef Next navigation step Resource Next navigation step ValueEnd of the navigation path

    RESOURCE

    Yes

    Start of the navigation pathOperationRef Next navigation step OperationEnd of the navigation path

    OPERATION

    Yes

    Start of the navigation pathOperationRef Next navigation step OperationEnd of the navigation path

    #

    No

    Start of the navigation pathUserRef Next navigation step UserIDEnd of the navigation path

    USER

    Yes

  11. Save your entries.

    The configuration of your Web Service Destination for SAP ME is thus completed.

    You can now create an agent instance and a notification. The values you have entered here can then be used in the notification in the Output tab. See also: Integration with Third-Party Systems Using Web Services (WSD).