Skip to main content

SAP: CPI Default Message Headers and Properties

Submitted by Stefan Barsuhn on

Anybody ever looking for a list of standard CPI message headers and properties:

https://help.sap.com/docs/cloud-integration/sap-cloud-integration/headers-and-exchange-properties-provided-by-integration-framework

These properties can be used, for instance, in Groovy functions like this (where SAPMessageID is the property from above link):

def String getMessageID(String dummy, MappingContext context){
    String msgid = context.getProperty("SapMessageId");
    return msgid;
}

Alternatively, in certain input fields, you can access them like this:

${property.SapMessageId}

Tags