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

Configuring Sender AS2 Adapter:

Sender AS2 adapter is used for processing the inbound messages.

In this blog, we will only cover the details on how to configure the sender As2 adapter.

To understand how to use AS2 adapter in a scenario refer to the blog SAP PI : Handling EDI Scenario in SAP PI

In General, tab fill out the important parameters

URL path: Provide the <path> mentioned in the AS2 URL from which you receive the messages. I have kept it * so that this channel can be common across the scenarios.

The format used to define AS2 URL is http://<local:port>/AS2/<path>

Expected sender’s AS2Name: This parameter determines the partner’s unique AS2 name.

Expected Own AS2 Name:  This parameter is own unique AS2 name.

Expected Subject: This parameter defines the message header of the incoming AS2 message.

Define the encoding format used in the source and target.

Signature and Encryption tab

This section provides the signature and decryption details depending on how partner is sending the message to PI.

MDN tab

Select the MDN option- It can be immediate or after receiving an acknowledgment from the recipient’s application

SAP Reference: Configure Sender AS2 Adapter in SAP PI

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.