scenario - rfc to file
Author: Uday Kumar S
Here the input parameter for the RFC is sent through a file and the response from the RFC comes into XI, which is then written into a file. The diagram of the following is shown below:
Fig1. File to RFC Sychronous Scenario
Design Steps:
· Import the RFC (BAPI_COMPANY_GETDETAIL) which is available in SAP systems.
· Create two Data Types FileRequest_DT and FileResponse_DT as shown below
Fig2.Input File Data Type
Fig3.Output File Data Type
· Create Message Type FileRequest_MT and FileResponse_MT for both the data types as shown below
Fig4.Input File Message Type
Fig5.Output File Message Type
· Create Message Interface for the message types as shown below
Fig6.Message Interface FileRequest_OUT_MI of Input File
Fig7.Abstract Interface FileRequest_AI of Input File
Fig8.Message Interface of FileResponse_IN_MI Output File
Fig9.Abstract Interface FileResponse_AI of Output File
Fig10.Abstract Interface FileDetails_Sync_AI for File<->RFC
· Create Message Mappings Request_MM(File to RFC) and Response_MM(RFC to File )as shown below
Fig11.Request Message Mapping
Fig12.Response Message Mapping
· Create the Interface Mapping File_RFC_IM as shown below
Fig13.Request Interface Mapping
Fig14.Response Interface Mapping
· Create BPM File_RFC_BPM as shown below
Fig15.BPM
In the following BPM the first block receives the file and hence triggers the BPM.The second block is a synchronous send block which triggers the call to RFC, takes the output and sends it further to the Asynchronous send step. The third step finally sends data to a file.
_______________________________Next page>>

>>