Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Sriprasadsbhat
Active Contributor

Introduction:


Integration Suite is the future-proof and strategic integration platform from SAP with a long term roadmap. This is the recommended solution from a product strategy perspective.To help developers/customers working on migrating integration scenarios from SAP Process Orchestration to SAP Integration Suite, we will be starting off with series comprising of multiple technical how-to guides.

Scenario:


In the below blog post we will see how to move Graphical Message Mapping from  SAP Process Orchestration to SAP Integration Suite.

What is currently supported:


Message Mapping without Local UDFs


Message Mapping not having any requirement of User Defined Functions and Lookup logic can be imported into Cloud Integration by following below step by step video tutorial.


Message Mapping with Local UDFs


Message Mapping having User Defined Functions and without lookup logic can be imported into Cloud Integration by following below step by step video tutorial.


What is planned for future release


With the release of Message Type and Data Type editor in SAP Integration Suite it is possible to reuse existing content from SAP Process Orchestration.

What needs to be reworked and how



  • Parameterised Message Mapping


Parameterised mapping was one of the key aspect of SAP PO to avoid design time changes and provide flexibility to developers for managing the key parameters at Configurations to further reference in message mapping.


With the move to Coud Integration, Parameterised Message Mapping needs to reworked and parameter externalization can be used  to simplify the same.


SAP PO Configuration:


Create parameter and bind the same in operation mapping



Map the value of same to output field.



Bind the paremeter in Operation Mapping



Pass the value from ICO- Receiver



Steps to achive the same in SAP Cloud Integration:


Add content modifier and create header with name DC_CODE with below configuration so that values can be passed runtime.



Create a custom function in your imported message mapping and perform the same logic.



Code snippet 



import com.sap.it.api.mapping.*;

def String customFunc1(String P1,MappingContext context) {
String value1 = context.getHeader(DC_CODE);
return value1;
}


  • Message Mapping with RFC/JDBC lookups.

    • Delete the Lookup Logic from Message Mapping and operation mapping.

    • Import the message mapping into SAP Cloud Integration.

    • After Message Mapping step add Content Enricher step and enrich the data based on incoming data






Rererences


[ 1 ] Migration Guide for SAP PO : Migration Guide

[ 2 ] Message Mapping in SAP PO : Message Mapping

 
6 Comments