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....

Similar Messages

  • Meta Chain Issue

    Hi All,
    I have some meta chains in the process chain and all of the meta chains are triggered using-
    "Start using Meta Chain or API"
    Its evident that, once we triggerr the start varinat in the main chain the rest of meta chains get triggered. In our case one particular meta chain is not getting triggered at all. But the rest have gone fine. In the process chain Log view, its staying in yellow for a long time and in SM37, the job is getting cancelled.
    the message I got in Log view, at the time the meta chain gets triggered is, "Process chain variant is ZA******** is not scheduled waiting for event RSPROCESS 4A******"
    I have tried all the possibilities of "Repeat, Kill the process in SM51"
    Can you please advise, the solution for this.
    Thanks in advance,
    Cheers,

    hi,
    right click on that meta chain yu will reach the planning view there in change selcetion icon .. you set the setting to immediate and remove the tick for perodic and then schedule it ..
    hope this helps you ..
    regards,
    Shikha
    Edited by: Shikha Goel on Oct 21, 2008 8:20 AM

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

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

  • Process Meta Chain

    Hello Gurus,
    Could you kindly give me the difference between 'Direct' started process chains and API started meta chains?
    Under what circumstances are they used?
    I have created a chain using direct method.
    There are jobs created for BI Process but they are all waiting for an event. I triggered the event but the batch job runtime error 'cancelled'. Seems like it is waiting for a predecessor event which I am not sure what it means since the predecessor is the start process.
    Any advice would be appreciated.
    Thanks.
    sincerely,
    Adette Rosenthal

    Hi Adette,
    If you want the chain to run immediately, click ‘change selections’ button that is next to the Direct schedule radio button. In the dialog box that appears click the ‘Immediate’ button.save it.
    Again click save button in the ‘Maintain start Process’ window. Go back and save you process chain and activate it.
    Now your Process chain will start immediately wnen you execute it.
    Direct scheduling is the option to execute your process chain individually without waiting for any other chains.
    Start using Meta chain is the start of your process chain is fixed to another Process chain.
    Refer this link Administration Workbench->Administration->Process control->start process
    http://help.sap.com/saphelp_bw320/helpdata/en/ad/6b023b6069d22ee10000000a11402f/frameset.htm
    Regards,
    Prema

  • Meta Chain in a meta chain

    Hi Folks,
    I have one meta chain which has master data loads local chains and then has an atrib change run and then a Transaction data meta chain in it.
    The transaction data meta chain has many local chains. After the first two local chains, theres an AND condition and then the next set of local chains are scheduled.
    Problem is that after the AND, the next set of local chains are not triggered. I have included preceeding event based triggers as scheduling paramters.
    Why does the next set of local chains stop? Is it normal to have meta chains inside meta chains?? And have u come across a unknown job that gets created named BI_PROCESS_TRIGGER in case of event based triggering??
    Thanks in advance
    Regards
    Prakash

    Hi Prakash,
    Meta chain in a Meta chain will work most of the times. Very rarely does it give problems. When ever we have a similar problem as you have described. We go into each meta chain and trigger them manually for that day. Once the chains are all run. We Deschedule the Entire Main chain, check if there are any released jobs for each Meta Chain/process steps, delete these released jobs. Then we activate and schedule the Main chain, this resolves our problem and the chains runs without issues the following days.
    Regards,
    Praveen.

  • 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

  • How can I find corresponding meta chain in RSPC

    Hello Gurus,
               I have a local process chain, how can I find corresponding meta chain in RSPC? and also I have already created a process chain, How can I changed the name of this process chain?
    Many thanks,

    Hi,
    Basically all chains are same, but if you click on Start it will goto Start Process Screen there you can find Scheduling Options, in that Direct Scheduling is selected so it is Main Chain (Meta Chain), if it is Starting using Meta Chain API is selected then it is local chain in that meta chain.
    Note: Basicall all Chains are same based on above differnecce you can find it.
    By Looking at Chain we can decide it is it Meta chain or Norma Chain, if you open RSPC and then Open any Chain If it is having
    Start-->Local , then it is Meta Chain and Local is Norma Chain.
    Thanks
    Reddy

  • Query regarding meta chain in SAP BI

    Hi can any body solve the problem on this Meta chain in SAP BI..
    There is a meta chain which holds three process chains say N1,N2,N3. in a sequential order.
    Now here as soon as the meta chain is triggered the process chain N1 is executed properly and is is in green..but after this the next process chain N2 is not getting  triggered..can anybody tell me the reason for that??

    check the start parameter of 2nd chain
    it should be immediate

  • How can we use meta chain in process chains

    hi friends,
      anyone tell me about meta chain in process chains and give me one example.
    thanks,
    sree
    Please search the forum
    Edited by: Pravender on Jun 28, 2010 8:04 PM

    Dear Suman,
    To initiate the mails we first need to have SMTP connection. To check the same go to so00 and try sending mails to ur ID. If is successful it states that u have the SMTP access.
    To create mails to Process chains:
    Right Click on the Process varient select the Create Message in the context menu.
    Select the type of mail i.e for successful, Error, Anyways.
    Then follow the screens.
    Note: The recipient type should be Via Internet.
    Hope this helps u.
    Regards,
    Kishore.Pulla

  • Failed meta chain maintenance in Process chain in SAP BI

    Hi all,
    I have a Process chain having the meta chain of master data population.When successful , proceeds with the further steps in process chain. It has been scheduled in midnight.
    After monitoring the PC , found the error in the master meta chain , so i repeat the step.
    Here , after success of meta chain all steps gets running down the line till the end step in PC.
    I do not want to re-run the steps below meta chain after repeat step.
    Any Ideas to ignore the re-run ??

    Hi,
    If your Process is still running(Yellow color status) then right click it and go to Schduled Jobs. On this you will go to Job Overview there you can press STOP.
    Else go to the SM37, there you can go and select your process using your process ID and STOP it.
    And if you want to kill the complete process chain then go for Remove from Schedule.
    Different Ways to stop process chain
    1)SM37 -->Kill Job
    2)SM50/sm66- ->Kill process
    3)RSPC>Job Log>Make the process RED forecefully.
    4)RSPC>Process chain> main Menu"Remove from Scheduling" OR
    5)se37-->RSPC_API_CHAIN_INTERRUPT
    give RFC BW system name(technical) and process chain name(technical)
    Steps 1 -3 stops the chain running in process
    Steps 4-5 stops the chain AFTER the current job which is running is completed as sucessful or Failure by nature.
    Hope this helps you.

  • How to identify the meta chain in which the Process Chain is used

    Hi,
       I had a Process Chain which is designed to Load Transaction Data.
       This process chain is scheduled to start as a part of Meta Chain...
       How can i locate that META chain in which this Process Chain is used
    Thanks

    Hi
    There is no where used list for Process chain, but you can check it in table RSPCCHAIN.
    Give details as below:
    Version is 'A'.
    Process Type is 'CHAIN'.
    Process Variants = 'enter technical name of the local chain'.
    now hit execute button.
    You can see the list of process chains under Chain  ID column.
    Ravi

  • How to create process chains, infopackage groups & Meta chains

    Hi,
    can anyone explain me about process chains,infopackage groups & Meta chains.
    if possible give me examples for each.
    Thanks & Regards,
    cheta

    <b>Metachain</b>
    Steps for Metachain :
    1. Start ( In this variant set ur schedule times for this metachain )
    2.Local Process Chain 1 ( Say its a master data process chain - Get into the start variant of this chain ( Sub chain - like any other chain ) and check the second radio button " Start using metachain or API " )
    3.Local Process Chain 2 ( Say its a transaction data process chain do the same as in step 2 )
    Steps for <b>Process Chains</b> in BI 7.0 for a Cube.
    1. Start
    2. Execute Infopackage
    3. Delete Indexes for Cube
    4.Execute DTP
    5. Create Indexes for Cube
    For DSO
    1. Start
    2. Execute Infopackage
    3. Execute DTP
    5. Activate DSO
    For an IO
    1. Start
    2.Execute infopackage
    3.Execute DTP
    4.Attribute Change Run
    Data to Cube thru a DSO
    1. Start
    2. Execute Infopackage ( loads till psa )
    3.Execute DTP ( to load DSO frm PSA )
    4.Activate DSO
    5.Further Processing
    6.Delete Indexes for Cube
    7.Execute DTP ( to load Cube frm DSO )
    8.Create Indexes for Cube
    3.X
    Master loading ( Attr, Text, Hierarchies )
    Steps :
    1.Start
    2. Execute Infopackage ( say if you are loading 2 IO's just have them all parallel )
    3.You might want to load in seq - Attributes - Texts - Hierarchies
    4.And ( Connecting all Infopackages )
    5.Attribute Change Run ( add all relevant IO's ).
    Start
    Infopackge1A(Attr)|Infopackge2A(Attr)
    Infopackge1B(Txts)|Infopackge2B(Txts)
    /_____________________|
    Infopackge1C(Txts)______|
    \_____________________|
    \___________________|
    __\___________________|
    ___\__________________|
    ______ And Processer_ ( Connect Infopackge1C & Infopackge2B )
    __________|__________
    Attribute Change Run ( Add Infobject 1 & Infoobject 2 to this variant )
    1. Start
    2. Delete Indexes for Cube
    3. Execute Infopackage
    4.Create Indexes for Cube
    For DSO
    1. Start
    2. Execute Infopackage
    3. Activate DSO
    For an IO
    1.Start
    2.Execute infopackage
    3.Attribute Change Run
    Data to Cube thru a DSO
    1. Start
    2. Execute Infopackage
    3.Activate DSO
    5.Further Processing
    6.Delete Indexes for Cube
    7.Execute Infopackage
    8.Create Indexes for Cube

  • Local chain, Meta chain, and Remote chain

    Hi,
    Can any one explain me what exactly is the difference among the process chains?
    Meta chain is a process chain that calls the other process chain
    Local chain is the PC included in any other Process types?
    Cannot differentiate Local and meta chaisn now !
    same is the case with remote process chains
    Raj

    Hi,
    Metachain is a process chain, for which you determine this start condition, that is fixed to another process chain. The process chain is started directly by this metachain.If you start the start process using a metachain, it is not scheduled after you have activated the related process chain. The process chain is only started when the metachain, to which it is linked, is running. rocess chains can be scheduled as processes in additional process chains, which are known as meta chains. If the process chain you want to execute is in another system, use the process type Process Chain Remote, called remote process chain in the following. A remote process chain is a local process in the calling system that calls a process chain in this system, using a destination in another system, that is to be executed there. The remote process chain communicates with the other system and synchronously starts the executed process chain. After terminating the process chain in another system, this is reported back to the meta chain in the calling system. sing a remote process chain as the process of a metachain, you can schedule a process chain from another system in a process chain of the calling system.
    Using a remote process chain as the process of a metachain, you can schedule a process chain from another system in a process chain of the calling system.  In  addition to remote process chains, you can also schedule local process chains as processes in a metachain. A local process chain consists of processes that are scheduled in the same system as the metachain. You schedule it as a process in the same system as the metachain.

  • How to Develop Meta Chain (Process Chains)

    Hi Experts
      How can i create a META CHAIN (Meta Process Chain)
      How can i insert a different process chain to into meta chain.
    In the process types i can't find any type with process chain
    Thanks

    Hi
    Thanks for the update.
    I can't able to find Process Type Local Process Chain
    Please update me in detail
    Thanks

Maybe you are looking for

  • Failing to upgrading from os 10.6.8 to mavericks

    i have Mac OS X 10.6.8 and trying to upgrade to Mavericks. When I click upgrade, getting the message failed to open page.

  • Oracle 9i and Tomcat JSP

    hi all, i just installed oracle 9i and i'm having some issues with running my existing JSP on tomcat. basically tomcat won't start!! the exception on starting tomcat that i get is "Address in use: JVM_Bind" obviously 9i has played with my java vm som

  • New Business Process

    Hi SAP gurus !! I need  Help/inputs on the following business Process: We are into manufacturing & selling of Diesel Locomotive Engines. These Engines & its subcomponents first we assemble at a remote place far from main Plant. once the Engine is rea

  • Tag without endtag in XSL

    Hi, If I write for exemple <BR></BR> or in my XSL template. The XSL Parser transforms it in <BR> (without the trailing slash). I don't want <BR> but or <BR></BR> as output tag. Any suggestion Thanks Johannes Borch null

  • Process order cancellation or reversal after sales order delivery has b

    hi, here we got one issue as user made mistake in assigning profit center in the material master of a material. when the process order execution is over, delivery has been done for a sales order. then user came to know that documents generated in the