Comparing SAP PI vs Mulesoft

SAP Process Integration (PI) and Mulesoft are both powerful integration platforms that can help organizations connect and integrate their systems and applications. However, there are some key differences between the two that organizations should consider when choosing a platform for their integration needs. I’ll keep the comparison of SAP PI vs Mulesoft to a few basic features such as scalability, ease of use, technology, and cost in mind.

Lets start Comparing SAP PI vs Mulesoft
Read More

Send a payload as an attachment in SAP PI

This article will explain how to use the receiver mail adapter to send a payload as an attachment in SAP PI.

There could be several scenarios where we need to use mail with attachments in sap pi. Some of the cases are as follows:

  1. Sending files over email scenario.
  2. As an alert – If data in the file is missing send the file to the concerned team for correction and re-trigger.

Let’s consider the alerting example.

Business scenario: If an incoming XML file is missing data, PI must route that file as an attachment and send an email to the appropriate teams for correction.

This can be accomplished through Java mapping, which I believe is a cleaner approach, but for the purposes of this blog, I will use UDFs because not all PI consultants are Java savvy.

The focus of this blog will be on the mail adapter and how to send a payload as an attachment. For more on the mail adapter scenario check the blog SOAP To Mail Scenario in SAP CPI

Read More

File Content Conversion(FCC) in SAP PI

In this article, we will understand the concept of File Content Conversion in SAP PI using an example of a comma-separated text file as source. File Content Conversion helps in converting the file formats to/from XML.

Here we will understand how to use File Content Conversion (FCC) in sender & receiver file adapter.

File Content Conversion in Sender Adapter

Let’s say we have a simple CSV (Comma-separated values) file something like the one shown in the below figure. It contains employee details.

File Content Conversion in sap pi

Read More

RFC Adapter in SAP PI

You have three options of connecting SAP with SAP PI – IDoc Adapters, RFC Adapters and Proxies. In an earlier blog, we discussed  IDOC Adapter in SAP PI. This article specifically deals with understanding the basics of RFC adapter in SAP PI.

Here we will cover the configuration steps for the RFC sender and the receiver adapter.

About RFC Adapter

RFC Adapter converts the incoming RFC calls to XML and XML messages to outgoing RFC calls. We can have both synchronous (sRFC) and asynchronous (tRFC) communication with SAP systems. The former works with Best-Effort QoS (Quality of Service) while the latter by Exactly Once (EO).

Now let us understand the configuration needed to set up RFC communication.

Read More

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

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