The ultimate site for SAP XI certification and tutorial resources. Submit tutorials/scenarios and get assured gifts!!! For more info click here...

gift

scenario - file to rfc (bpm)

Author: Srinath Ravi

The basic working of the scenario is shown in the figure.

image
Fig1. File to RFC Sychronous Scenario

Create the data type
image
Fig2.Input File Data Type
image
Fig3.Output File Data Type

  • Create Message Type for both the data types as shown below

    image
    Fig4.Input File Message Type

    image
    Fig5.Output File Message Type
  • Create Message Interface for the message types as shown below

    image
    Fig6.Message Interface of Input File

    image
    Fig7.Abstract Interface of Input File

    image
    Fig8.Message Interface of Output File

    image
    Fig9.Abstract Interface of Output File

    image
    Fig10.Abstract Interface for File<->RFC
  • Create Message Mappings for File to RFC and Response mapping for RFC to File as shown below

    image
    Fig11.Request Message Mapping

    image
    Fig12.Response Message Mapping
  • Create the Interface Mapping as shown below

    image
    Fig13.Request Interface Mapping

    image
    Fig14.Response Interface Mapping
  • Create BPM as shown below

    image
    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>>