Sync Scenario using REST adapter in SAP PI – Part II

This blog is a continuation of the sync scenario using the REST adapter in SAP PI. Here we will cover the configuration steps for JSON format.

In case you want to read about XML format here is a link to 1st part of this blog Sync Scenario using REST adapter in SAP PI – Part I

Scenario :

REST adapter can be used for consuming a REST service or exposing a REST service in PI. This blog will cover only exposing of REST service for which Sender REST Adapter will be used.

Flow:

REST<–> SAP PI<–>SOAP ( calculator service)

It will be a synchronous scenario where the request will send to PI and response will be received based on the operation (Add, Sub, Divide or multiple).

To keep it simple we will only work with add operation, for multiple operation check this guide REST Adapter with Multiple Operations in SAP PI

In case you are looking for Async example here is a step by step guide REST Adapter scenario in SAP PI – JSON/XML

Read More

Sender REST Adapter Scenario in SAP PI – Part I

This blog will cover the step-by-step guide on how to create the Sender REST Adapter Scenario in SAP PI. It will cover all the configuration steps of the sender REST adapter.

Scenario :

REST adapter can be used for consuming a REST service or exposing a REST service in PI. This blog will cover only exposing of REST service for which Sender REST Adapter will be used.

Flow:

REST<–> SAP PI<–>SOAP ( calculator service)

It will be a synchronous scenario where the request will send to PI and response will be received based on the operation (Add, Sub, Divide or multiple).

To keep everything simple in this blog I will cover only Add operation and next blogs I will show how to use multiple operations in the REST adapter.

In case you are looking for Async example here is a step by step guide REST Adapter scenario in SAP PI – JSON/XML

Read More

Java Mapping in SAP PI

This blog will cover how to do Java mapping in SAP PI.  Java Mapping is always a concern for any PI consultant, so today I will try to explain the techniques which will make it interesting and easier.

In PI mapping can be done in the following ways

  1. Graphical Mapping – The most popular and easier way.
  2. Java Mapping
  3. XLST Mapping
  4. ABAP Mapping – This will not be applicable in case you have a single stack instance.

In this blog, we will cover Java Mapping in SAP PI.

Read More

XML to JSON conversion in REST adapter SAP PI

This blog will explain how to handle XML to JSON conversion in REST adapter. Here we will cover enhanced REST adapter settings to handle array – repeated segments.

How REST Adapter converts

REST adapter uses 3rd party Jettison library for JSON processing tasks. It is used for conversion of XML to JSON & vice-versa and sometime it does not correlate or take into consideration payload field properties as defined in a corresponding message type, but has its own optimization and type derivation mechanisms that are based on nature of the value of a processed XML document’s element rather than XSD schema of a processed message.

As a result, sometime conversion are not correct especially in case of XML element as an array.

Read More

Adapter Series: JDBC Adapter in SAP PI 7.4/7.5

JDBC scenario’s in SAP PI are most common and in this blog, we will talk about how to configure Sender and Receiver JDBC Adapter in SAP PI.

The JDBC adapter enables you to connect database systems to the Integration Server. The adapter converts database content to XML messages and vice-versa.

You can read database content with any SQL statement and even stored procedures.

Read More

SAP Ariba Integration Using SAP PI 7.5

 

This blog will provide step by step guide on SAP Ariba Integration using SAP PI 7.5. In this case Ariba is on cloud so it will be integrated with on premises SAP ERP system.

SAP Ariba can be integrated through the following methods

  • File-based integration
  • Web services
  • Direct connectivity
  • Mediated connectivity

In this blog we will cover Web service based integration of Ariba Cloud using SAP PI 7.5 (Single Stack). The Web services is provide for real-time integration of the Ariba Procurement Solution with SAP ERP using SAP Process Integration.

Read More

messages stuck in delivering status SAP PI

SAP PI messages overview sometime shows messages stuck in delivering status but actual status might be wrong.

Messages on the Adapter Engine are stuck in a wrong status in the Message Overview or the counter shows a number that is different from the actual number of XI/PI messages on the database. E.g. the page shows some messages that are in a scheduled status.

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