This blog will provide the details steps involved in File to IDOC scenario in SAP PI 7.31 (Process Orchestration JAVA Only Environment)
Prerequisites:
- Connection Details to be available in SLDAPICUST for PI
- 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.
- Create a Message Interface for File Interface (Outbound).
- Import the IDOC from ECC for Receiver Interface.
- Message Mapping and Interface Mapping to be done for Source and Target Message.
Integration Directory:
- Create Communication Component, Party etc as per your requirement.
- Create Communication channel for Sender Interface i.e. File adapter.
RFC Client Parameter: Select ‘Default (Recommended)’
Destination: RFC Destination for ECC it should be available in NWA
SAP Release: 730
4. Create Integrated Configuration
Create Receiver identification as below.
Create Interface Determination.
Create Receiver Agreement.
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,
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
Destination:
Follow the below navigation for creating Destination,
http://<host>:<port>/nwa -> Configuration -> Destination
- Create Destination XI_IDOC_DEFAULT_DESTINATION with Type RFC
Enter Target Host, System Number, System ID, Gateway host and port and maintain logon information in Logon tab,
Once you done with Destination, click on Ping Destination to test this,
Similarly create other destinations like ECM001, ERT901 for Receiver IDOC Adapter.
All Set now you can test your interface.