Skip to Content
author's profile photo Former Member
Former Member

Obtaining the jobcount number


I am searching for a method to obtain the jobcount number from with an abap program running in batch mode. Currently my solution scans the tbtco table, but I expect a more direct possibility. Usually the sy-.... variables supply that kind of info, but not in this case. Has anyone a better solution?.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Nov 13, 2003 at 06:20 PM

    You might try looking at function module GET_JOB_RUNTIME_INFO. This allows a program running in batch to get its own Job Info (Job Name, Job Number, Step Count, etc). If you want to get this information from another program you can use the function BP_JOB_SELECT to scan for jobs with different search criterias.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.