09-11-2013 4:22 PM
Hi Guru's,
Posting this query as I was unable find the same when searching it in the SDN.
Scenario :
I'm scheduling a background job through an ABAP program using the normal procedure
Step 1 -- FM "JOB_OPEN"
Step 2 -- SUBMIT <ABAP_PROGRAM> and Return
Step 3 -- FM "JOB_CLOSE".
By this way the Job is being scheduled and spool gets generated.
To check the Job status...in SE37 I give the Jobname and execute.This will list out all the jobs that have run in that period of time.
I just want to know how to include the Jobcount in the search so that I will only get the job of that particular jobcount displayed.
If this question has already been answered...please guide me through as I'm unable to find the same.
Warm Regards,
S V...
09-12-2013 5:07 AM
Hi Sunil,
We can track the background job in SM37.
Options are there to put your sap user name, from time, to time and job status, so that you can see your job progress.
09-12-2013 5:43 AM
Hi,
If you want to do it in program, you can use FM SHOW_JOBSTATE by passing job name and count.
Other option is to check in table TBTCO. I dont think if SM37 has such option.
Thanks,
Vinod
09-12-2013 8:48 AM
Thank You Nivedita & Vinod for your immediate replies.
In my scenario I have an ABAP Program (a report) which will display the Jobname and Jobcount in the output.
My intention is to provide the User the option to check the job with the jobcount so that he can check the specific job instead of getting confused checking bunch of jobs.
Example...
-- User runs the report now with few set of data and runs the same report at later point of time of the same day with different data.When he checks the job in SM37 the option we have is to provide the jobname & username which will display a set of jobs.
-- I want to know if we can include JobCount or any other parameter if available so that,User can check that particular job alone.
Warm Regards,
S V..
09-12-2013 10:11 AM
The start time of the job changes each time.
The user can determine the job by seeing start time. I guess by seeing log, and start time user can understand which job is completed.
You need a different parameter other than start time ?
09-12-2013 10:14 AM
HI,
Specifying the time on which the job was run would help ??
09-12-2013 10:23 AM
Hi,
You can simply make this as interactive report. User can click on output row and ABAP coding can be done to display the job by calling standard FMs. This would be more user friendly solution.
Thanks,
Vinod.
09-12-2013 11:06 AM