Skip to Content
1
Jun 29, 2018 at 05:30 AM

SAP ABAP Parallel Processing Controls

1265 Views

Hi All,

I have gone through parallel processing concept of SAP where we are using below statement to achieve it:

'CALL FUNCTION ‘ZPARALLEL_PROCESS_FM’ STARTING NEW TASK lv_taskname

DESTINATION IN GROUP p_rfcgr'

But I wanted to know below:

We have a scenario where we are running a daily batch job and that job has parallel processing logic. But the parallel processing is not getting completed by the time the same job starts again on the very next day. Due to which the output files are generating incorrectly.

How we can control/handle a scenario to make sure the next job should not start until previous job completes or is it possible to make sure the asynchronous job should get complete with in some limited time.

There is a work around, we can write a condition in the report using lock object, we can do lock a table when job starts and unlock when it finishes in between if any the same job triggers again we will put it on wait.

But may i know is there any standard way of handling.

Regards,

Prince Joshi