cancel
Showing results for 
Search instead for 
Did you mean: 

duplicate background jobs in sap abap report

0 Kudos

Can anyone please help to find the report or how to remove the duplicate background jobs which is in the below senario example.

Different job name , same program name, Diff variant name with same variant contents.

Kindly help me how to achieve this and remove the this kind of duplicate BG jobs?

Z1 job – scheduled same program name and same time -- Variant1(same values)

Y1 job - scheduled same program name and same time - Variant 2 (same values)

Accepted Solutions (1)

Accepted Solutions (1)

oppancs
Contributor
0 Kudos

Dear Mohan,


For the issue more clarified and in more details see the KBA:


2704533 - Scheduled tasks in Java scheduler trigger multiplied jobs


For your query, how to list the jobs in telnet please refer to the wiki:


https://wiki.scn.sap.com/wiki/x/ZAVXCQ


Regards,
Barnabás

0 Kudos

thanks for your reply.

Answers (1)

Answers (1)

oppancs
Contributor
0 Kudos

Dear Mohan,


This scenario occures most likely if the lock of job scheduler lock owner was deleted somehow, therefore it makes possible two server nodes to become lock owners. As a result two server nodes are executing the same task at the same time. The solution is to restart all of the server nodes to leave only one lock owner or the other approach is to restart the whole cluster.


Other possible solution can be if you delete the relevant lock manually. You should be very careful when deleting locks. You should delete only the relevant locks and not all of them. The lock owner is a SAP AS Java service called "scheduler". As a service it could be seen in NWA under (use search field) plug-in "Java System Properties". The lock that says who is the lock owner also could be seen in NWA under plugin called "Java Locks". The lock with name "$scheduler~singleton" is hold by lock owner and the node where the lock owner lives could be seen in "Owner Name". For example "I2018062710194840200000TESTPC...............2297651" says that the server node "2297651" is the lock owner. If someone deletes all locks in this plug-in then you are in a trouble. So please be very careful when deleting locks.


Best Regards,
Barnabás Paksi

0 Kudos

Hi PAski,

Thanks for your quick reply. i have understood half only as you are explained the way via lock mechanism lock owner deletion with singleton.

I want to have the report or way list of bg job which is running as above mentioned senario in production system.

BTCAUX04 -- currently sap has given std sap program which identifies the duplicate jobs, but this program identify same job name and same variant name only. it does not check the same variant value contents. Is there any way to pull the report which is

Z1 job – same program name and same time -- Variant1(same values)

Y1 job - program name and same time - Variant 2 (same values)

kindly let me know if any other way or any report sap having .

also sap has given

RSBTONEJOB2Keep only one instance of active job is running for a single Job.

Kindly help me in this.

regards,

Mohan.P