Event in Sub Chain

Hello,
i have a master process chain which contains several sub process chains.
The master process chain ist triggered from an event.
My question know is:
Is it possible to start a sub chain from another event?
Greetings
Oliver

Hi Oliver,
what do mean by an other event?
All chains are started via a start process. There you define when the chain is triggered. Sub chains are triggered by an event (successfull or not). You can find this event in the table RSPCCHAIN to your master chain.
If the process chain is exceuted a BI_PROCESS_TRIGGER job is scheduled and executed. Each step in the chain is a new job which will be scheduled and executed according to the entries in the RSPCCHAIN. So the steps wait for an event to be fired. You can start a subchain by ABAP via function module RSPC_API_CHAIN_START and schedule this ABAP.
Hope it helps.
Regards,
Jürgen

Similar Messages

  • Process Chain - triggering sub chains at set time interval

    Hi all,
    Scenario:
    I want to setup multiple process chains during the day (hourly intervals).  I would like to have a main chain which would then trigger subsequent chains.  the problem is that when i tried to setup the sub-chains to run at say, 10am. 11am etc, they don't fire off at those specified times (because they are part of the meta chain?).  I currently have the individual chains running independently (i.e. first chain at 10am, 2nd chain at 11am...) - but i need to be able to stop the 2nd chain from running if there is a problem on the 1st chain (which is why i want to run them as part of a Meta chain).
    Hope this makes sense - and any help/assistance is much appreciated!  Thanks
    M.

    Do you know how long 1st PC will run ? will it finish before 11 am ?
    If so,  try following proess
    Add Abap Program process(under General Services) to the end of the 1st PC  and use program BTC_EVENT_RAISE and Enter Program variant = event  and activate the PC
    Now go to 2nd PC and schedule at 11 am periodically
    Add another step Interrupt Process (u can find under General Services ) just after start process and enter event and schedule the pc
    When 1st Pc completes sucessfully it will activate the event to trigger 2nd PC , though the event is activated the 2nd pc will start at 11am
    Hope it's clear!

  • Need to skip the data load for one of the sub chain.

    Hi All,
    In our project, we have one meta chain and have many sub chains inside that. Today we don't want to run one of the sub chain. As we are in BW7.0, Skip options are not available. Can you please help how to stop the data load for the particular sub-chain.Please suggest.
    Thanks.

    Hi Jalina,
    If this is a frequent request then you can create a custom ABAP Program and then use the below simple logic to skip/run the meta chain, but you will also have to change the link between the sub chains as "Always" instead of "Successful" so that no matter if the dependent chain is successful OR not the nex chain will proceed. If you are comfortable with event then you can also use event to achieve this
    Program Logic- Create a new table where you maintain meaningful values (indicator/description) in it and the program should read the data from the table, Based on the values in the table the program will be successful/fail
    Thanks
    Abhishek Shanbhogue

  • 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/

  • 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 trigger Process event in Process Chain

    We have a Process chain in which the Event is seen in Yellow ,but it is finished. Down the below Event is not trigerring. How to do that. Please suggest.
    Thanks

    Hi Annapurna,
    Goto SE38 run the function module RSPC_PROCESS_FINISH by providing the entries in LOGID, TYPE, VARIENT, INSTANCE and STATE.
    These entries can be get in the table RSPCPROCESSLOG. To execute the table entries go to SE16 and give table name RSPCPROCESSLOG and press enter. Then in the processchain where the chain got stuck, double click on the varient and goto chain tab and you will get VARIENT and INSTANCE.
    Copy and paste these in the table RSPCPROCESSLOG selection screen and execute. Here you will get  LOGID, TYPE, VARIENT, INSTANCE.
    Enter all these field in function module RSPC_PROCESS_FINISH by providing the STATE as G and execute.
    Your stuck process chain will move further.
    Thanks and regards
    Koushik
    Steps same as described by AP.
    Hope it helps.
    Edited by: koushik gowda on Jul 16, 2009 11:40 AM

  • 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

  • Handling events in sub VIS

    I am trying to capture the events in a sub VI. But somehow the event is not being captured.
    Thanks in Advance
    LabVIEWan 
    Attachments:
    New Folder (2).zip ‏42 KB

    That is my puzzled look.
    Since we missed the mark and now you are off in a new direction... Could you please stop and describe what you are looking for so we don't waste your time?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • PBO Event at Sub screen as Selection-Screen

    Hello
    I would like to do the following: in a function group I have a main screen which includes a sub screen
    1300 as selection screen defined with the following command: 
    SELECTION-SCREEN BEGIN OF SCREEN 1300 AS SUBSCREEN.
    SELECTION-SCREEN END OF SCREEN 1300.
    Now, I would like to process within the PBO of this sub screen 1300 to manipulate some fields (such as deactivate or set a default value using
    LOOP AT SCREEN … ENDLOOP.). I need an event like INITIALIZATION in a report, but here I’m not in a report context. 
    Is it possible to take the PBO event to process the PBO by own functions?
    Thanks for your help.
    Best regards,
    Kurt.
    Message was edited by:
            Kurt Weiskopf

    Hello Sasi,
    Thanks for your information.
    On the selection screen some fields shall be displayed only if they are needed. These fields shall be deactivated using:
    Loop at screen.
      case XXX.
          when ‘T1’.
                   screen-invisible = 1.
                   screen-active    = 0.
      endcase.
      modify screen.
    endloop.
    I need the PBO event. Where can I set this code?
    Thanks & Regards,
    Kurt.

  • Handling User Events in sub panel vis and main vis with same Event reference Number.

    Hi All, Iam trying to work to handle events in both subpanel vi and main vi.
    I have a main program, and 2 sub vi. I will load the sub VI in 2 sub panels in main vi. Each sub pael vi has controls on it.
    I have created 2 User events for 2 sub panels vi. One user event consits of a Cluster with 2 Booleans (x & Y) and Other User Event consists of cluster of 2 unsigned 8 Numbers (a & b). These are created and registered in the main Vi and event register refnum is passed to the subpanel vi from the main panel vi.
    I have Event structure in main panel and sub panel vis.
    In one sub panel vi, When the value of one boolean(i.e. X) in the clusters changes, the Events structure in sub panel vi should perform some operation in sub panel vi only. When the value of other boolean (i.e. Y) changes it should perform some operation in main vi. I will try to Generate user event with the x value and Y value changed based on the control clicks in the sub panel vi.
    The OTher panel vi should behave in the smae way when the a & b value changes.
    The "Generate User Event" is working fine some times and sometimes there in no event triggered in the sub panel vi or main vi.
    Please let me know what is the problem Ramesh.

    There is a lot of talking, but not much understanding.  It'd be better if you posted some example VI's of what you are trying to do so that the words will make sense.
    One thing I can tell you is that you don't want to have two event structures handle the same event reference number.  You want to have two event registrations with each one going to its own event structure.

  • Event in meta chain

    Hi All,
    I have a requirement like ,the last local process chain(L) in the metachain should trigger only after the completion of all local chains above it and the other process chain(A) which is not included in this meta chain.For this I have created a metachain like ,
    1.it has 4 local chains in it
    2.AND process type
    3.Last local chain(L)
    In this last local chain(L) ,I have included event(this event is included at the end of the other process chain(A) which is not in this meta chain) in its direct scheduling.
    When I tested this process chain,in a way that, first I scheduled the other process chain(A), and the metachain.so the last loacal chain(L) waited for all its above local chains to complete even though the other process chain(A) which has event programme completed first.
    But when I tested vice versa, that is,first I scheduled the metachain,then this last loacal chain(L)  didn't wait for that the other process chain(A) to complete.
    Can you please let me know how to meet this condition using event.
    Thanks All

    Hi,
    As mentioned above, an event is used to trigger the process chain.
    Just to give you an example,
    Suppose that you dont want your daily process chain to get triggered on saturday.
    In that case, you can write a program to check which day of the week it is, and return an event id through the program.
    This program can be used in a new process chain, which will execute everyday.
    This event id can then be used in the start variant of your process chain, using the option After Event.
    Hence, your daily process chain will get triggered only if the Event id returns the day as Sunday to Friday.
    It will not get triggered on Saturdays.
    Hope this helps....

