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

job processing

Former Member
0 Likes
529

i am doing an job processing in which i know the name of the background job in sm37 now i want to know the name of the program .

the issue is that whenever this is being run it is getting failed and the status is showing as cancelled.

what could possibly be the reason

5 REPLIES 5
Read only

Former Member
0 Likes
503

Hi

Try debuggin the background job to find out the reason why it gave an error. For this, goto sm37, enter the job name. Now check the checkbox for the particular job, type JDBG in the command window on top. This will let you to debug the program (after a few initial calls, you will be able to see your program in the debugger).

Thanks

Vijay

Read only

Former Member
0 Likes
503

Hi,

1.Goto tcode --> Enter job name

On Application tool bar -->press the button called Step

(ctrl_shift+f9) It will give the Program name.

2.In same tcode select the check box for that job

-


> On applcation tool bar--->select job log button(ctrl_shift+f11)

-


>double click on third line--> It will show the cancel reason

Read only

0 Likes
503

what is meant by click on third line???

i am getting this message

In language EN there is no message 000 for ID ZP

Job cancelled after system exception ERROR_MESSAGE

Read only

Former Member
0 Likes
503

Hi Jamnun,

Go to SM37, select the cancelled background job, and click on Step button in the application toobar OR click CrtlShiftF9.

That will give you the program running in the job - Program/Command. If the program has a selection screen, you might need to know the values entered there. For this place cursor on the program , and Goto -> Variants

When a background job fails due to error, select the background job and click on Job Log in application toolbar. It will show you the error message which cancelled the job.

Cheers.

Read only

rahulkavuri
Active Contributor
0 Likes
503

Go to SM37->

Give job name and execute->

Tool bar button STEPS (Display Steps list) ->

Then you will get program name

Award points if found helpful