Dynamic File Name in SAP CPI

This blog will explain how to configure dynamic file name in SAP CPI. This can be used for the sap cpi FTP/SFTP receiver adapter.

Refer to the blog to learn about basic SFTP adapter configuration in SAP CPI.

We are all aware of how Dynamic Configuration works in SAP PI.  This blog post will show how to achieve dynamic configuration in receiver SFTP adapter in SAP Integration Suite (aka CPI).

Let’s take a look at a simple requirement: set the target filename dynamically based on a key field in the incoming message.

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

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