cancel
Showing results for 
Search instead for 
Did you mean: 

"Safety start" in process chain

Former Member
0 Kudos

Hello,

I want to implement the following :

I've got two chains

The second one should start

- either at the end of the first chain

- either at a defined time (as a security start if the first one take too much time or dump)

I can have only one start process in a chain.

Does anybody has a workaround ?

Thank for your help.

Best regards

Stephane

Accepted Solutions (1)

Accepted Solutions (1)

chemicala_srimallikarjuna
Active Contributor
0 Kudos

Hi,

1)Put an OR after the first PC's

2)Connect the or to ABAP program which raises an event

3)Use this event in the START of the second PC.

After your process chains are complete, kick off an event using ABAP process type. You could create this simple program & use it in the ABAP process type:

REPORT ZBW_RAISE_EVENT.

*************************************************************

Selection screen. **

*************************************************************

selection-screen skip 1.

selection-screen begin of block b1 with frame.

selection-screen skip.

parameters : p_event like btcuev-EVENTID obligatory.

selection-screen skip.

selection-screen end of block b1.

************************************************

Start-of-selection. **

************************************************

start-of-selection.

perform raise_event.

&----


*& Form raise_event

&----


text

-


--> p1 text

<-- p2 text

-


form raise_event.

CALL FUNCTION 'BP_EVENT_RAISE'

EXPORTING

eventid = p_event.

endform. " raise_event

AND use this event in START process of all subsequent process chains.

*This should work for you, try it.Hope it helps***

Regards

CSM Reddy

Answers (0)