
Entitlements | Plan | Comments |
---|---|---|
Integration Suite | standard_edition |
Setup Role & Role Collection
New create a role collection such as "CPI", and then assign related Integration Suite roles to CPI.
Click the link "CPI" to access role collection overview page, and then Edit it.
Assign these roles to the role collection "CPI", the role MessagingSend is mandatory for subsequent integration process.
AuthGroup_Administrator
AuthGroup_BusinessExpert
AuthGroup_ContentPublisher
AuthGroup_IntegrationDeveloper
MessagingSend
Add your user into Users table
{"roles":["ESBMessaging.send"]}
Select menu Design, Create integration flow as following model. You could define your own flow as your real requirements. Some critical points will be noticed in this blog post.
This integration flow triggered by SAP S/4HANA Cloud system, when shipping_specialist created an outbound delivery order in SAP S/4HANA Cloud, SAP S/4HANA Cloud system will post out this document to the integration flow endpoint. Integration flow complete fields mapping and transform the data to acceptable format, and then post out to third-party warehouse management system. For this integration flow, SAP S/4HANA Cloud system is the Sender, and the third-party warehouse management system play the Receiver role.
/ShippingOrder
here. User Role ESBMessaging.send
is mandatory also.import com.sap.gateway.ip.core.customdev.util.Message;
import java.util.HashMap;
def Message processData(Message message)
{
def body = message.getBody(java.lang.String) as String;
def messageLog = messageLogFactory.getMessageLog(message);
if(messageLog != null)
{
messageLog.addAttachmentAsString("Log incoming request payload:", body, "text/plain");
}
return message;
}
Add a new message mapping, and then config related fields mapping relationship in the mapping. If some fields do not list out in source system, we could give a default value for the target system.
Add a Converter to convert acceptable format data for target system. Our target system identifies JSON format, so we add an XML to JSON converter.
If you need identify the items as array, please check the Streaming. And then assign correct path in XML Element.
wmsuser
, developer just only need invoke the key in the integration flow.Setup correct Credential Name, and then save the integration flow as new version.
Click Deploy to deploy integration flow, after deployment complete, navigate to Operations view
. Click All tile in Manage Integration Content section, check the integration content details view. SAP S/4HANA Cloud will consume the endpoint to trigger the integration flow in later chapter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
12 | |
11 | |
11 | |
10 | |
8 | |
8 | |
7 | |
7 | |
7 |