Application Development 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: 

Back Ground job

Former Member
0 Kudos
115

hi friends,

i got a situation that i have to raise a error message while a sheduled backround job is run based on some conditions.

Now i just want to know, where do i go and check out for these error messages as error mesaages are raised explicitly on screen in a background job.

Prompt answers will be rewarded with points.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
90

Hi Arun,

You can check for the messages in the spool(SP01) that is created for this job.

Regards,

Sajith.

5 REPLIES 5

Former Member
0 Kudos
91

Hi Arun,

You can check for the messages in the spool(SP01) that is created for this job.

Regards,

Sajith.

0 Kudos
90

The messages will appear in the job itself. You can view them by going to SM37. Go the specific job, click the "Job Log" button. This is where you will see the messages.

Regards,

Rich Heilman

Former Member
0 Kudos
90

thanks a lot Rich Heilman and Sajith Hari,

Could u also tell me what happens to the write statements that appear in the code of such a background job.

Thanks in advance.

0 Kudos
90

They go to the spool. Again, in SM37, check the job and click on the spool.

Former Member
0 Kudos
90

Added to that u can also check the same in <b>SM36</b> too.

U can click on the job scheduled and then the spool created if u get a finished messaege. If not u will be having the eroor mess in the calceled Job.

Also if u want <b>to debug a job schedule in background</b> just choose the corresponding job and type <b>shdb</b> in the command prompt.