fbpx

Receiver IDoc_AAE Adapter Configuration in SAP PI/PO

Receiver  IDoc_AAE Adapter Configuration is to establish a technical connection from the PI/PO system to the R/3 system for sending the IDOCs from the PI/PO into ECC. The connectivity is established using RFC technology. A single RFC connection needs to be created on PI/PO system.

The following options are available.

  1. Default (Recommended) option in the receiver communication channel
  2. Manual option in the receiver communication channel.
  3. From NWA option in the receiver communication channel.

Lest Start with the first Default (Recommended) option

  1. Default (Recommended) option in the receiver communication channel

The PI System can be configured with an RFC destination to specify the content of the RFC connection parameters. The PI channel can refer to the RFC destination in the NWA.

Step-1: RFC destination in NWA

Create RFC destination in NWA for ECC with target R/3 system details in our case its XI_IDOC_DEFAULT_DESTINATION_S11 (Separate RFC Destinations need to be created for each R/3 system if not already done). Open NWA (http://<host>:<port>/nwa) ->Configuration -> Infrastructure -> Destination

RFC destination in NWA
RFC destination in NWA
RFC Destination in NWA
RFC Destination in NWA

Step-2: Create a Communication channel with IDoc_AAE Adapter type and Default Option.

Create Receiver Communication channel (In this guide it is IDoc_Receiver_Default) in ID with Below Details

          1. Adapter type IDoc_AAE.
          2. Select Default (Recommended) option in RFC Client Parameters.
          3. Provide the RFC Destination created in NWA for the Destination section in RFC Client Parameters. (In our case it is XI_IDOC_DEFAULT_DESTINATION_S11).

            Communication channel with IDoc_AAE
            Communication channel with IDoc_AAE
  1. Manual option in the receiver communication channel.

The RFC connection parameters can be directly maintained in the PI channel.

Step-1: Communication channel with IDoc_AAE Adapter type and Manual Option.

Step-2: Create a receiver communication channel (In this guide it is IDoc_Receiver_Manual) in Integration Directory with IDoc_AAE Adapter type and enter the details as shown in the screenshot below.

Select Manual in RFC Client parameters section.

Enter the details for the client, username, pwd, and server name and system number of receiver R/3 system.

IDoc_Receiver_Manual

IDoc_Receiver_Manual

3. From NWA option in the receiver communication channel.

JCA Connection Factory in NWA.A new java connection factory is created, and the required parameters of the RFC destination are maintained in the connection factory. The connection factory is then referenced in the PI channel

Step-1: JCA Connection Factory in NWA.Create JCA Connection factory in NWA which will be used in channel configuration for NWA Mode. Open NWA (http://<host>:<port>/nwa)->Configuration->Infrastructure->Application Resources. From the drop-down list select JCA Resources and filter for outboundRA.

JCA Resources outboundRA
JCA Resources outboundRA

Step-2: In Related JCA Connection Factories tab select outboundRA_CF and click on Copy and Add New JCA Connection Factory.

outboundRA_CF
outboundRA_CF

Step-3: Provide the JNDI Name which will be used later in the Communication channel. Separate connection factory to be created for each IDoc receiver system.

The naming convention can be used as <SID>CLNT<MANDT>_CF where SID is system ID and MANDT is client number.

ERPCLNT100_CF
ERPCLNT100_CF

Step-4: Click on Configuration Properties Tab and enter the RFC destination name which has been created pointing to target R/3 system and click on save

Note: If the property is not visible the DestinationName property can be added by clicking Add New Property button.

The created JCA Connection Factory will be available in the list and can be used in the communication channel.

Communication channel with IDoc_AAE Adapter type and From NWA Option.Create a new receiver communication channel in Integration Directory (In this guide it is IDoc_Receiver_NWA). Select IDoc_AAE as adapter type, From NWA option for RFC Client Parameters, and enter the created JCA Connection factory details as shown in the below screenshot.

IDoc_AAE with NWA Option
IDoc_AAE with NWA Option

Leave a Reply

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