on 12-10-2007 11:53 PM
Hi!
I have a job chain with two steps. The first one launches another job (RV60SBAT abap) and the second one should start after finish the job is launched by RV60SBAT. How can I control, with SAP CPS, the start of the second step? An event at the end of the first step is not valid since it only means that the son job is launched but not finished.
Thanks,
Antonio
Hi All,
<b>As mentioned by Anton</b>, using XBP 2.0 interface in SAP system it is possible to track parent child relationship. If XBP 2.0 interface is not available in your system, some transports are provided by CPS (Redwood). After applying these transports and activating parent child relationship in SAP (run ABAP INITXBP2 to verify and/or enable) it should take care automatically to wait for child jobs to finish before moving to next step.
Best Regards,
Vithalprasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,<BR><BR>
Just to make sure: the additional CPS transports are to enable <b>interception</b> if you do not yet have XBP2.0. The transports are not used for <b>parent-child</b> relations.
For parent-child relations you do need XBP2.0 (which you have if you have the ABAP INITXBP2).<BR><BR>
Regards,<BR><BR>
Anton Goselink.
Hello Antonio,
If you defined a chain in CPS with the RV60SBAT in step 1 and another job in step 2, then step 2 is only started when step 1 is completed (including the childs that step 1 might create).
Greetings,
Ed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
If you have parent-child relations activated in SAP (run ABAP INITXBP2 to verify and/or enable this) then SAP CPS will automatically wait for any child job generated by a parent job.
So even if the RV60SBAT job is finished in SAP, CPS will wait for the jobs generated by this ABAP to finish, before finishing the RV60SBAT job in CPS.
This way, the second step will start only if the previous RV60SBAT and all its childs are finished.
So the only thing you need to do/verify is if parent-child relations is enabled in the SAP system where you run RV60SBAT, via the ABAP INITXBP2.
Regards,
Anton Goselink
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.