File to IDOC Scenario in SAP PI 7.31 (AEX- Java Only)

This blog will provide the details steps involved in File to IDOC scenario in SAP PI 7.31 (Process Orchestration JAVA Only Environment)

Prerequisites:

  1. Connection Details to be available in SLDAPICUST for PI
  2. Update the SLD Data of ECC ABAP System.

Enterprise Service Repository:

All the Steps are same as any PI Version (7.0, 7.1, 7.11 etc  ABAP + Java environment). There are no changes in this.

  1. Create a Message Interface for File Interface (Outbound).
  2. Import the IDOC from ECC for Receiver Interface.
  3. Message Mapping and Interface Mapping to be done for Source and Target Message.

Integration Directory:

  1. Create Communication Component, Party etc as per your requirement.
  2. Create Communication channel for Sender Interface i.e. File adapter.

image0013. Create Communication Channel for Receiver Interface (IDOC_AAE Adapter)

image003

RFC Client Parameter: Select ‘Default (Recommended)’

Destination: RFC Destination for ECC it should be available in NWA

SAP Release: 730

4. Create Integrated Configuration

image005

Create Receiver identification as below.

image007

Create Interface Determination.

image009

Create Receiver Agreement.

image011

NWA Configuration:

For Inbound Resource Adapter:

Follow the below Navigation for Inbound Resource Adapter,

http://<host>:<port>/nwa  -> Configuration -> Infrastructure -> Application Resource

Filter ‘InboundRA’ from list of Resources,

image013

Go to Properties tab and maintain the following entries,

ProgramID                              : XI_IDOC_DEFAULT_PID

Program ID will be used when you created the RFC destination on the sender business system

MaxReaderThreadCount      : 5 to 10

Number of the servers to which you want to connect.

Destination Name                 : XI_IDOC_DEFAULT_DESTINATION

This destination must point to an SAP application system that contains metadata for frequently used IDoc types as the RFC destination.

Gateway Server                     : Gateway Server Name

Gateway Service                    : Gateway Port (for ex. sapgw04)

Local                                       : true

Binding Key                            : PI_AAE_IDOC

image015

Destination:

Follow the below navigation for creating Destination,

http://<host>:<port>/nwa  -> Configuration -> Destination

  1. Create Destination XI_IDOC_DEFAULT_DESTINATION with Type RFC

image017

 

Enter Target Host, System Number, System ID, Gateway host and port  and maintain logon information in Logon tab,

image019

Once you done with Destination, click on Ping Destination to test this,

image021

Similarly create other destinations like ECM001, ERT901 for Receiver IDOC Adapter.

All Set now you can test your interface.

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.