0% found this document useful (0 votes)
286 views

Main Category: Basis Sub Category: RFC

CPI interview questions

Uploaded by

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

Main Category: Basis Sub Category: RFC

CPI interview questions

Uploaded by

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

1. what are the node functions you worked on?

2. Differences between Remove context and Collapse context?


3. Remove context removes all the context changes and keeps all the
values from that queue in the same context, While Collapse context
also removes all the context changes but selects only the first value
from each context.
4. What is split by value?
5. What is use one many as function?
6. Which adapter u select for proxy interface in sap pi single stack?
7. What is parameterized mapping?
8. What is X-PATH?

XPath is a syntax for defining parts of an XML document

XPath uses path expressions to select nodes or node-sets in an XML


document.

XPath contains a library of standard functions

XPath is a major element in XSLT and in XQuery

9. What is synchronous communication and asynchronous


communication?
10.What is the JDBC receiver structure?
11.What is the T-code for RFC destination?
SM59
Main Category: Basis
Sub Category: RFC
It comes under the package SRCX. When we execute this transaction
code, SAPMCRFC is the normal standard SAP program that is being
executed in background.
12.What is IDOC monitoring T-code?
WE06
WE06 is a transaction code in SAP Basis application with the description
— Active IDoc monitoring.
Main Category: Basis
Sub Category: ALE Integration Technology
It comes under the package SED. When we execute this transaction
code, RSEIDOCA is the normal standard SAP program that is being
executed in background.
1. Is SAP CPI a middleware?
Cloud Platform Integration (CPI) is SAP's cloud-based middleware that
allows integration between cloud and on-premise applications with third-
party SAP and non-SAP products.

2.What is the use of SAP CPI?

Main Purpose of SAP CPI is to integrate cloud and on-premise systems


and simplify integration landscape across the cloud applications.
SAP Cloud Platform Integration (Cloud Integration) supports end-to-end
process integration across cloud-based and on-premise applications based
on the exchange of messages.
Features/Capabilities of CPI SAP CPI provides a set of tools and
applications that help you perform end-to-end tasks on development and
deployment, packaging and publishing, accessing and editing the
integration content

4. What is SAP Integration Suite?


SAP Integration Suite is an integration Platform as a Service (iPaaS) that
allows you to seamlessly integrate on-premise and cloud-based
applications and processes with tools and prebuilt content managed by
SAP. It helps to address the full range of integration challenges.
It contains:
1.Cloud Integration, 2. Open Connectors, 3. Integration Advisor, 4.API
Management.

5.What is integration package in SAP CPI?


Integration packages are created for some of the commonly used
integration scenarios. They contain integration flows, value mappings,
documentation, and so on.
{Integration package enables you to integrate business processes between
SAP Hybris Marketing or S/4HANA Cloud Marketing Edition and SAP
Hybris Cloud for Customer (C4C).}
(HANA: High-performance Analytic Appliance- It’s a data base)

6. What are the different types of splitter types in SAP CPI?


The splitter is used to split the bulk message into a small chunk. There are
various kinds of splitter available in SAP CPI, like Iterating Splitter,
General Splitter, EDI Splitter, IDOC Splitter, CMS Splitter. The ones
used most often are General and Iterating splitter, both of which serve the
purpose of splitting a general document into its constituent elements.

7.What is the use of request reply in SAP CPI?


REQUEST REPLY helps you to call an external system (receiver), and
get back a response. In certain scenarios, the Integration Flow is expected
to communicate with an external service to retrieve, post, delete, update,
the data, and further process the data synchronously. In such cases, the
external service exposes the data through REST API, and you can use
the Request Reply to connect to that service via HTTP/ OData/ SOAP
(SOAP 1.x) receiver adapter.

8.What is content Enricher in CPI?


Content Enricher is a Message Transformation pattern used to enrich the
content with information from a third server. Content Enricher
component implements the Content Enricher pattern in CPI.
The content enricher adds the content of a payload with the original
message in the course of an integration process. This converts the two
separate messages into a single enhanced payload. This feature enables
you to make external calls during an integration process to obtain
additional data, if any.

In request reply we will get only response from the external server, but
when it comes to content enricher response from the external system will
enriched along with the original payload (Original Message+ lookup
message).

9.What is content modifier in SAP CPI?


The Content Modifier allows you to modify a message by changing the
content of the data containers that are involved in message processing
(message header, message body, or message exchange).
Depending on which container you want to modify, select one of the
tabs Message Header, Message Body, or Exchange Property.
If modifying the Message Body, you can enter the data you want to add
to the message body in an editor. If modifying the Message Header or
the Exchange Property, you can define how to access the content of the
incoming message (which is then used to change the selected data
container).
Content Modifier: This will help to modify the messages as per the final
receiver format.
During the outbound communication, Headers will be handed over to all
messages and integration flow steps whereas properties will remain
within the integration flow and will not be handed over to the receivers.
10.What is the difference between gather and join in SAP CPI?
The Gather step merges messages from different routes (into a single
message) with the option to define certain strategies how to combine the
initial messages.
The Join step is used in combination with the Gather step which brings
together the messages from different routes but it does not affect the
content of messages.
We use the Multicast pattern to send messages to multiple receivers.
Multicast step can be used to process the message in different branches;
later bring the branches together using the Join, and combine the
messages into a single message using Gather.

11.What is process call in SAP CPI?


A Process Call is to be used to call the Local Integration Process. A Local
Integration Process is like a subprocess-call within an IFlow.

