‎2011 Dec 25 2:04 PM
Hi Experts,
I have a function module in which i want to call three FM parallelly to get product information and finally consolidate the final result and return into table parameter.
I need ur suggestion how do i know that my all three FM executed and so that i can make final result.
please give me sample code so that i can achieve my requirement.
Thanks & Regards,
NJ
‎2011 Dec 25 2:23 PM
Hello,
I have a function module in which i want to call three FM parallelly to get product information and finally consolidate the final result and return into table parameter.
If you want to implement parallel processing, you'll have to implement [asynchronous RFC(aRFC)|http://help.sap.com/abapdocu_702/en/ABAPCALL_FUNCTION_STARTING.htm].
To get the results from the aRFC, you'll have to code an additional callback procedure(subroutine/method). To stop the program execution, until the callback procedures have been executed you have to use the WAIT UNTIL statement.
BR,
Suhas