Courseiva

C_CPI Integration Suite Development Practice Question

An integration developer is configuring a Message Mapping in SAP Cloud Integration. The source structure contains a repeating node <Items> with child elements, and the target requires the same repeating node but only for items where the <Status> element equals 'ACTIVE'. The developer wants to filter the repeating node during mapping without altering the source message. Which approach should be used?

⚠ Common exam trap

The trap here is assuming that a Filter step in the integration flow or a Content Modifier can filter individual repeating node instances, when only the Filter node inside the Message Mapping operates at that granularity.

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

✓

Use the Filter node in the Message Mapping editor on the source repeating node and define an XPath condition such as Status = 'ACTIVE'.

The Filter node in the message mapping editor is designed exactly for this purpose: it applies an XPath condition to a repeating source node so only matching instances are mapped. This keeps the filtering inside the mapping, does not modify the source payload, and avoids extra integration flow steps. Other options either operate at the wrong level or are not supported for node-level filtering.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Use a Content Modifier step to set a header with the filter condition, then reference that header in the mapping.

    Why it's wrong here

    A Content Modifier step manipulates message headers or properties at the exchange level, not the internal structure of a repeating node during mapping. Headers are not evaluated as node filters inside the graphical mapping editor. This approach cannot selectively map only active items; it would require additional scripting or a different mapping construct to achieve the filtering.

  • ✗

    Apply a Filter step in the integration flow before the Message Mapping step to remove inactive items.

    Why it's wrong here

    A Filter step in the integration flow operates on the entire message exchange and routes or discards whole messages based on XPath conditions; it cannot selectively remove individual repeating node instances inside a payload. Using it here would either pass or drop the whole message, not filter individual <Items> entries, so it does not satisfy the requirement to filter within the mapping.

  • ✗

    Use a standard user-defined function in the Message Mapping that returns a boolean and apply it as a condition on the target repeating node.

    Why it's wrong here

    Standard user-defined functions in the graphical message mapping editor return values, not boolean filters for repeating nodes. They cannot be attached as a condition to a target repeating node. While you can write logic inside a function, the mapping editor does not support using a UDF as a node filter; this would require a different mechanism such as a Filter node inside the mapping.

  • ✓

    Use the Filter node in the Message Mapping editor on the source repeating node and define an XPath condition such as Status = 'ACTIVE'.

    Why this is correct

    The Filter node available in the graphical Message Mapping editor allows you to apply a condition directly to a repeating source node. You can specify an XPath expression like Status = 'ACTIVE' so that only matching occurrences are mapped to the target. This filters within the mapping itself, leaving the original source message unchanged and meeting the scenario requirement precisely.

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.