SOAP Adapter in SAP PI

In this blog, we will discuss the configuration of the SOAP Adapter in SAP PI. The SOAP adapter enables communication with PI/PO via web services.

This article will cover the configuration of the SOAP sender and SOAP receiver adapter.

SOAP Sender Adapter Configuration

You can create web services within SAP PI/PO and consume them in external applications. In this case, you will need to configure the sender SOAP adapter.

Read More

Sender AS2 Adapter in SAP PI

This blog will cover the how-to-use sender AS2 adapter in SAP PI. It will be useful for all PI developers and we will cover Sender/Receiver AS2 adapter configuration in SAP PI.

Prerequisite:

The prerequisite to use the AS2 adapter provided by B2B toolkit 1.0 is to have it available in PI. To achieve this, the corresponding SWCV for B2B Toolkit is imported from Service Marketplace and once imported successfully; the corresponding SWCV appears in ESR (Enterprise Service Repository).

B2B Addon in sap pi

Read More

Exception Handling in SAP CPI

This blog will provide a step-by-step guide for exception handling in SAP CPI. It will cover a scenario where a generic Iflow can be used to handle exceptions as well as how to send the custom exception message.

Why handle an exception

Exception handling is important because it helps maintain the normal, desired flow of the program even when unexpected events occur. If exceptions are not handled, programs may crash or requests may fail.

Read More

XSLT Mapping or Scripts in SAP CPI

This blog will provide points to consider while choosing XSLT mapping or Scripts in SAP CPI. As such there are no straight guidelines on using one over the other – it depends on the use case.

The integration platform is used to translate between different message formats. These transformations are known as mappings and SAP CPI offers its own set of tools for building them, namely.

  • Message mapping
  • XSLT
  • JavaScript and Groovy scripting

Sometimes it becomes difficult to make the choice between the mappings, In this article, I have come up with some points which can help to choose between XSLT or Scripts in SAP CPI.

Read More

ODATA Adapter in SAP CPI

This blog will cover the configuration steps of the ODATA Adapter in SAP CPI.

What is OData Protocol

OData is an open standard protocol that allows service providers to define access to their resources in a standardized manner. The service definition is available via the service metadata document (EDMX).

OData allows resources (Entity Sets) to be identified using Uniform Resource Identifiers (URIs) and defined in an abstract data model.

More details about OData protocol at http://www.odata.org/

Read More

How to Test Iflow in SAP CPI

This blog will provide detailed steps on how to test Iflow in SAP CPI using Postman. It will cover the basics of creating an HTTP-Input for your iFlow and how to send data for testing with the tool Postman.

Prerequisites

  1. Download and install postman in local machine.
  2. Access to SAP CPI tenant.

Creating an Integration Flow

We need to have an Iflow created before testing. In this blog, we will not cover details on how to create an Iflow.

Refer the blog SOAP To Mail Scenario in SAP CPI

SOAP to Mail Scenario in SAP CPI

Read More

Sender REST Adapter with Polling in SAP PI

The blog will explain how to configure the sender REST adapter with polling mode to pull the data from remote REST APIs. The sender REST adapter in polling mode has been supported since release SAP PI 7.31 SP16 / 7.4 SP11.

We will take a simple example to do a GET operation to extract the API.

Scenario:

Let’s poll the timezone of a particular country every 1 min and create a file. In this case below API will be used for pooling.

https://timezonedb.com/references/list-time-zone

Read More

Externalized Parameters in SAP CPI

This blog will explain externalized parameters in SAP CPI and then how to use it in other configurations like a groovy script, content modifiers, etc.

SAP PI has provided the configuration parameters that are part of channel configuration or process steps, but apart from those parameters CPI also has externalized additional parameters to use during the message processing.

In this example, we are going to use the Content Modifier

Content Modifier to the message pipeline. Add a new header and property as follows:

Read More

How to Zip-UnZip in SAP CPI

This blog will provide steps on how to zip-unzip in SAP CPI.

What is SAP CPI

SAP Cloud Platform Integration (CPI) connects cloud applications with other SAP and non-SAP cloud and on-premise apps.

This blog will focus on zipping and un-zipping functionality in SAP CPI

Zipping in SAP CPI

Sometimes we get a requirement for zipping a message or file before transmitting it to the target system.

Read More

Common errors in SAP CPI

This article will cover a list of common errors in SAP CPI. The document will have an error handling list and their solutions.

Here are a few of the common errors in SAP CPI  which was encountered while working on different SAP CPI interfaces.

  • If you use * as a value for Allowed Headers, all the HTTP headers from the sender are passed to the receiver. This way you will not have any control over what was sent and sometimes it may even confuse the receiver.

Read More