cancel
Showing results for 
Search instead for 
Did you mean: 

File to RFC/BAPI - Async- How to capture response field value

Former Member
0 Kudos

Hi,

I am doing File to RFC/BAPI Scenario. I have Two BAPI's. THe same source xml file is mapped to the Two Target BAPI's.

For the first flow i.e File to BAPI1, I need to capture BAPI Response, field value and pass this value as Input to the BAPI2.

How do I proceed with the Mapping. I am working on PI 7.1

Any input would be Appreciated.

Thanks & Regards,

Varun

Accepted Solutions (1)

Accepted Solutions (1)

udo_martens
Active Contributor
0 Kudos

Hi Varun,

apparently you need a Business Process:

XML -> BP (asynchronous), Map to Bapi1 request structure

BP -> BAPI 1 (synchronous)

Transformations step with multi mapping merging XML and Bapi1 response to Bapi2 request structure

BP-> BAPI2

Regards,

Udo

Answers (2)

Answers (2)

varun_k
Contributor
0 Kudos

Created an RFC Wrapper which calls first BAPI, fetches the response field value and calls the second BAPI

Former Member
0 Kudos

Varun,

Follow the steps given in this blog. Only difference would be he is writing back to the file, instead you need to send to your second bapi.

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

---Satish