Connecting to SAP Process Integration

Use

This function provides the connection from Unified Key Mapping (UKMS) to SAP Process Integration (SAP PI). Here SAP PI uses the UKMS functions when transferring XML messages. The following objects are provided for connecting UKMS to SAP PI:

  • Classes

    Classes are provided with which ABAP mapping can be run. You use these classes in the Integration Repository in SAP PI when defining your interface mappings:

    • CL_UKMPI_ROUTING - Class for routing (receiver determination)
    • CL_UKMPI_MAPPING - Class for finding and creating key mappings
  • Customizing activities

    To configure the connection from UKMS to SAP PI, the following activities are available to you in Customizing of the Unified Key Mapping Service (UKMS) under UKMS Connection to SAP Process Integration (SAP PI):

    • Configuring Key Mapping

      Use this activity to define how the key mapping is to be constructed for each message and namespace.You can also configure the required changes for XML messages here (for example, exchange object keys).

      More information:Element Mapping and Changes to XML Message

    • Defining Number Range Objects

      With this activity you can define the number range objects required for configuring the key mapping.The system uses the keys provided by the number range object to generate the newly-created objects from the source system in the target system with a new, unique key (with a prefix where necessary).

The functions provided here form the basis that you can use to develop application-specific solutions. Therefore you need to define additional application-specific program objects and perform additional configuration steps in SAP PI and in the applications systems (see "Prerequistes"). Once all necessary prerequisites in SAP PI and in the application systems have been met, the applications will be able to replicate and synchronize your master data between several source systems and one target system.

More information:Master Data Replication and Master Data Synchronization.

Prerequisites

In order to be able to use the predefined options with this function, you need to perform the necessary settings in the following areas:

SAP NetWeaver WEB AS ABAP

In Customizing you have performed the following activities:

  • Configure Key Mapping (see "Use")
  • Define Number Range Object (see "Use")

SAP PI

In SAP PI you have performed the following settings:

  • You have entered all involved systems in the System Landscape Directory so that they can be used in the Integration Directory for receiver determination.
  • You have defined the interface determination and receiver determination for your master data objects in the Integration Directory.
  • In the Integration Repository, you have used the classes CL_UKMPI_ROUTING (receiver determination), CL_UKMPI_MAPPING (find or create key mapping) to define the Interface Mappings.

    To be able to use the ABAP classes in the Integration Repository, you need to extend the Exchange Profile by adding the mapping type"R3_ABAP": com.sap.aii.repository.mapping.additionaltypes=R3_ABAP|Abap-Klasse;R3_XSLT|XSL (ABAP Engine).

Applications Systems (Source Systems and Target System)

In the application systems, you have created the following prerequisites for the master data objects to be transferred:

  • The transfer of new or modified master data must be triggered by the application.
  • The transfer methods must be set up and configured for the master data objects (ALE, IDoc and so on).Remember that the master data transfer in the system landscape must be processed using SAP PI.