Within an ABAP program, how can you check if another job with a particular job name is running? For instance, in my ABAP program, I want to see if there's a job called 'UPDATE_FILE' running. Is there a way to do this?
You can query table TBTCO (Job Status Overview) and determine if the value of the field "STATUS" is 'R' for active or running for the JOBNAME='UPDATE_FILE'.
Possible values in "STATUS" field are:
I believe this answers your questions. Please let me know.
Dig Deeper on SAP ABAP
Related Q&A from Giovanni Davila
Learn how to transfer a client from one server to another in this administration tip from Basis guru Giovanni Davila. Continue Reading
Giovanni Davila, Basis expert, provides advice on how to copy all SAP users from one system to another in this tip. Continue Reading
Describes how to run transaction SU01 to verify if CUA is used on an SAP system. Continue Reading