cancel
Showing results for 
Search instead for 
Did you mean: 

Process chain dependant of two factors

Former Member
0 Kudos

Hey BW'rs,

I've got the following problem: I have a process chain that should run when a previous process block has finished <b>AND</b> when an event (triggered from our R3 system) is raised.

Now the problem is that multiple start blocks aren't possible.

I already tried calling a 'dummy' process chain where the start block is triggered by an event, but this doesn't work.

Any ideas? Someone solved a comparable situation recently?

Thanks!

Greetings,

Bram

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Bram and welcome on board !

You can manage this situation in different ways...

Try to add to the end of previous process chain (PC1) some ABAP pgm with a few lines in which you update a custom table with a flag when the process ends (successful?)...then create your process chain and start it when the event from R/3 is raised...as first step, create a little ABAP pgm in which you check (every minute, hour...as you prefer! use the command "wait up to") if the table contains the flag...if yes, continue with the PC, otherwise (after 12 hours, one day ?) you can force a failure and the PC will end !

Hope it helps!

Bye,

Roberto

...and please don't forget to reward the answers...it's THE way to say thanks here !