|Home • Trainings •Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
File to RFC with multiple records using BPM
By M.Leela Ratnam, Satyam Computers
common BPM usage is to collect multiple records received from a file and pass
these records to RFC. Then the RFC will process the multiple requests and gives
you the multiple responses. For this I have done scenario-using BPM. This
scenario shows how to implement multiple records scenario using Block step (For
each) by step by step in detail.
This scenario is implemented in PI 7.1 server, service pack: 06. This can also
be done in PI 7.0 server also.
the input file with multiple records is sent to RFC and the multiple responses
from RFC will come into XI and it is written to a file.
Import the RFC (BAPI_MATERIAL_AVAILABILTY), which is
available in SAP System. For this RFC, it will provide the material is available
or not if we give the input parameters like (Material name, plant location, unit
Create 2 Data Types for sender and Receiver.
Data type for Sender.
Create Message Types for the above data types.
Sender Message Type
Receiver Message Type
Create the Message Interfaces for the message types as shown
Sender Message Interface (outbound, Asynchronous)
Sender Abstract interface (Abstract, Asynchonous)
Receiver Message Interface.
Receiver Abstract Interface
BAPI Request Interface
BAPI Response Interface
BAPI Synchronous Interface.
Create Message Mapping for Request and the Response.
Request Message mapping (MT_Sender_Request)
In the signature tab, you have to make the occurrences
Response mapping (MM_Response_Receiver)
Create the interface mapping for the corresponding message
Create the BPM as shown below.
In the following BPM, The first step is the receive
step. It will trigger the BPM. Transformation is taken between the sender and
the request. Then next step is the block. (For each).In Block, synchronous RFC
is called in the Send step and the container is used for appending the multiple
responses from the RFC. After the block, the transformation step is used for the
response mapping to a file. The last send step will contain the output file.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards