SAP CPI Message Mapping: Graphical Mapping, Contexts, Queues and Node Functions
Course quiz
SAP CPI Message Mapping: Graphical Mapping, Contexts, Queues and Node Functions
Keep this: job aid
CPI message mapping cheat sheet
- Artifact for reuse (deploy it first); flow step for one-off mappings; Dynamic reference = ref:<mapping ID> or pd:<Partner>:<Parameter>.
- Structures: XSD, WSDL (no remote refs), OData EDMX, OpenAPI 2.0/3.0 JSON; IDocs as XSD.
- Queue first: Display Queue on the source field and on each function before changing anything.
- Only the first group appears → raise the context or removeContexts.
- Header value on line 1 only → useOneAsMany(value, field[context=parent], field) + splitByValue(each value).
- Optional node → createIf with exists or equalsS; ifWithoutElse gives SUPPRESS when false.
- equalsS for text, equalsA for numbers, equals only for Booleans.
- Format amounts with FormatNum; never do arithmetic on IDs; currentDate uses the data center's time zone.
- Simulate + Download Output; keep input, expected, actual and result for every case.
- Escalate only as needed: custom function → XSLT step → Script step.