Event Triggered process chain

Hi Experts,
We have a meta chain which contains two local chain in sequance and consuming 10 hours to complete
Process Chain 1
Process Chain 2
We have used the events to trigger process chain 2 only when it meet certain condition and modified the meta chain as
Process Chain 1
Abap Prg to trigger Process chain 2
But now the meta chain just consume 4 hours to complete even though process chain 2 is on progres.
This is giving wrong update to the users as the load is completed.
Is it possible to retain the status of the meta chain as in progress untill the process chain 2 triggered by event gets complets.
Regards
Suresh Kumar

Hi Suresh,
when you are using event as a process in the metachain, it checks if the event ran succesfullly or not.
once the event is succesfull(event -  triggering of the process chain but not completion), the step turns green.
so follow below procedure.
1)in the abap program, instead of triggering the process chain,write a program which raises an exceptio if the condition you required is satisfied so that the step becomes red.
use the proicess chain as next step in the process chain and conect this program to processchain step with th condition failure.
Hope this helps,
Srinath.

Similar Messages

  • Data Change event triggering Process hangs in Process chain

    HI Folks,
    In a daily running Process chain we have a Data Change event triggering Process , to trigger broadcasting  settings
    This process is running for a long time , with no progress
    in SM50 , there are 2 process
    Process 1 : RSRD_BROADCAST_STARTER  Status : OnHold Reason : SLEEP
    Process 2 : SAPLRSRD_X_RUNTIME  Status : OnHold  Reason : RFC
    I tried to change the Parallel Processing setting as Number of Processes = 1
    But still the process is hanging.
    Any inputs will be a great help.
    Thanks
    Sonal......
    P.S : SAP_BW     700     0022     SAPKW70022     SAP NetWeaver BI 7.0 and EP 6.0
    Edited by: Sonal Patel on Feb 2, 2010 1:47 PM

    Hi sonal,
    I would suggest you to uninstall all the components and start all new again, n please make sure you have the following order :-
    1) install GUI 710 along with BEx 7.0 and 3.x complete.
    2) install BW AddOn (bw350gui710_8-10004473.exe latest one from Service market Place).
    3) Install BI AddOn (bi710sp11_1100-10004472.exe latest one from Service market Place).
    4) Install SAP precalc server (xPreCalServer10_1-10004472.exe, latest one from Service market Place).
    In service market place you can get the components from Downloads ->Support Packages and Patches -> Entry by Application Group -> "SAP Frontend Components"
    Also, plz make sure that you restart your Server OS after each and every installation.
    This would solve your problem.
    Rgds,
    Sreekul Nair

  • How to create event based process chains

    Hi All,
    I would like to know about event based process chains. In connection to this, could you please answer the following queries,
    1. How to create events
    2. How to link created event to the process chain in the same BI or BW system and as well as from  
        externel BI system.
    3. How link one process chain with other process chain (i.e, After completion of one process chain, it
        should trigger other dependent process chain)
    Thanks and Regards,
    Kotesh.

    1). Doubt regarding first question.
    For example, i would like to create time based event (it should be trigger daily at specified time),
    where we have to maintain scheduling options while creating event.
    When i checked SM62 there i found only two options a). Event name and b). Description.
    Could please send any doucument link if you have.
    Ans : You can use function modules like "BP_EVENT_RAISE" in a program and schedule the program to trigger.
    2). For externel BIW system also same procedure we need to follow or any difference.
    Ans : Externally you need to trigger the same event.
    3). i found dependent process chain also had scheduling options as direct scheduling insted of start using meta chain or API. As you said dependent process chain should be mata chain. it seems dependent process chain may be Meta chain or Direct scheduilg.
    Ans : Its your choice how you want to schedule it.You can either make that dependent chain a metachain or schedule it separately.
    I found at the end of first process chain they kept one process like Raise event and second process chain connected with the help of raise event process event name. If you have any idea about this process could explain a bit more.
    Ans : May be they are raising the event in the main chain and triggering the dependent chain using this event.
    But Metachain is preferred for such thing.Though it does similar thing.
    Hope this helps.

  • Use of events in process chains

    Hi All,
    Could some one help me in givving me detailed information about the use of events in process chains with some examples .How are they used and what are they performed in background .I am going to start,creating process chains according to the requirements which are based on event scheduling before ..
    Your detailed information is really appreciated..
    Thanks & Regards

    Hi,
    Suppose your process chain needs to be started after certain activity is finished, then you can create an event to be triggered when that activity is done. The process chain will start once it gets that triggered event.
    This is one use in using events in Process Chains.
    Thanks,
    Raj

  • Trigger Event in Process Chain

    Hi ppl,
    i want to push the data into ODS and intocubes whenever the data has been placed in the Delta Queue. how can i do that? i heard that i need a abap program to trigger the event in process chain, is anyone here can help me with the abap program? thanks...

    Hi,
    see OSS Note 135637
    Triggering a Process Chain From R/3 pgm
    Hope this helps.
    GTR

  • HELP Event-driven Process Chain

    HelloCommunity,
    I aim to develop a tool for modelling Business process using EPC (Event-driven Process Chain)
    I have just discovered Sirius, followed some tuturial....But when I started to
    design my own project I got stuck.. My metamodel still complicated and I couldn't deal with some cases and some specific relationship.
    Could you please share with me some links or ressources for project similar to mine?
    Thank you in advance
    Regards,

    Hi Han, Le 28/07/2015 15:56, han sirius a écrit :
    > HelloCommunity,
    >
    > I aim to develop a tool for modelling Business process using EPC
    > (Event-driven Process Chain)
    >
    > I have just discovered Sirius, followed some tuturial....But when I
    > started to
    > design my own project I got stuck.. My metamodel still complicated and I
    > couldn't deal with some cases and some specific relationship.
    >
    > Could you please share with me some links or ressources for project
    > similar to mine?
    Did you try the tutorial [1] ?
    You might discover concrete examples of modeling tools created with
    Sirius for various use-cases in the gallery [2] and lab [3].
    You will also find the documentation in [4].
    >
    > Thank you in advance
    >
    > Regards,
    >
    >
    Regards
    Maxime - Obeo
    Need professional services for Sirius?
    http://www.obeodesigner.com/sirius
    [1] https://www.eclipse.org/sirius/getstarted.html
    [2] https://www.eclipse.org/sirius/gallery.html
    [3] https://www.eclipse.org/sirius/lab.html
    [4] https://www.eclipse.org/sirius/doc/

  • Diff in triggering Process chain by FM & Events

    Hi Experts,
    I would like to understand the difference in
    1  Triggering the process chian by Functiton Module RSPC_CHAIN_START
    2. Triggering the process chain by raising the event RSSM_EVENT_RAISE.
    Regards
    Suresh Kumar

    Hi,
    The difference when using either to start a process chain by event is minimal. RSPC_CHAIN_START can be used to kick off any process chain (whether event driven or not) whereas RSSM_EVENT_RAISE is used to generate an event which can be used for more than just process chains (background jobs can also be launched using events for example). So they do overlap in functionality when it comes to launching event driven PCs but also have their own unique functionality as well.
    Hope this helps,
    Regards,
    Gareth

  • Query on using EVENTS in process chains.

    Hi,
    Process Chain A on completion posts a Trigger using FM - BP_EVENT_RAISE.
    Is there an ABAP program to check for the specific event completion from process chain A. Basically , we need an FM or program that reads the event status ( whether event raised or not ) and accordingly triggers another process chain.
    We need this fuctionality in process chain B coz we would be using an AND condition that checks for the event trigger from process chain A as well as Step 1 in chain B.
    Thanks,

    Welcome to forum.
    Hari,
    1) Let us say ,Process Chain A, will triggger an event EVENT_A for an example.
    instead of one evnt use 2 events, EVENT_A on success and EVENT_B on failure.
    2) Link Program A to EVENT_A and Program B o EVENT_B
    I hope it helps..
    Regards,
    Hari
    if this helps pls.. assign some points..

  • Using events in Process chain

    Hi All,
    I have below scenario:
    Now we are using event collecter and subsequent event in event collector .
    I am going to convert my loads into Process chain from Infopackage groups. My problem is I can use event1 directly in Start of process chain but how to trigger event2 using this chain. I need to trigger event2 once my PC is completed successfully. The even2 will trigger a background job to execute one ABAP program. This ABAP program triggers event1 again if it meets certain requirement.
    Hope you understood my problem.
    Thanks in advance
    Vani

    Hi,
    If I have understood properly,
    Event1(Start) --> Sequence of PC steps --> ABAP Program Process Type (To trigger Event2)  --> Event2 triggers again Event1( If meets requirement)
    What is your End of the Process Chain if it triggers again Event1?
    Why do you want to trigger events in a cyclic way?
    Regards,
    Suman

  • How to capture event in process chain....Please help...

    Hi All,
    Please tell me how can I capture any event triggred by ABAP program in process chain...The ABAP program is there in the process chain...ABAP prog is triggering one event based on some condition..Please tell me how can I capture that event in the process chain...
    Thanks in Advance...

    Also check this link...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=/help/sdn_nw04/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
    Hope this helps...
    Thanks,
    Raj

  • Problem with triggering process chain

    Hi
    We have a remote process chain that calls a process chain in another system.The process chain in the other system is not getting triggered with the remote chain.
    We have 3 such remote chains and we are facing such a problem with only one of them.
    The process chain in the other system has a start variant which gets triggered( i suppose) and gives an instance id...the next step in the process chain is to load data into a ODS.Now this step remains yellow forever.When i manually try to schedule this step it gives me records and the request in the monitor screen turns green.But the process chain step continues to remain yellow.
    What can be a way out for triggering the process chain or where could the problem be?
    Please help
    Thanks,
    Suchi

    Hi Suchitra,
    Even though ur process seems to be in yellow your data loading may be completed and the  reason for it may be the delay in activation of ODs by ur PC.
    For your information please go through the below infm provided in SAp Library
    Note when loading into an ODS object and for the subsequent, event-controlled update:
    If you switched on the automatic activation in the ODS maintenance or administration, the monitor status for the request remains yellow after the load was successfully completed. Nevertheless, the subsequent processing for the InfoPackage is started, because the loading process is successfully completed.
    [http://help.sap.com/saphelp_nw04/helpdata/en/65/163d3873130057e10000009b38f842/content.htm]
    I hope ur doubt is clear.
    Regards,
    Rajkandula

  • Event based Process chain issue

    Hi,
    I have a PC which is event triggered through a program. when i'm trying to run it i'm getting following msg
    "Process chain is not responding to the event trigger."
    Can someone help me in fixing it and triggering thr PC ?

    Hi,
    Refer the nice article from SDN and verify if you have followed the process to write the event based PC.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0a41bc6-a7f6-2b10-b3bf-804e1c45ae6c
    Regards
    Dinesh
    Edited by: Jason Lax on May 16, 2011 8:27 PM - Added preferred URL

  • Use event trigger process chain

    Hi friends,
    I am working on a process chain tuning task.
    One request is to change a schedule method  of an interrupt from date/time to event.
    I know how to generate and utilize event.
    My worrying is:
    Is an event has duration?
    E.g Today's process chain scheduled at 01am,,processing, the interrupt was triggered  by event at 04am, but at 10am, the event was trigger again for some unknown reason.
    Then,the process chain with the interrupt will be scheduled  at 04am tomorrow, but actually, there may be no event for tomorrow as requirement(due to some reasons,we do not like PC run everyday).
    Anyone know how to solve this problem?

    Martin
    You partially answered my questions.
    My chain contains both date/time schedule and event trigger.
    As is:
    Start-date/time schedule daily at 1:00am
    step1,step2,,etc
    interrupt-now, it is date/time schedule,at 4:00am
    other steps.
    To be:
    Start-date/time schedule daily at 1:00am
    step1,step2,,etc
    interrupt-  event trigger schedule
    other steps.
    I know how to trigger event by ABAP program.
    My concern is:
    Today afternoon, someone run this ABAP 10 times to generate 10 events,what will happen tomorrow?
    Actually,according to business requirement,tomorrow's process chain(interrupt below part) shall not be ran.

  • Event in Process chain

    Hi All,
    I have a condition, where i need to create a process chain for data loading, and there i need to create an event which will parameterised in such a way that for all the infoproviders, i have to create single event and only parameter which will make my loading start will be parameter say P1,P2......n, where P1,P2 ..... are my process chain.
    Now, i have created an event, but i wnat to keep my program independent of hardcoding Process chain name.
    Please suggest me any generic menthod toresolve this.
    Thanks in advance!
    Neha..

    Hi George,
    These are Standard events SAP has provided like
    RSPROCESS : This is process chain management event..
    BI_PROCESS_LOADING : This is for loading of data..
    These will be automatically triggered by BW system,Depending upon the process type you are using...
    Don't gorget to assign points ,If it is usefull...

  • Triggering Process chain based on execution of R3 job and Process Chain

    Hi All,
    I need your help in arriving at a solution for a reqirement.
    Scenario is., I need to trigger a process chain B based on successful execution of Process chain A and an R3 job. If both conditions(Completion of R3 job and Process Chain A) are met then only it has to trigger process Chain B.
    I know that we can use events to trigger a process chain using R3 job.But my case is differenet I need to consider the success message from both process chain and R3 job.Is there any way to solve it ?
    Please provide me with your valuable inputs.
    Thanks,
    Bindu

    Hi Hima,
    You can use the  'AND' variant for both, If both are success then trigger the process chain.
    Regards,
    Ravi Kanth
    Edited by: Ravi kanth on Apr 30, 2009 3:36 PM

Maybe you are looking for