SAP Knowledge Base Article - Preview

3785689 - How to Capture the Payload in SAP Cloud Integration (CPI) Using a Groovy Script

Symptom

You need to capture the payload processed by an integration flow for troubleshooting purposes. Typical scenarios include:

  • Validating the payload received from or sent to a backend system.
  • Comparing the payload before and after a processing step.
  • Capturing the request sent to a receiver adapter and the response returned by the backend.
  • Providing payloads to SAP Support for further analysis.


Read more...

Environment

  • SAP Cloud Integration
  • Integration Suite

Product

Cloud Integration all versions ; SAP Integration Suite all versions

Keywords

payload, message body, MPL, Message Processing Log, attachment, addAttachmentAsString, MessageLogFactory, Groovy Script, Script Step, Cloud Integration, SAP Integration Suite, CPI, logging, payload logging, request reply, SuccessFactors, OData, HTTP Adapter, SOAP Adapter, troubleshooting , KBA , LOD-HCI-PI-WT-IFL , Integration Designer , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.