XSLT Mapping in SAP PI

This blog will explain how to use XSLT mapping in SAP PI. We will implement a simple XSLT mapping program to understand it better.

Let’s say we have a requirement to concatenate the First Name & Last Name to Name Field.

Source XML structure.

XSLT mapping in sap pi

 

 

 

 

Read More

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

How to Install Selenium Webdriver

This blog will provide detailed steps on how to install Selenium Webdriver.

What is Selenium Web Driver?

Selenium WebDriver is the most important component of Selenium Tool’s Suite. The latest release “Selenium 2.0” is integrated with WebDriver API which provides a simpler and more concise programming interface.

What is the process for installation?

Selenium web driver installation process comprises of 4 major steps:-

  1. Download and Install Java 8 or higher version.
  2. Download and configure Eclipse or any Java IDE of your choice.
  3. Download Selenium WebDriver Java Client
  4. Configure Selenium WebDriver.

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