Skip to Content

UPDATE: With SAP Cloud Platform Integration version 2.40, you can also import Service Interfaces from ES Repository.

 

UPDATE: With SAP Cloud Platform Integration version 2.39, you can also import Operation Mappings from ES Repository. For more information, see documentation

 

SAP Cloud Platform Integration version 2.37 onwards comes with new enhancements for message mapping. Going forward, you can import your message mapping resources from Enterprise Service Repository (ES Repository).

Here’s how you can configure the ES Repository and import message mapping resources.

Configuring Cloud Connector

The first step is to configure SAP Cloud Connector with on premise ES Repository. Cloud connector is an installable application that allows you to establish communication between on premise and cloud applications. To know more about SAP Cloud Connector, see https://help.sap.com/viewer/cca91383641e40ffbe03bdc78f00f681/Cloud/en-US/e6c7616abb5710148cfcf3e75d96d596.html

Connecting to the ES Repository

The Settings section of SAP Cloud Platform Integration comes with a tab where you can configure connection to ES Repository. You need tenant administrator role to access this. If you are not a tenant administrator, you can contact your tenant administrator to obtain that role or ask your administrator to configure this. You need to provide information for the ES Repository connection. In this case, you connect to the ES Repository through the cloud connector as you are connecting from a cloud application (SAP Cloud Platform Integration) to an on premise application (ES Repository).

Here is the sample screenshot of ES Repository settings:

 

Name: Any custom name to identify the connection name for your reference.

Address: URL configured in the cloud connector which connects to the ES repository.

Credential Name: It is an alias, deployed in the via the Cloud Platform Integration Operations (Monitor) view -> Manage Security Material. Sample screenshot of the same below

Location ID: It is the location ID information provided in your cloud connector configuration

 

Integration Flow Project

Once the ES Repository configurations are completed, you can import the message mapping resources from your ES Repository. Here’s how you can do it:

Create a new integration flow or edit an existing integration flow project. In the Resources view, select Add -> Mapping -> Message Mapping.

 

This opens Add Message Mapping dialog.

Source will be ES Repository by default. The other fields (Name, Address and Location ID) will be displayed in read-only mode and these values are from the ES Repository settings configuration.

Note: If no value for Location ID is provided in ES Repository settings tab, this field will not be shown in Add Message Mapping dialog

Click Connect. It will make a call to configured ES Repository system and fetch all the message mappings.

 

Select the row of message mapping which you want import and then click Select.

A summary dialog will open with the resources which will be imported/added along with message mapping.

 

Click Add.  It will import/add all the resources in the Integration Flow Resources view.

 

You can now add a new message mapping integration flow step (or use the existing message mapping flow step of your integration flow project) and assign the imported/added message mapping, ‘abcd’.

 

Click on abcd.mmap. It will open the Message Mapping editor where you can make changes, if required.

 

Summary

With 2.37 version of SAP Cloud Platform Integration, the new feature of importing message mapping resources from ES Repository is available. You can now reuse the existing mappings in your ES Repository directly by importing them.

 

To report this post you need to login first.

9 Comments

You must be Logged on to comment or reply to a post.

  1. Siva Chandolu

    Hello Deepak,

    Thanks for the blog.This is a nice feature to import ES repository contents from the iFlows.

    Would there be any possibility to configure the message mapping dynamically based on xpath expression in the iFlow?

     

    Regards,

    Siva

    (0) 
        1. Deepak Govardhanrao Deshpande Post author

          Hi Siva,

          Need more info, I am not able to get your statement of “select mapping definition based….”. Is it possible for your to explain your requirements in detail with a sample content?

           

          Thanks

          Deepak

          (0) 
  2. Tobias Träger

    Hello Deepak,

    will it be possible to upload mappings also from the filesystem or import them from other iFlows?

    Currenty I see only the ES Repository option.

     

    Regards

    Tobias

    (0) 
    1. Deepak Govardhanrao Deshpande Post author

       

      Hi Tobias,

      As of now we have enabled import from ES Repository. In future releases, we will enable the support from importing/copying from other iFlows as well.

      Import from file system needs dependent resources like wsdls, xsds etc (which are used in the mapping source/target) to get uploaded along with message mapping. We will work on the feasibility and update you in upcoming releases.

       

      Thanks

      Deepak

      (0) 
      1. Tobias Träger

        Hi Deepak,

         

        alright that would really help.

        We have ERP<->C4C Integration Implementation in HCI with a lot of slighty modified iFlows (mainly because we have 2 ERP Backends connected to 1 C4C).

        I now wanted to update the Mapping of one of the iflows with a newer version from the default iflow, but had no change to do it within WebUI, as I could not upload any mappings.

         

        Regards

        Tobias

         

         

         

        (0) 
  3. Former Member

    Hi Deepak

    Thanks for the blog. I’m able to connect to ESR, but getting this error while trying to import the mapping to CPI. Is there anything that I can do to resolve this issue.

    (0) 

Leave a Reply