12.How can we call local integration process in SAP CPI?


Select the process call element in integration flow editor.
In Local Integration Process field, choose Select.
In Select Local Integration Process window, select the local integration
process you want to assign to the process call.
13.How does SAP CPI connect to cloud connector?
The SAP Cloud Platform Cloud Connector is an on-premise piece of
software that needs to be installed inside the customer’s landscape;
within the firewall. Once configured and paired with your SAP Cloud
Platform account, a secure tunnel is established between the Cloud
Platform (and all the services and applications that run on it) and the
Cloud Connector. So, all the communication between Cloud Platform
and the backend system now gets routed via the Cloud Connector over
the secure SSL tunnel. As a result, all the access control needs to now
be configured only in the cloud connector – It provides fine-grained
control over the on-premise systems and resources that shall be accessed
by cloud applications and the cloud applications that shall make use of
the Cloud Connector.

Does Message Mapping support JSON format? If not, how to handle


an incoming JSON format in the Message Mapping step?
No .we use JSON to XML converter to do that

What should we use SOAP or HTTPS if we have to deal with


incoming JSON message?
We use HTTPS ,since SOAP cannot deal with the JSON messaging.

16.What is SAP Open Connector?


Open Connectors is a core component of SAP Integration Suite.
(We use adapters when we connect to ECC/CRM but when we want to
connect with any 3rd party cloud we have no specific adapter hence we
use open connectors.)
SAP Open Connectors simplifies and accelerates connectivity to third-
party cloud applications. It provides robust, feature rich, prebuilt
connectors to simplify the connectivity and seamless integration to non-
SAP cloud applications.

17.What is router in SAP CPI?


A router is a type of a filter in integration patterns. The router, as the
name suggests, routes the incoming message to a specified channel based
on a condition. The router will not change the message.
The router in CPI can route the message based on XML conditions or
Non-XML conditions
The routing conditions can be written using XPath expression (for XML
conditions ) or Apache Camel's Simple Language (for Non-XML
conditions)using the Router component.
18.What is the difference between Neo and Cloud Foundry?

19.What is SAP CPI cockpit?

To be able to administrate the two environments (Cloud Foundry & Neo


Cloud) in a unified way, SAP provides one central cockpit. The central
cockpit is a Web-based user interface for administrators, providing
access to a number of functions for configuring and managing
applications and connecting them to services on the cloud platform. It
can be used to manage resources, services, security, monitor application
metrics, and perform actions on cloud applications. This is where you can
manage your SAP Business Technology Platform account and users as
well as create new instances whenever necessary.

20.What are node functions in SAP PI?


If we have a requirement one node at sender side occurs only once but
many times it needs at receiver side then this case we need node
functions.
For sorting the data either ascending/descending order, remove the
context of particular node.
We have one node at sender side that is not mandatory at sender side but
it is mandatory at receiver side then we can use map with default node
function.
Some of the Node Functions: Sort , Collapse Context, Remove Context,
Map with default, Split by value, Replace Value, Sort by key…
UseOneAsMany is a node function which allows us to repeat a value
from source message to multiple segments of the target message.
21.What is worker node in SAP CPI?
A worker node performs all the message processing while a tenant
management node functions as a supervisor for the worker nodes. Tenant
Management Nodes can bring up worker nodes, ensure it is up and
running all the time, and keeps a repository of all your integration
artifacts.
Worker node hosts the integration runtime engine & is responsible for all
message processing.

22.Can we Process Direct in between two different packages?

23.How do you create a message map in CPI?


Procedure
If you want to create a new mapping definition (mm_file), perform
the following substeps:
a. Select the mapping step and choose (Create).
b. Specify a name for the mmap file and choose Create.
c. Add source and target messages.
Upload the Schema with supported file types are:
 XML Schema Definitions (XSD)
 OData V2/V4 metadata files
with .edmx or .xml extensions
 WSDL
d. Drag fields from the source to the required field in the target
to create a mapping.
e. If you want to perform an operation, add the required
function in the Mapping Expression screen area.

24.How do I send a test message in CPI?


Navigate to Integrate Content and select the appropriate IFlow to see
the http URL which needs to be used to call this integration flow.
1. Now, we are going to trigger a test message to CPI via Postman.
2. Select the Authorization as “Basic Auth”.
3. Now, send the message and you will get a response back with the
access_token.

When we have to do more than 1 million transactions which is better


PIPO / CPI?
PIPO since CPI transactions free limit is 1 million only after that you
will be charged for the excess transactions.

26.What is global variable in SAP CPI?


We use variables to store some values that are needed for next interface
execution also. There are scenarios where you might want to use a
variable stored in one iFlow and call it from another process in CPI or to
query OData based on the last successful run from another IFlow. We
create Variables in ‘’Write Variables’’ where we can define them as
LOCAL/GLOBAL.

27.What is a CPI tenant?


SAP CPI tenant is “Consumption-based” model which means that you
pay for the time you use the service and allows users to consume Cloud
Integration services based on this strategy.

28.What are the different types of aggregation strategies available?


The aggregator is used to combine the incoming chunks of messages into
one single message. The aggregator will do multi-mapping while
combining the messages.
There are two kinds of Aggregation Algorithm available.
 Combine : This will combine the incoming messages without any
gurantee on the order of the messages.
 Combine In Sequence : This will combine the incoming messages
in exact order.
Aggregator collect & store individual messages until LAST
MESSAGE CONDITION is met. Then the aggregated message
is sent to receiver.

You might also like