cancel
Showing results for 
Search instead for 
Did you mean: 

Chain does not proceed with running when error occurs

0 Kudos

Hi all,

A chain stops running when a process ends not sucsesfuly instead of continuing to next step that should occure in the case of error. Log shows a message :

"Termination Discovered"

The analysis of chain A_CHAIN showed that process A_PROCESS

was terminated However the process has either

successors (that are executed if errors occur) or a

metachain Run 4N0NKEUBX3YIEL07XUX6381TP could not be ended

due to the termination. It may be the case that a metachain

was not informed about the error Continue run for chain

YB_PLAN and any corresponding metachain?

V Do not show this question in this session

Yes No

I dont need this message. I just need the chain to continue processing in any cases without any questions. Moreover, in DEV system this problem does not happen.

Plese, help.

Regards

Tigr_Z

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

i have the same issue. Did you solved?

I have a custom ABAP process in a local chain that fails. We defined different sudsequents steps according to the status of ABAP program. If the ABAP process fails, the subsequent process are not automatically executed, but if i display the monitor of the chain in RSPC i obtain the Pop - Up you mentioned before. So if i select "yes" to the pop-up the process chain continues and executes the subsequent steps properly.

Thanks,

Veronica

Former Member
0 Kudos

Hi Veroinica,

I am having the same problem. Did you find any solution to it ?

Would be great if you can help.

Regards,

Nikhil

0 Kudos

Hi,

This topic helped me to solve the problem. It shows how to create WORKING custom  process type that returns green or red status and proced respectively.

http://scn.sap.com/people/juergen.noe/blog/2007/12/21/create-your-own-process-type-for-abap-for-use-...

Regards Zhumabek.

Former Member
0 Kudos

Hi Guys,

yes exactly using the procedure written in the link above I solved the problem.

Regards,

Veronica

former_member188080
Active Contributor
0 Kudos

Hi,

Its pretty strange how it is moving forward in Dev. You can do it through program by showing that as successful event although in error . Else you have to set option as always only.

Thanks and regards

Former Member
0 Kudos

Hi,

You need to link all your processes as "Always" if you want to keep continuing the process chain even if any error occurs in the previous step. However the better way would be to use the table RSPCPROCESSLOG and RSPC_PROCESS_FINISH to end any process which has failed and then repeat the process chain from that particular step. You will require the Variant name and Instance name of teh process which has failed.

Navesh

Former Member
0 Kudos

Hi,

Link your two processes with process type as "ALWAYS" so that you will not get any warning or question.

Regards,

Durgesh.

former_member182470
Active Contributor
0 Kudos

Hi,

If you want your Chain to be continued irrespective of the preceding step, then you have to define your Process Chain links in such a way that continues anyways. You will be having three options Always, Error and Successful radio buttons while establishing links between process types.

Regards,

Suman

0 Kudos

I cannot link processes by 'Always', becouse there are two ways to continue (not one!) : one if the process ends sucsesfully and another if it ends with error. Processes is linked as "Sucses" and "Error" respectively. In development system it works, and in productiv does not. Whats wrong?

Thanks

Tigr_Z