Skip to Content
author's profile photo Former Member
Former Member

"Safety start" in process chain

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jan 31, 2008 at 02:04 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.