cancel
Showing results for 
Search instead for 
Did you mean: 

synchronous call from RFC adapter

Former Member
0 Kudos

Hi,

we are making a synchronous RFC calls in a loop within the ParForEach block of the BPM. Each synchronous call is taking about 20 seconds from BPM, but the same RFC when executed directly on the SRM system takes about 20 milliseconds. Is this the desired behaviour of the RFC adapter or is there anyway we can improve this ?. Also please let me know if the RFC adapter suppots connection pooling to improve the performance ?

Regards

Anand

Accepted Solutions (0)

Answers (3)

Answers (3)

STALANKI
Active Contributor
0 Kudos

Is it standard rfc which is being used?If yes I feel we can write a wrapper function which is capabale of taking all transactions of a file into a table parameter and do the required functionality.Calling parforblock is going to be quiet expensive and time consuming.

Former Member
0 Kudos

Hi Sravya,

At this point of time we do not have option of creating a wrapper and sending a whole file in a single RFC call.

Instead we are investgating if it is possible to improve the performance of single RFC call from current 20 seconds , considering the fact that actual exceution time of the RFC in SRM is just 20milli seconds.

Regards

Anand

Former Member
0 Kudos

You could use the lookup functionality of SP 13. See: http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/frameset.htm

With this you can make Lookups from within a mapping. Thise might be faster sending messages from the BPM.

They still need to use the adapter, but they do not require so much of the BPM.

STALANKI
Active Contributor
0 Kudos

Hi Anand,

Are you dealing with async-sync cases.Is there any specific reason for using a BPM?

Former Member
0 Kudos

Hi Sravya,

It's file to RFC scenario. we get multiple transactions in a single file. within the BPM we are spiltting the file into individual transactions and making a seperate synchronous RFC call for each transaction using parforeach block.

Regards

Anand

Former Member
0 Kudos

Hi Daniel,

we are on SP11.

Regards

Anand