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 scheduling

Former Member
0 Likes
903

Hi guys,

I need to schedule a job to run my program overnite, can anyone help me hoe this can be done.

Thanks,

David.

Hi guys,

I need to schedule a job to run my program overnite, can anyone help me hoe this can be done.

Thanks,

David.

9 REPLIES 9
Read only

abdul_hakim
Active Contributor
0 Likes
882

hi

goto sm36 transaction for scheduling the job.

you could set the time for executing the job in overnite.

Cheers,

Abdul Hakim

Read only

Former Member
0 Likes
882

Go to SM36. Give a job name, select a job class. Then click on 'Step'. Enter ABAP program name and variant. Click 'Save' here. Go back to the initial screen and click on 'Start condition'. Click on 'Date/Time'. Enter the start date and time and check the box 'Periodic job'. Click on 'Period values', select 'Daily'.

Read only

0 Likes
882

Hi Srinivas,

When i run my program , the selection screen comes up which has option to choose desktop or server(by default it selects desktop), now how can my job select the server radio button and then execute.. I am confused a bit please help..

Thanks,

David.

Read only

0 Likes
882

David,

When u r running your program as a background job, you can NOT choose desktop. It should be your application server. You should select 'server' radio button and save it as a varaint.

You have to give the program name along with the varaint when you schedule the job using sm36.

Thanks,

Message was edited by: Somen

Read only

0 Likes
882

Is this a radiobutton? If so, all you have to do is to change the radiobutton to 'Server' and save it as a variant.

Read only

0 Likes
882

Hi Srinivas,

Yes i have saved as a variant and for testing scheduled a job in the next 5 mins. Can you tell how i can check whether the job completed and if so how can i check the log.

Thanks,

David.

Read only

0 Likes
882

Hi David,

Take a look at this link....

it gives you details of how to schedule a job and other details

http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/2c513897110872e10000009b38f889/content.htm

Once the job is completed the status of the job will be FINISHED. You can check the status from SM37 tcode.

You cans select the job in SM37 and click on the LOG button on the application tool bar to see the log.

Cheers

VJ

Read only

0 Likes
882

SM37 and click on 'Job Log' for log, and click on 'Spool' for spool.

Read only

0 Likes
882
Henry

   Adding to the info provided above by our friends.

   Once you have schedule a job, you can go to 
transaction SM37 to monitor. 

Goto transaction SM37.
Give the jobname
Select all check boxes under Job Status.
Execute.
When you go in you can see the the job with details.
One column in the layout is status which signifies the status of the job.
Various statuses for your knowlege: Schedules/ Released/ 
Active/ Finishes/ Cancelled.
You can refresh your screen by using key F8. Once 
completed and if any spool is created for the same you 
can see a spool icon in column Ln. Select the same and click on Spool from the application tool bar which will 
take you to the spool generated.

   Hope the above info helps you.
Kind Regards
Eswar