KEMBAR78
Basic | PDF | Soap | Computing
0% found this document useful (0 votes)
16 views4 pages

Basic

The document provides a comprehensive overview of basic SAP CPI interview questions and answers, covering key concepts such as SAP CPI, iFlows, components of the SAP Integration Suite, adapters, and various functions like Content Modifier, Router, and Message Mapping. It also discusses error handling, message monitoring, and testing iFlows, along with the use of Groovy scripts in CPI. This resource serves as a guide for candidates preparing for interviews related to SAP Cloud Platform Integration.

Uploaded by

j barath kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views4 pages

Basic

The document provides a comprehensive overview of basic SAP CPI interview questions and answers, covering key concepts such as SAP CPI, iFlows, components of the SAP Integration Suite, adapters, and various functions like Content Modifier, Router, and Message Mapping. It also discusses error handling, message monitoring, and testing iFlows, along with the use of Groovy scripts in CPI. This resource serves as a guide for candidates preparing for interviews related to SAP Cloud Platform Integration.

Uploaded by

j barath kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Basic SAP CPI Interview Questions and Answers

1. What is SAP CPI?

Answer:
SAP CPI (Cloud Platform Integration), now part of SAP Integration Suite, is a cloud-based
middleware used to integrate cloud and on-premise systems using prebuilt or custom
integration flows (iFlows).

2. What is an iFlow in SAP CPI?

Answer:
An iFlow (Integration Flow) is the design-time artifact in CPI that defines how data moves
from a sender system to a receiver system. It contains steps like routing, mapping, message
transformation, etc.

3. What are the main components of the SAP Integration Suite?

Answer:

• Cloud Integration (CPI)

• API Management

• Integration Advisor

• Open Connectors

• Event Mesh

4. What are adapters in CPI?

Answer:
Adapters are connectors that allow communication with external systems. Examples:

• Sender Adapters: HTTP, SFTP, SOAP

• Receiver Adapters: REST, IDoc, JDBC

5. What is the difference between Header and Property in CPI?


Header Property

Can be passed to the target system Used internally within CPI

Typically used for HTTP/SOAP headers Used for routing and logic

Accessible via getHeader() Accessible via getProperty()

6. What is a Content Modifier in CPI?

Answer:
A Content Modifier is a step that sets or modifies:

• Message Body

• Message Headers

• Exchange Properties
It’s often used to initialize or update values during iFlow execution.

7. What is a Router in CPI?

Answer:
A Router is used to determine the flow path of a message based on conditions (like if/else).
It works like conditional branching.

8. What is a Message Mapping?

Answer:
Message Mapping allows graphical transformation between source and target data
structures. It includes:

• Standard functions

• Logical operators

• Arithmetic functions

• User-defined functions

9. What is the use of Groovy Script in CPI?


Answer:
Groovy scripts are used for:

• Custom logic or data manipulation

• Dynamic header/property setting

• Payload parsing or formatting

Example:

message.setHeader("Country", "IN")

10. What is a Data Store in CPI?

Answer:
Data Store is used to persist messages temporarily. It's helpful for:

• Retry logic

• Storing intermediate data

• Error handling

11. How do you monitor CPI messages?

Answer:
Through the Message Monitoring tab in the SAP BTP cockpit or Integration Suite UI:

• Track successful and failed messages

• Check logs, traces, and payloads

• Retry messages (if message store is enabled)

12. How do you test an iFlow in CPI?

Answer:

• Deploy the iFlow

• Trigger via Postman or browser (for HTTP/SOAP)

• Monitor using Message Monitor

13. What is a Splitter in CPI?


Answer:
A Splitter divides a large message into smaller parts for individual processing. Types include:

• General Splitter

• IDoc Splitter

• JSON/XML Splitter

14. What is a Groovy script to read a header in CPI?

Answer:

def myHeader = message.getHeader("HeaderName")

15. How do you handle errors in CPI?

Answer:

• Use Exception Subprocess

• Log error using Message Log

• Store message in Data Store or Message Store

• Send alert via Email Adapter or Webhook

You might also like