Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Multiple Batch Job Fail - Debugging

Former Member
0 Likes
627

I need help ...

we had a background job fail this morning for over 2 hours (affecting 200+ records)

I can see them all in SM37 ->  cancelled jobs for today

If i drill down into the job log it tells me what PO number the job failed for.  but there are so many...

Is there anyway i can mass download the text on the job log for these tickets without having to go into each one - one at a time so I can rerun the job for those PO's?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
577

Select the job and then go to display job log(CTRL+SHIFT+F11). Once you are in the job log go to System->List->Save->Local File. You will get a pop-up asking you to specify the format in which you want to save. Select unconverted, give it a destination and a file name and you should be able to download the job log..

4 REPLIES 4
Read only

Former Member
0 Likes
578

Select the job and then go to display job log(CTRL+SHIFT+F11). Once you are in the job log go to System->List->Save->Local File. You will get a pop-up asking you to specify the format in which you want to save. Select unconverted, give it a destination and a file name and you should be able to download the job log..

Read only

0 Likes
577

Hi Aneesh - i've tried that...

but i have 267 jobs that failed... I want to mass extract the job logs for each.

not drill into them one at a time.

Shane

Read only

matt
Active Contributor
0 Likes
577

You can read a batch log programatically using BP_JOBLOG_READ. There are other FMs for manipulating batch jobs. So you could write a program using these.

Read only

0 Likes
577

Thanks Matthew...we will try that.