Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
Scenario:
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.


Configuration Steps:

  • Create an Integration Process File_RFC_BP for the BPM which we have created in Design.


  • Create three Communication Channel FileRFC_Send, RFC_Reciever and FileRFC_Recieve as shown below-



  • Fig15.File Sender Channel


    Fig16.RFC Receiver Channel


    Fig17.File Receiver Channel

  • Create a Sender Agreement for sending file



  • Fig24.Sender Agreement

  • Create three Receiver Determination as shown below



  • Fig18.Receiver Determination for File ->Integration Process


    Fig19.Receiver Determination for Integration Process->R/3


    Fig20.Receiver Determination for Integration Process ->File

  • Create three Interface Determination as shown below



  • Fig21.Interface Determination b/w File Service and Business Process


    Fig22.Interface Determination b/w Business Process and R/3


    Fig23.Interface Determination b/w Business Process and File Service

  • Create two Receiver Agreement one for the RFC and other for file as shown below



  • Fig25.Receiver Agreement for RFC



    Fig26.Receiver Agreement for File

Input:
The xml content which we are sending in the Info.xml file


The Info.xml file placed in the Input folder will be picked and deleted since the processing mode is delete.



Output:
The xml content which will receive in the Detail.xml file as output.

The Detail.xml is created in the output folder.



35 Comments