Maybe you are looking for

  • Could permissions cause startup problems?

    Based on some strings I found about problems with permissions that some have had when upgrading to leopard, I'm suspecting permissions are the cause of my computer's not recongnizing my primary drive on startup. I had been fiddling with permissions o

  • RMBP CUDA Playback Serious Issues/Glitches

    Just purchased a new rMBP and am running Premiere 6.0.2 and with CUDA 5.0.45 installed.  Here are the system specs: - 756gb SSD - 2.7 GHz Intel Core i7 - 16 GB Ram - NVIDIA GeForce GT 650M 1024 MB - OS X 10.8.3 I'm experiencing serious playback issue

  • How to transport a Screen variant from one system to other

    Hi All, I created a screen variant in Dev. It was included in a transport request. But when I transported the request to Quality, The transaction is not behaving according to the screen variant. i.e. Screen variant has not got transported there. Plea

  • Conexant audio message service terminating on Windows 8.1 x64

    Hi, I have an issue with the Conexant Smart Audio HD software. The audio message service terminates with the following exception below. The version of the Conexant drivers installed is 8.32.44 which seems to be the latest version of the drivers for t

  • Nls_language Please Help

    how do i set nls_language to utf8 so it would be initialized when db is started? when i try putting it into init<SID?>.ora i get an error that says: ORA-12700: invalid NLS parameter value (nls_language) i try doing this init.ora file: nls_language =