Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to queue up rfc calls

bhakti2
Active Participant
0 Kudos
531

I have implemented RFC calls between two sap boxes. this is for transmitting srm contract data to S4 system whenever a contract is released on srm portal. i cud not find any suitable standard available so i implemented rfc call. however now i realise i need to wait for the current remote call to be over before i can start another one. its custom developement. how can i implement queueing for rfc calls?

thanks in advance

bhakti

2 REPLIES 2

GK817
Active Contributor
0 Kudos
312

Hi Bhakti,

You can use one of the below options:

1. Use statement 'WAIT FOR ASYNCHRNOUS TASKS.....'. Here you can use logical expression or WAIT for n seconds. Check documentation.

2. It would be better to put some timeout limit as otherwise RFC call may take lot of time due to various reasons. Check RFC destination settings in SM59.

I hope this helps.

Gaurav

bhakti2
Active Participant
0 Kudos
312

thanks a lot, ill explore this option. right now i have put enqueue on the particular update operation