Application Development 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: 

scheduling a job in background.

Former Member
0 Kudos

Hi ,

I would like to know,

1.How to schedule a existing job from ABAP program.

2. If job not exist then i want to creat job & schedule the job from ABAP program.

The FMs "JOB_OPEN, JOB_SUBMMIT, JOB_CLOSE" by using ths FMs can we create a job or schedule a job from ABAP program????

Plz suggest.

Regards.,

2 REPLIES 2

MarcinPciak
Active Contributor
0 Kudos

Yup, these FMs are right ones. Refer [scheduling a job|http://help.sap.com/saphelp_nw04/helpdata/en/fa/096ce5543b11d1898e0000e8322d00/frameset.htm] and its subsequent pages (on the left hand side). It gives clear explanation and sample programs.

If you can't reach them refer these directly:

- [JOB_OPEN|http://help.sap.com/saphelp_nw04/helpdata/en/fa/096d40543b11d1898e0000e8322d00/frameset.htm]

- [JOB_SUBMIT|http://help.sap.com/saphelp_nw04/helpdata/en/fa/096d4d543b11d1898e0000e8322d00/frameset.htm]

- [JOB_CLOSE|http://help.sap.com/saphelp_nw04/helpdata/en/fa/096d74543b11d1898e0000e8322d00/frameset.htm]

Regards

Marcin

Former Member
0 Kudos

Hi Prabhakar,

From ABAP proram you can call the function module BP_JOBVARIANT_SCHEDULE.

It will schedule the jobs in the background.

Regards

Pinaki