‎2008 Jan 15 1:38 PM
Hi,
I have a problem with background job. I have to search if another background job is running for the same program then I should display an error message.
The problem is that when i do a query on table TBTCO it gives me the current background job status using select single with status 'R" and everytime displays the message since this job is being executed.
Can any one help me in this?
‎2008 Jan 15 2:12 PM
Hi,
Don't do select single. Select all entries corresponding to that program with status R in an internal table and then use describe statement to know how many records it has fetched.
If its more than one, it means another job is also running.
regards,
pankaj
‎2008 Jan 15 1:51 PM
‎2008 Jan 15 2:12 PM
Hi,
Don't do select single. Select all entries corresponding to that program with status R in an internal table and then use describe statement to know how many records it has fetched.
If its more than one, it means another job is also running.
regards,
pankaj
‎2008 Jan 15 3:00 PM