05-02-2009 1:48 PM
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.,
05-02-2009 2:02 PM
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
05-02-2009 2:50 PM
Hi Prabhakar,
From ABAP proram you can call the function module BP_JOBVARIANT_SCHEDULE.
It will schedule the jobs in the background.
Regards
Pinaki