Skip to Content

duplicate background jobs in sap abap report

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)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 18, 2018 at 02:04 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 31, 2018 at 10:05 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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