C_CPI Integration Suite Development Practice Question
An integration developer is creating an integration flow that must log the message payload at a specific point for debugging purposes. The developer wants the logged content to be visible in the tenant's message processing log without storing the full payload permanently. Which step should be used?
⚠ Common exam trap
The trap here is assuming a Content Modifier or script is needed to log payloads, when the Message Log step is the built-in component designed for that purpose.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Message Log step configured to log the payload at that position
The Message Log step captures the message payload into the message processing log at the exact position it is placed in the flow. It is the purpose-built step for debugging payloads and avoids custom scripting or header manipulation. The other options either do not log or require custom code and risk side effects.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Content Modifier with the body logged as a header
Why it's wrong here
A Content Modifier can set headers, properties, or the body, but it does not write to the message processing log. Adding the payload as a header could expose large content and is not a logging mechanism. It would also affect downstream processing by altering headers, which is not the intent here.
- ✗
Message Mapping step with trace logging enabled
Why it's wrong here
Message Mapping transforms the payload and does not provide a general-purpose logging facility. Trace logging in mapping is for diagnosing mapping execution, not for capturing arbitrary payloads at a chosen point in the flow. It also would not store the payload in the message processing log as required.
- ✓
Message Log step configured to log the payload at that position
Why this is correct
The Message Log step writes the current message payload to the message processing log at the point where it is placed. It is the built-in mechanism for capturing payloads for debugging, and its log level and content can be configured. This directly satisfies the requirement without custom code or altering headers.
- ✗
Groovy Script step writing to the tenant log via the script API
Why it's wrong here
A Groovy Script can write to the tenant log using the message log API, but this requires custom code and careful handling to avoid logging sensitive data. The scenario seeks a built-in logging step rather than a scripted solution. Using a script adds maintenance overhead and is not the standard approach for simple payload logging.
About these practice questions
One of 218 original C_CPI practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official SAP exam blueprint
This C_CPI practice question is part of Courseiva's free SAP certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the C_CPI exam.