02-09-2009 7:44 PM
i am using following FM :-
CALL FUNCTION STARTING NEW TASK with the argument DESTINATION IN GROUP DEFAULT
for Parallel Processing Jobs with Asynchronous RFC.
It uses the Dialog work process. Do we have option to use only Background work process instead of using dialog work process. If yes,please let me know how.
Or do we have any other option ...instead of using CALL FUNCTION STARTING NEW TASK with the argument DESTINATION IN GROUP DEFAULT. That would divide the task and schedule them on different-different Apllication server in back ground.
02-10-2009 4:48 AM
Hi Dilip ,
You can write CALL FUNCTION func IN BACKGROUND TASK ..............
For This IN BACKGROUND TASK addition Background work process will be alloted for this task .
Regards
Pinaki
02-19-2009 5:09 AM
Hi Dilip,
SAP recommends only to use asynchronous RFC for parallel processing, which is calling FUNCTION func... STARTING NEW TASK. The reason being is that the main program have to wait for the parallel processing to complete before sending the next task to the work process.
However, if your main program is only used to split the work into several work process, and it does not coordinate and communicate with other work process, then you can use transactional RFC, CALL FUNCTION func IN BACKGROUND TASK. You can monitor the successful of the execution in SM58.
Regards,
Lim...
02-19-2009 9:01 AM
Hi Dilip,
you can either parallelize with asynchronous RFC (ARFC) which will use DIALOG processes for the RFC
or
use the background job api to split the work in parallel BACKGROUND jobs.
Compare:
http://help.sap.com/saphelp_nw70/helpdata/EN/c4/3a7f1f505211d189550000e829fbbd/frameset.htm
and:
http://help.sap.com/saphelp_nw70/helpdata/EN/fa/097720543b11d1898e0000e8322d00/frameset.htm
hth,
Hermann