Courseiva

C_CPI Integration Suite Development Practice Question

An integration developer needs to make an integration flow's processing logic reusable across multiple flows in the same SAP Cloud Integration tenant. The logic consists of a mapping step and a Groovy script that must be maintained in one place. Which TWO artifacts should the developer create to achieve this? (Choose two.)

⚠ Common exam trap

The trap here is treating the Partner Directory or a Value Mapping as a general-purpose repository for executable logic, when only dedicated mapping and script artifacts provide proper reuse.

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 Script Collection artifact containing the Groovy script

Reusable processing logic in SAP Cloud Integration is achieved by separating the mapping definition and the script into their own artifacts. A Message Mapping artifact centralises the structural transformation, and a Script Collection artifact centralises the Groovy code. Both can be referenced from multiple integration flows, so the logic is maintained in one place and consumed everywhere it is needed.

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 Script Collection artifact containing the Groovy script

    Why this is correct

    A Script Collection artifact stores Groovy or JavaScript resources that can be imported into multiple integration flows. Placing the Groovy script here allows the developer to maintain it in one place and reference it from each flow, which meets the requirement for reusable script logic with a single point of maintenance.

  • ✓

    A Message Mapping artifact containing the reusable mapping

    Why this is correct

    A Message Mapping artifact can be created independently and referenced from any integration flow in the tenant. This centralises the mapping definition so changes are made once and picked up by all consuming flows. It directly satisfies the requirement to reuse the mapping step without duplicating it across flows.

  • ✗

    An OData API artifact exposing the mapping as a service

    Why it's wrong here

    An OData API artifact defines an API proxy for external consumers, not an internal reusable mapping or script. It is used for API management scenarios and does not provide a way to embed mapping logic into integration flows. Creating one would add unnecessary complexity and would not achieve code reuse.

  • ✗

    A Partner Directory entry storing the script as a binary parameter

    Why it's wrong here

    The Partner Directory stores partner-specific configuration such as identifiers and binary parameters, but it is not designed to hold executable mapping logic or Groovy scripts for reuse. While scripts can be stored as binary content, this is not the standard or maintainable approach for sharing processing logic across flows.

  • ✗

    A Value Mapping artifact containing the target field values

    Why it's wrong here

    A Value Mapping artifact holds source-to-target value pairs for lookups, not executable mapping logic or scripts. It cannot replace a Message Mapping or a Script Collection. Creating one would not make the mapping step or Groovy script reusable, so it does not fulfil the stated requirement.

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.