SAP CPI Messages
Overview
The SAP CPI Messages Input collects message processing data from SAP Cloud Platform Integration (CPI), enabling observability into integration flows (iFlows) across your landscape. This input connects to the SAP CPI Message Processing Logs (MPL) via the OData API, retrieving information about individual message executions, including their lifecycle, statuses, and associated metadata. This data is essential for monitoring interface health, identifying failed messages, and analyzing flow performance.
Data Collected
The following fields are typically collected from SAP CPI messages:
Message ID – Unique identifier for each message processed by CPI.
Integration Flow ID and Name – Identifies the iFlow that processed the message.
Sender & Receiver Components – Metadata about the source and destination of the message.
Start and End Time – Timestamps marking when message processing began and completed.
Processing Status – Indicates the outcome of the message (e.g., COMPLETED, FAILED, RETRY).
Log Level / Severity – The log level set for the message (e.g., ERROR, INFO).
Error Details – Captures error messages or stack traces if the message failed.
Tenant ID / System ID – Identifies the tenant or system where the message was processed.
Correlation ID – Used to trace messages across systems or multiple flows.
Custom Header Fields – Any user-defined headers or context-specific metadata.
Payload References (Optional) – Links to persisted message payloads or attachments, which can be resolved separately.
Status
Available
Configuration
Adding a CPI Input in PowerConnect Cloud
Login to the PowerConnect Cloud web UI
Click on the Inputs link in the menu bar
Click the + button to add a new Input
Choose messages under sap-cpi
Fill in the form with the details you noted down when creating the powerconnect OAuth client (client id, client secret and token url).
For Neo envirnments the tenant url can be found in the SAP BTP Cockpit under Subscriptions → Applications (ending with tmn) → Application URLs
For Cloud Foundry its the url field in the service key
Choose the output you wish to send the CPI data to
Click Save
The Input is now created