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

Scheduling Background Job.

Former Member
0 Likes
1,374

Please help me how do I schedule a Background Job?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,319

ABAP Editor transaction SE38 can be used to execute program in the background. In SE38 selection screen click on Program -> Execute -> Background and specify the name of the variant. You can schedule the program to run once at a certain time or periodically every month, week, days, hours or minutes.

Moreover Transaction SM36 can be used to Schedule Background Job without selections parameters.

Click on the steps, A popup window will open, Click on ABAP/4 button. The fields ABAP/4 Program name, Variant and Language will become input enable. Type the program name and save it by pressing on save Icon. Now Click on start condition, a popu up will appear asking about start date or Immediate etc.. pls provide applicable details and press on save Icon. and now finally press on Save Icon

From 4.6c onwards you will also see one more button "Job Wizard", this option can also be used to define the Job steps. Also Transaction SM36WIZ is the same as "Job Wizard".

3 REPLIES 3
Read only

Former Member
0 Likes
1,320

ABAP Editor transaction SE38 can be used to execute program in the background. In SE38 selection screen click on Program -> Execute -> Background and specify the name of the variant. You can schedule the program to run once at a certain time or periodically every month, week, days, hours or minutes.

Moreover Transaction SM36 can be used to Schedule Background Job without selections parameters.

Click on the steps, A popup window will open, Click on ABAP/4 button. The fields ABAP/4 Program name, Variant and Language will become input enable. Type the program name and save it by pressing on save Icon. Now Click on start condition, a popu up will appear asking about start date or Immediate etc.. pls provide applicable details and press on save Icon. and now finally press on Save Icon

From 4.6c onwards you will also see one more button "Job Wizard", this option can also be used to define the Job steps. Also Transaction SM36WIZ is the same as "Job Wizard".

Read only

former_member188829
Active Contributor
0 Likes
1,319

hi,

see this thread..

Read only

Former Member
0 Likes
1,319

Hi Jaspreet,

Create a Variant for the Program

Go to SM36 create a Job

Enter Program and Variant for that program in STEP.

Click on Start Condition

Click on DATE and TIME enter date scheduled Start and END times

click on Period Values

Click on HOURLY/WEEKLY etc

Use SM37 Transaction to check the status of JOB.

Please refer the following link for more info.

http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm