Error Handling in REST Adapter – SAP PI

This blog will show how to do error handling in REST Adapter. The REST adapter supports Custom Error Handling when used as Sender or receiver.

You can use a custom error handling to define how the adapter will react to certain error codes with custom result messages. Besides, you can create error conditions based on the content of the message data.

In this example when PI will have a mapping error, it will send the custom message as a response to the user. This is simple error handling but it should be good to understand the mechanism.

Read More

Data Store in SAP CPI

This blog will explain the concept of data store in SAP CPI (Cloud Platform Integration).

What is Data Store Operations

Data Store is a collection of operations to allow you to store and retrieve messages into/from the database. You can use these operations to store, retrieve or delete entries from the data store.

Data Store in SAP CPI

Read More

Splitter in SAP CPI

This blog will explain how to use Splitter in SAP CPI.

What is Splitter:

A Splitter step allows you to break the message into smaller parts, which can be processed independently.

Cloud Platform Integration has 4 types of Splitters:

  1. General Splitter – A splitter that divides a message containing multiple messages into individual messages. This splitter preserves the context of the root nodes with each split message.
  2. PKCS Splitter – Separates the payload from its signature and provides them as split messages.
  3. Iterating Splitter – A splitter that divides a message containing multiple messages into individual messages. This splitter considers only the split entity and does not preserve the context of the root nodes.
  4. IDoc Splitter – Divides a group of IDocs into individual IDocs. It only works if either the sender or the receiver channel is an IDoc channel. Here there is no chance to continue processing in case of an exception.

Read More

Aggregator in SAP CPI

This blog will explain Aggregator in SAP CPI ( Cloud Platform Integration) and how it can be used in iflows.

An Aggregator is a process step used for collecting messages until a condition is met.

Aggregator in SAP CPI

It can collect messages across many executions of an integration flow, not only one. If the integration flow receives 5 messages, all the messages are collected by the same instance of the Aggregator.

The Aggregator collects the messages in a data store and you can only aggregate XML messages.

Read More

REST Adapter scenario in SAP PI – JSON/XML

This blog will provide a step-by-step guide on how to configure the sender REST adapter scenario in SAP PI. This document will help the PI developer/consultant who will like to learn about the Sender REST adapter configuration.

I will explain this by creating a simple asynchronous scenario REST –> PI –> File. usually, REST will be used for sync scenario but to provide

Usually, REST will be used for sync scenarios but to provide a basic understanding of how to configure REST adapter I am using Async.

In case you are interested in sync scenario here is a step by step guide Sync Scenario using REST adapter in SAP PI

REST Adapter scenario in SAP PI

Rest enabled application will send JSON format to SAP PI which will be converted into XML using REST Adapter.

Read More

User defined message search in SAP PI 7.31/7.4/7.5 (Java Only)

This blog will provide steps by step guide on how to configure user defined message search in SAP PI (Java only installation)

As of PI 7.3 we have a new way to configure and use content based message search in SAP PI and this article will explain the steps how to configure User define search.

For steps on how to configure payload based search in SAP PI dual stack follow the link below

Payload based search in SAP PI

Read More