on 04-20-2009 7:30 AM
Hi,
Is there any possibility in SAP, that, a background job can create/instantiate another background job ?
I have one suce requirement, and not sure if this is possible. Any inputs..
-DK
yes you can
when you create a job using SM36,there is a option for start condition
in that there is an option for After Job
just give the job name and when that job completes,this job will trigger off
http://help.sap.com/saphelp_nw04/helpdata/EN/c4/3a7fae505211d189550000e829fbbd/frameset.htm
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I cannot start both the jobs at the same time, as based on certain runtime conditions only, I will be needing the second job to start. Just an information, I'm starting these jobs through ABAP code and not through SM36/SM37. Also, these are not usual batch programs that are scheduled on a certain time frequency.
This requirement is part of a bigger requirement that we have. So, just wanted to know whether such things are possible within SAP or not.
-DK
This should clear your doubts,
http://help.sap.com/saphelp_nw04s/helpdata/en/20/2d513897110872e10000009b38f889/frameset.htm
Regards
Juan
Hi,
With specific abap code, all is possible !
In your case, maybe, you could just raise a SAP event while running the first job.
The second job could be triggered by the event.
We use a lot this technique on our production R/3 systems.
It is also, possible to create a new job on the fly with function modules.
Regards,
Olivier
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.