2006 Aug 23 12:23 AM
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.
2006 Aug 23 12:27 AM
hi
goto sm36 transaction for scheduling the job.
you could set the time for executing the job in overnite.
Cheers,
Abdul Hakim
2006 Aug 23 12:33 AM
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'.
2006 Aug 23 12:36 AM
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.
2006 Aug 23 12:43 AM
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
2006 Aug 23 12:45 AM
Is this a radiobutton? If so, all you have to do is to change the radiobutton to 'Server' and save it as a variant.
2006 Aug 23 12:51 AM
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.
2006 Aug 23 12:55 AM
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
2006 Aug 23 3:32 AM
SM37 and click on 'Job Log' for log, and click on 'Spool' for spool.
2006 Aug 23 4:20 AM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |