Avoid Overlapping Background Job RSBTONEJOB

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

1000081297 - RDC Jobs are running Long time

Problem.................................................................................................................................................2
Analysis..................................................................................................................................................2
Proposed Solution.................................................................................................................................3
RT1 Test results with the proposed solution.........................................................................................3
Step1: Create the Variant for program RSBTONEJOB........................................................................3
STEP2: Create the Variant for program RBDMANI2...........................................................................4
Step3: Schedule a job with Step1 and Step2.....................................................................................5
Job Result..........................................................................................................................................6

Problem
RDC Job in production running long time with Job frequency as 30 min.
1000081297 - RDC Jobs are running Long time

Analysis
The Job is running every 30 min with three days period to process the RDC inbound IDOC
error messages. We have large no of PO confirmations was failed with the below reasons and the job
is not completed within 30 min and the 2nd same job was started again with the same variant.

This causing the job dead lock situation.


Row Labels Count of IDoc
Number
DESADV 8
ORDERS 2
ORDRSP 681
SHPCON 16
(blank)  
Grand Total 707

Row Labels Count of IDoc


no.
&&&& 4
& exceeded by & & & 5
Acknowledgment for PO item & & contains quantity variance 3
Confirmation references inbound delivery &1 (Not possible to 1
delete)
Delivery & does not exist 1
Delivery date & is in the past 2
Document & already being processed 1
Goods receipt cannot be posted against purchase order &1 1
Item &2 has been deleted from document &1 1
Length of field & differs from length of database field 10
No goods receipt possible for purchase order & & 8
No IDoc items belonging to purchasing document found 3
No update of sales order &1 from purchase order (error &2 &3) 210
Purchase order number in document number: & already exists 2
The cost estimate is being saved 2
User & already processing & & & 667
(blank) 3
Grand Total 924
1000081297 - RDC Jobs are running Long time

Proposed Solution
SAP suggested one process in this note 557610 to avoid the parallel job executions .As per
the note we need to add the one program RSBTONEJOB as a first step in our RDC job with proper
variant for step1 program.

So the first step1 program (RSBTONEJOB) always check the previous job status, if the
previous job still running , The new job will cancelled automatically with proper reason in the job log.

This solution we can completely avoid the parallel job execution especially which jobs are
running with small time frequency to reduce the system load.

RT1 Test results with the proposed solution

Step1: Create the Variant for program RSBTONEJOB

STEP2: Create the Variant for program RBDMANI2


1000081297 - RDC Jobs are running Long time

Based on the variant we have near 2330 error IDOCs in RT1. IF we schedule the Job with 30 min
frequency to test the SAP suggested solution to avoid the parallel job runs.

Step3: Schedule a job with Step1 and Step2


Job Name: AEMM_RDCIDOC_ERR_30_758233_12416 (The same job name need to maintain in Step1
Program variant)

Step1: Program: RSBTONEJOB


1000081297 - RDC Jobs are running Long time

Variant: RDCB2BQLIMAPJ

Step2: Program: RBDMANI2

Variant: ZCAIMA_ERRORS1

Job Result
As per the below Screen the step1 program is cancelling the 2 nd job when the first job is in still active
and provide the clear job cancelling reasons
1000081297 - RDC Jobs are running Long time

First Job log :

2nd job log, if the previous is still running :


1000081297 - RDC Jobs are running Long time

You might also like