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

Setting JOB

Former Member
0 Likes
422

Hi,

I want to set a background job to a program. the job should run daily at 4 AM.

if i set the job from tomarrow, it should take the tomarrow date i.e, 22/11/2008, then minus it by one day

i.e, 21/11/2008. then pass this value to the selection parameter of the program.

How to i set it???

regards,

Swetha

Hi,

I want to set a background job to a program. the job should run daily at 4 AM.

if i set the job from tomarrow, it should take the tomarrow date i.e, 22/11/2008, then minus it by one day

i.e, 21/11/2008. then pass this value to the selection parameter of the program.

How to i set it???

regards,

Swetha

2 REPLIES 2
Read only

Former Member
0 Likes
401

Hi Shwetha,

To set the background job through ABAP programming instead of SM36 we can use the following procedure :

1. Call FM JOB_OPEN

2. Call FM JOB_SUBMIT / SUBMIT statement and pass the Job No. from the JOB_OPEN

3. Call FM JOB_CLOSE.

The link contains a sample program to implement it :

http://help.sap.com/saphelp_40b/helpdata/en/fa/096d40543b11d1898e0000e8322d00/content.htm

Thanks,

Nitesh Jain

Read only

Former Member
0 Likes
401

hi

you can try SM36