on 02-07-2012 2:08 PM
Hi Friends,
I terminated a processchain, that contains local processchains. Before termination
3 of 5 processchains ended successfully. Now I want to restart processchain with
local processchain 4, so tahat also local processchain 5 is triggerd in case of success.
But I don't want to repeat chains 1 to 3. Is this possible? If you have a solution,
please let me know.
Thanks in advance and regards
Joe
Hi Joe,
If the chains 1, 2 and 3 completed successfully (green) and the chain 4 has not started, then I guess Repeat option will not be available. Only if the chain is red, we get repeat/repair option.
You can manually trigger the chain 4 and 5 using FM RSPC_API_CHAIN_START.
If the chain is red, you can use FM RSPC_PROCESS_FINISH to make it green and continue meta chain run,
https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3149
Thanks,
Vinod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Finally I'd so start chains manually,
the option I wanted to avoid basically. It seems, that there is no way to restart PC from a process contained, whwn all previous processes ran successfully.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guys,
first of all, thanks for all replies.
What I didn't mention, I tried to use FM.
But state of last processed sub (local) chain 3 was already 'G', succesfully completed,
,in log view it was displayed in yellow colour, what was confusing for me a little.
So I set 'F' and 'G' again (for sub cahin 3), I got this message
Run canceled manually. Restart not required by user
Message no. RSPC166
and sub chain 4 was not triggered.
Meanwhile I think triggering sub chain 4 & 5 manually will be the best option.
This was the situation in PC:
Start process green
Sub chain1 'G' green
Sub chain2 'G' green
Sub chain3 'G' yellow
Sub chain4 not triggered grey
Sub chain5 not triggered frey
staus of meta chain red (TC ST13)
BR
Joe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi JFB,
One option to run the rest of the PC --> As all the 3 out of 5 PCs got finished and you want to execute only the 4th n 5th locak PCs -- then you can do one thing -- make a copy the existing PC and remove the top 3 Local PCs from the meta chain and create a new start variant with scheduling options as immediate and schedule the PC.that it your issue is resolved.
The main PC will run as usual for next run.
may i know the reason why the process chain got terminated at local chain 4? have you suspended the PC manually due to some reason or was there any error occurred because of which the process chain got failed?
if there was any error due to which the PC got terminated then First try to analyze the failure and resolve the issue , once the issue is resolved the rest of the PC will automatically starts running.
Regards
KP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI KP,,
Got your post after my response.
Yes, I terminated PC manualyy, because I had to to do some settimg for a successful run of chsin 4.
Beacuse chains 1 to 3 wre processed as expected, I just wanted to procees wthin tha chain, just
to get a green traffic light for the whole PC.
And i've confess I thought it should be easy, but it doesn't essm to be really easy.
So I will continue 'manually' and accept the error entry in PC monitor.
BR
Joe
Hi,
Follow the below steps:
Step by step instructions on change process chain status
1. Right click on the failed step in the process chain monitor and go to displaying messages
2. Go to u2018Chainu2019 tab and note down variant, instance and start date
3. Go to SE16 and the table RSPCPROCESSLOG and enter variant, instance and start dates from step 2 and note down log_id, type, variant, instance.
4. Go to SE37 transaction and execute the function module RSPC_PROCESS_FINISH and enter the values from step 3 and enter the new status u2018Gu2019 in status field and execute the FM
5. This sets the status of the process chain (PC)
After you set the status using the FM, go to the monitor screen of the process chain, you will notice the changed status. Now dependent steps in the process chain will start running
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joe,
If you are sure that your 1st three Local Chains completed successfully, you may follow below steps.
1. Right Click on the 3rd local Chain > Display Messages > 'Chain' tab > Make a note of Variant and Instance form Generated Instance.
2. Goto RSPCPROCESSLOG Table and search for Log ID based on your Variant and Instance.
3. Now execute the function module RSPC_PROCESS_FINISH in SE37 and enter your values (Variant, Instance and Log ID )
4. Enter G in the field I_STATE > Execute.
5. Now your 4th Local Chain will proceed and your 3rd Local Chain will turn green if its red.
Hope this helps.
Regards
Sai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
At what step you have terminated your process chain.This step will be in red color.
right click on the failed step ---> display message --> click on "chain" tab.
from this tab copy the instance and parameter and follow the below steps.
http://explore-sapbw.blogspot.com/2011/12/triggering-failed-process-chain-steps.html
Regards,
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
go to RSPC find the local processchain 4, right click on Start variant and make sure that settings are start Immediate. Then Click on schedule(F8). this will start youe Processchain 4 and if all loads are green the Processchain 5 will be kick on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joe,
Just restart the process which is failed so that it will resume the process chain load.
Regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joe,
If that process is in red, then you convert that red termination to green by using the info in below link.
Regards,
Siva
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.