Show TOC

Procedure documentationWorking with Service Groups Locate this document in the navigation structure

 

Service groups allow you to configure multiple consumer proxies at the same time. For example, they allow multiple consumer proxies to be used to access different services offered by the same provider system.

Service groups define which services a consumer application needs to run. This is important to ensure that all the services in a service group are available on the same provider system.

A consumer application can have one or more service groups, depending on how many logical service providers it accesses. In this way, service groups can eliminate the possibility of configuring a consumer incorrectly.

Service groups allow you to group together:

  • Consumer proxies

  • A target (consisting of a name and a namespace)

Note Note

Services should be grouped together at design time. If this is not done at design time, any configuration errors may only become apparent at runtime.

End of the note.

Note Note

Service groups are transported by the standard ABAP transport system.

End of the note.

Prerequisites

To create a service group, the following are needed:

Procedure

Creating a Service Group

You create service groups in an ABAP back-end system.

  1. Start the Object Navigator (transaction code SE80).

  2. Locate the package in which you want to create the service group.

  3. Right-click on the package to open the context menu.

  4. From the context menu, choose Create.

    A wizard is started.

  5. Select Service Group.

  6. Continue.

  7. Specify a name, a Display Name and a Description, and specify the following options:

    • Package

      Either choose a transportable package or select Local Object to assign this object to your $TMP package.

    • Transport

      Select a request from your transport system. If you selected Local Object, no Transport Request is needed.

  8. Choose Continue then Finish.

    The new service group is displayed in the Service Consumer Groups folder. The information that you specified is displayed in the Properties tab.

  9. Save.

    The new service group is saved and is inactive. Next, you need to edit the new service group.

Editing and Activating a Service Group
  1. In the Object Navigator (transaction code SE80), locate the service group that you want to edit.

  2. Double-click the service group to display its properties.

  3. Go to the Properties tab.

  4. In the Target Destination box, specify a target destination to be associated with the service group.

    Use the input help to select a target namespace and name.

  5. From the service group display, go to the Classifications tab.

    When a new service group is created, initially no classifications are assigned. You can classify the service group object using classifications that are available in the registry.

  6. Select a classification and specify a value.

    Use the input help to display the available classification systems and their values. The Process Component classification is needed to be able to activate the service group.

  7. Go to the Consumer tab.

  8. Assign consumer proxies to the service group.

    You can select consumer proxies from the current ABAP back-end system.

    You can use the input help to select a Consumer ABAP Name, Consumer Port type Name and Provider Name.

  9. Save your changes.

    Before you can work with a service group, you need to activate it.

    Recommendation Recommendation

    Before you activate a service group, you should check the following:

    • The target destination

      To check that the target destination has been configured, go to the Properties tab.

      At least one target destination must be available for use in the service group. If there is no target destination, it will not be possible to activate the service group.

    • The process component classification

      To check that the process component classification has been configured, go to the Classifications tab.

    End of the recommendation.
  10. Activate the service group.

    From the menu, choose   Service Group   Activate  .

    Before the service group is activated, its consistency is checked. If errors occur, you need to resolve them before you can activate the service group.

Testing a Service Group

You can check the expected behavior of a service group.

  1. In the Object Navigator (transaction code SE80), locate the service group that you want to edit.

  2. Delete the target destination and the process component classification.

  3. Save and activate.

    Two error messages should be displayed:

    • Target Destination not maintained

    • Classification "uddi:uddi.sap.com:categorization:process-component" not maintained.

    This is the expected behavior, as a service group without a target destination and a process component is not consistent.

  4. Reassign the target destination and the process component classification.

  5. Save and activate the service group.

    No error messages should be displayed now.