cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Repeat a process step in a process chain automatically after error?

Former Member
0 Likes
2,801

Hi Folks,

I got a process chain with selective deletion. From time to time the selective deletion "fails" as another load is running and a lock cannot be set.

In this situation I would like to re-try 5 min later. How do I set this up? Do I need another ABAP prg. process variant (as I can't insert the same again) and connect this with the "unsuccesful" link + debug loop 350 sec?

Or is there any other / better way to accomplish this?

Thanks and best regards,

Axel

View Entire Topic
Former Member
0 Likes

Hi Axel,

As you already know that it will be work if repeated after X seconds, You need not go with "unsuccesful" link + debug loop 350 sec , just go with successful link + Debug loop for the selective deletion step.

Hope this helps.

Regards,

Sai

Former Member
0 Likes

Hi Folks,

I set up the "error path" with a repeat step. However, the error path is not executed.

The system always notifies a Termination but the process step (ABAP) in the process chain did not get this status...

The analysis of chain ZXY showed that

process Z_ABAP SEL_DEL1 was cancelled.

However, the process has a metachain or successors that

should be executed when there are errors. Run

4ND9Q5ZEDUMN61SPC043FDBTN did not finish due to termination.

If a metachain exists, it was not informed about the error.

Should run of chain ZDEL and possible

metachain be continued

Is this a system setting? Or what is going on? The chain where the error path is setup is called by another chain.

Thanks and best regards,

Axel

Former Member

What a pain ...

It seems that you need to add the process chain where ABAP sends status to transaction RSPCM and then schedule a monitor batch run to have the process chain process further if an error occurs.

Moreover the process chain gets status red even if at the "error path" all steps process succesfull. I am pretty sure our external scheduling tool won't like it.

So overall I really appreciate if SAP could have on a process an simply auto repeat in 5 min when failing, stop after 3 re-tries feature ....

Best regards,

Axel