Courseiva

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 ISO code EUR. The source message does not contain any currency information. Which mapping construct should the developer use to populate this field?

⚠ Common exam trap

The trap here is assuming that every target field must be populated by dragging a source node or a function, when a fixed literal can simply be assigned as a constant in the target structure.

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 value assigned directly in the target field of the Message Mapping editor

Because the currency must always be the fixed ISO code EUR and the incoming message carries no currency data, the mapping needs to inject a literal rather than transform an existing node. Assigning a constant in the target field accomplishes this declaratively, keeps the mapping readable, and avoids the overhead and failure modes of functions or lookup artifacts that expect a real source value.

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 user-defined function written in Groovy inside the mapping's function library

    Why it's wrong here

    A user-defined Groovy function is appropriate when the required transformation logic cannot be expressed with standard mapping functions, such as complex conditional or iterative processing. For a single unchanging literal, writing and maintaining custom script code adds deployment and lifecycle overhead with no benefit, so it is a poor fit for this scenario.

  • ✓

    A constant value assigned directly in the target field of the Message Mapping editor

    Why this is correct

    Assigning a constant in the target field of the graphical Message Mapping editor writes a fixed literal into the output element regardless of the source payload. Because the required value EUR never varies and no source node exists to supply it, a constant is the simplest, most maintainable construct and avoids unnecessary functions or routing logic.

  • ✗

    A Standard function from the Text category applied to the source root node

    Why it's wrong here

    Text-category Standard functions such as concatenate, substring, or split operate on an existing input value and transform it. Since the source message contains no currency information at all, there is no input to transform, and applying such a function to the root node would produce an empty or malformed result rather than the required literal EUR.

  • ✗

    A Value Mapping artifact looked up at runtime with source agency and identifier

    Why it's wrong here

    Value Mapping is designed to translate one code into another using agency and identifier keys, for example converting a country code from one system's scheme to another. Here there is no source value to look up and no agency context, so a Value Mapping would return nothing useful and introduces unnecessary configuration and maintenance effort.

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 →

How Courseiva writes practice questions · Editorial policy

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.