Hi,
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?.
regards,
Tiny
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