C_CPI Integration Suite Development Practice Question
An integration developer is configuring a Message Mapping in SAP Cloud Integration. The target structure requires a field named Currency that must always contain the value 'EUR' regardless of what the source message contains. The developer wants to avoid writing a custom Groovy script. Which mapping element should be used to set this constant value directly in the graphical mapping editor?
⚠ Common exam trap
The trap here is assuming that any function connected to the target field will populate it, when only Constant emits a fixed literal without requiring a source field or condition.
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
✓
A Constant function dragged onto the Currency target field
The Constant function is the standard graphical mapping element for injecting a fixed literal into a target field. Because the requirement is a value that never depends on the incoming message, no source field or script is needed. Selecting Constant and entering EUR produces a deterministic mapping output and keeps the mapping readable, which is exactly what the developer asked for.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
A Text function mapped from any source field
Why it's wrong here
The Text function copies the string value of the connected source field into the target. If the source field is empty or contains a different currency code, the target would inherit that value, so it cannot guarantee the fixed 'EUR' literal. It also requires a source field connection, which the scenario explicitly does not want.
- ✗
A ContextChange function applied to the target field
Why it's wrong here
ContextChange is used to reset or split the context of a queue of values so that subsequent functions process each value independently. It manipulates context handling and does not assign any literal value. Applying it to Currency would not populate the field with 'EUR' and would likely produce an empty or incorrectly grouped result.
- ✗
An IfWithoutElse function with a fixed condition
Why it's wrong here
IfWithoutElse evaluates a boolean condition and routes values accordingly, but it still needs source input and a condition expression. It is designed for conditional branching, not for emitting a bare literal. Using it here would add unnecessary complexity and could leave the target unpopulated when the condition is false.
- ✓
A Constant function dragged onto the Currency target field
Why this is correct
The Constant function in the graphical message mapping editor assigns a fixed literal value to a target field without requiring any source field or script. Dragging it onto the Currency target and entering 'EUR' satisfies the requirement precisely, since the value must never vary based on the incoming payload.
About these practice questions
Courseiva writes every C_CPI question from scratch — 218 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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.