cancel
Showing results for 
Search instead for 
Did you mean: 

File1--> RFC---->File1 or FIle2

Former Member
0 Kudos

Hi all

our scenario is like we receive a file from Legacy system BS1 and post the data

in sap R3 using RFC and its response should be routed to BS1 if posting is succesful in case of error response should be routed to both BS1 and BS2.

can any one suggest me how to configure this scenario

Thanks and Regards

Bhasker

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member206760
Active Contributor
0 Kudos

Hi Bhaskar,

u will have to use a 3 step BPM for this

1. Recieve step -> to receive the file

2. Sync send -> to send request and get the response from the RFC

3. Transformation step ( if you reequire to do any modifications in the response coming )

4. async send step

Related to step 4 i.e async send step would be a Receiver dertermination in ID like below

IP to BS1 also add receiver BS2 here ......and now you can use conditional receiver determination here

Former Member
0 Kudos

Hi Bhasker,

To make File Adapter Sync, follow the below Wiki link. For that the server should be SP >=10 for PI 7.0.

https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file%2528without+bpm%2529

This may help you in your requirement.

Regards,

Praveen Kumar

Former Member
0 Kudos

hello,

it should work in file to rfc synchronous scenario.

thanks,

trijeeta

Former Member
0 Kudos

Hi

Based upon u r RFC response "Type" E / S ---> Route it to corresponding File1 (For S)

---> Route it to corresponding File2 (For E)

Conditional Receiver Determination is needed.based on payload content of Source

rgds

Srini

Shabarish_Nair
Active Contributor
0 Kudos

use XPATH in your RD to route the message.

Make sure there is a way to identify that it is an error or success (maybe a flag) and then do the routing

ref:

/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination