Reg starting local chains

Hi,
What is the difference technically , in choosing " Direct scheduling " and
" start using metachain or API " in the start process of Local Chains. I know both
of them start the concerned local chains but I need the scenario for their use.
Thanks

Hi PVC,
Using Metachain:
If you give  start condition as Metachain then that chain will act as the  child chain ie., it would be inside a parent chain and would act as a process type. The metachain gets executed when the predecessor process is completed.
Direct Scheduling:
You can start the start process immediately , that is when activating the process chain, for a specified time, or after a particular event. When you activate the process chain, the start process is scheduled in the background as defined in your selections.
for more check this link,
http://help.sap.com/saphelp_nw04/helpdata/en/01/15843b74f7be0fe10000000a114084/frameset.htm
Hope this clears you...

Similar Messages

  • Start Local chain based on two conditions

    Hello,
    I want to trigger a local chain in a metachain based on success of two conditions.
    1) at a stipulated time.
    2) and on the completion of above process.
    Also is there a function module by which i can get the variant name of a process.

    how can this be achieved.
    Thanks
    Dutta

  • Regarding Meta chain and local chain

    Hello Gurus,
    I want to trigger the meta chain process. Please find metachain process:
    Metachain:---
    Start
    Local chain 1
    Local chain 2
    Program1
    Program2
    Program3
    Now error occured in Local chain 2 (last process is Create index which failed)
    I created the index manually and manually killed the job.
    Now I want to trigger the next process after the local chain 2 which is Program1. I tried using RSPC_PROCESS_FINISH
    but not of use as its applicable to the next process trigger and not the process after local chain
    Kindly let me know.
    Regards,
    Sonu

    In SE38: RSPC_PROCESS_FINISH
    Provide the following details:
    Logid:---
    Chain:----
    Type:---
    Varaint:---
    instance:---
    State:---
    LOGID: Get this from
    RSPC->Open the process chain->we see Log ID in left pane 
    CHAIN: Specify your chain name
    TYPE: we can get type details in RSPCPRROCESSLOG table from SE11
    For eg:          Info package use: Loading
              For DTP: DTP_LOAD
    VARIANT: Get these details from Right Click on variant-> Display Messages->Chain (tab)
    INSTANCE: Get these details from Right Click on variant-> Display Messages->Chain (tab)
    STATE: Select the required action to be done , for your case its green:
    Execute the process (F8). And refresh the Process chain now we can able to see the variant skips and move to next instance.
    -Ashwin
    Edited by: ashwin kumar on May 11, 2010 2:19 PM

  • How to find out which meta process chain a local chain is involved in

    Hello experts,
    i would like to know how a local process chain is started by a meta chain. I have a local chain running every day. It is involved in a meta chain. How can i find out the meta chain in which the local chain is involved.
    I appreciate every help i get.
    Thank you all in advance.
    Kind regards,
    Ali

    Hi everybody,
    the question is answered.
    Thanks and regards.
    Ali

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

  • I have one meta chain.that meta chain have 5 local chains 2 local is failed

    Dear All,
              i have one meta chain.that meta chain have 5 local chains 2 local is failed in the mddle. 3,4,5 chains were went successful.i knoe the solution hoe to correct. i want to execute rest of process of the second chain only. i dont want to 3rd , 4th and Fifth. i can not do Manully for evry process chain in the second  chain because second local chain is very big chain. i can not do repeat also .suppose if i go for repeat again 3rd , 4th ,5 thsteps will be execut.
    hoe can i solve this issue.please guide me.

    Hi
    Right click on the green block, from where the next block is not triggering. Take the variant and instance value.
    Goto table RSPCPROCESSLOG and give the variant and instance value as input. Check the state field value. It should be G (i.e. successfully completed) then only next block will be triggered.
    If you want to start next block manually, goto function module RSPC_PROCESS_FINISH, give i_logid, i_type, i_variant and i_instance values from RSPCPROCESSLOG table and enter i_state value as G.
    After executing the function module, next block of the process chain will automatically start.
    For More information:
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    Pravender

  • Local chain doesn't triggers. Have any one came across this problem?

    Hi Experts,
    We face this problem frequently in Process chains. The Local Chain Doesn't gets triggered.
    Checked the start variant. Things are fine.( Marked has 'Meta chain' or 'direct scheduling')
    The error Message got from the 'Display message' option follows:
    <i>Job started
    Step 001 started (program RSPROCESS, variant &0000000730265, user ID ALEREMOTE)
    Communication buffer deleted from previous run 44LFCE86BFU65ESQ5PR2N4MV8 (status G)
    Version 'M' of chain Zchain_name was saved without checking
    Version 'A' of chain Zchain_name was saved without checking
    The Chain Was Removed From Scheduling
    Program RSPROCESS successfully scheduled as job BI_PROCESS_COMPRESS with ID 08463401
    Program RSPROCESS successfully scheduled as job BI_PROCESS_DBSTAT with ID 08463503
    Job BI_PROCESS_DROPINDEX could not be scheduled. Termination with returncode 8
    Job BI_PROCESS_DROPINDEX could not be scheduled. Termination with returncode 8
    Job finished</i>
    The Local chain has the following steps:
    1.start
    2. delete index
    3.load step
    4. creat index
    5. activate ODS
    6. DB statistics
    7. compression.
    Let me know if needed more information.
    Thanks and regards,
    Kannan N

    the start variant for the local chain..should use the setting..'start using meta-chain or API'..and not 'direct scheduling'..
    error messages suggest that there is issue with dropindex job..
    the steps suggest that u r loading data into an ODS..so u dont need the steps for delete index,create index,db stats and compression(these steps are used only for loads to infocubes)
    so chain should be like this..
    1.start
    2.load step(to ODS)
    3. activate ODS
    4.further update from ODS to targets(if ODS loads to further data targets)
    u can also refer this weblog..
    /people/vishvesh.bahirat/blog/2006/11/29/bw-process-chain-design
    cheers,
    Vishvesh
    Message was edited by:
            Vishvesh

  • Local chain failure

    Hi Experts ,
            My process chain flow like
    Metachain -
    >Local chain1-->Local chain 2-->local chain 3
    in this local chain 2 failed at delete index step so i repeated at that step and that local chain completed successfully , so here my question is how the process chain 3 will start for that wt i have to do . here local chain status still showing red but inside that local chain all the processes completed successfully .
    Please suggest me how to complete the meta chain successfully .
    Advanced thanks.
    Regards
    guttireddy

    Hi
    Let me explain with an example
    MC
    |
    |
    |
    LPC1(FAILED)
    1
    1
    LPC2
    1
    1
    1
    LPC3
    so the above is the PC flow diagram , in the scenario the first local process chain is failed so u just performed the REPEAT step
    MC
    |
    |
    |
    LPC1(FAILED)(REPEAT)
    1
    1
    LPC2
    1
    1
    1
    LPC3
    Now after performing the above step , Now the Process chain will execute from that process type onwards so here the flow starts from LP1,LP2,LP3  k . That is what the The REPEAT process type does.
    Here no need to perform repeat process type for each and every process type in above scenario it is LP2,LP3.
    Hope u got it,
    Thanx & Regards,
    RaviChandra

  • Local chain status

    Hi,
    I have an issue with process chain status.
    I created a global chain, with local chains.
    Some local chains ended successfully, and are green in the global chain log.
    Some others ended successfully, but are yellow in the global log.
    I checked in RSPCLOGCHAIN, one of the yellow chains has status "R", the other has status "G".
    WTF with those sub-chains ?
    Thanks in advance.
    Dieu

    Use program RSPC_PROCESS_FINISH to update status. Please see info below -
    If your process chain is stuck in yellow status and you are sure that process is actually completed, you can use program RSPC_PROCESS_FINISH to push process chain further. Please note that you can use this program only if processes turns red or gets yellow and you wish to continue chain further. So for eg, if you chain is stuck at step 4 and you want to continue step 5 onwards, do the following -
    Execute in SE38 -> RSPC_PROCESS_FINISH
    Fill the following parameters on screen and rest all can be left blank.
    1. LOGID - you will find this when you do monitor of your process chain. Every time you run process chain, unique LOGID is created.
    2. TYPE - If step 4 is ODS activation then TYPE wud be ODSACTIVAT and if it is infopak loading TYPE wud be LOADING and if it is DTP Load TYPE wud be LOAD.
    3. VARIANT - In the process chain monitor mode, right click on step 4 -> Display Messages. Go to chain tab and there you will find VARIANT
    4. INSTANCE - In the process chain monitor mode, right click on step 4 -> Display Messages. Go to chain tab and there you will find INSTANCE
    5. STATE - Value wud be G
    After entering above parameters, click execute. It will be done in fraction of second and wont give any popup. Now when you will check process chain monitor, you will see that step 4 is green and next step has started executing. Do this steps for all yellow processes.

  • Stopping local chain from the meta chain

    Hi ,
    Can any one let me know is there any option to stop a local chain from the meta chain....
    I have a meta chain in which 13 local chains are there.
    In those 13 chains i want to stop one particular chain ,but i dont want to delete that local chain from the meta chain.
    and below this local chain another dependent chain is also there.
    which will start execute after that chain(which i want to delete)irrespective of the status whether the above chain is pass or fail.
    can any one help me in this regards
    Thanks in advance.

    No, you cannot .  The best solution I have is to change the local chain to bypass all activity in the local chain.  This way the meta chain will run but nothing will happen within the local chain and the meta chain will continue to the next local chain.
    Hope this helps.
    PS-  Another idea, change the meta chain and replace the local chain with an ABAP program which will execute the local chain (use FM RSPC_CHAIN_START).  Then you can change the ABAP program to decide whether or not to execute the local chain.
    Edited by: Geo on Apr 2, 2009 10:11 AM
    Actually, you might be able to do something creative using "Decision Between Multiple Alternatives".
    Edited by: Geo on Apr 2, 2009 10:16 AM

  • How to include local chains into meta chain

    Hi Experts,
    Could any one pl help me how to include  3 local chains in to a meta chain.
    first i am creating local chains
    Thanks in Advance
    Nitya
    Please check the forum before posting
    Edited by: Vikram Srivastava on Sep 24, 2010 4:43 PM

    Hi Nitya
    Nothing much to explain about it but any ways
    First create separate chains for all 3 local chains and create a meta chain include all this 3 in that
    Meta Chain steps:
    If the chains are dependents on each other then create as below
    Start process -> local chain1>local chain2-->local chain3.
    If the chains are independent loads then
    Start process ---> local chain 1,2,3 place it in parllel.
    Precaution: ensure that you local chains start process should place the maintain process radio button set to "Start using meta chain or API".
    Please find the help link for the same : [Creating process chains and schedules|http://help.sap.com/saphelp_nw04s/helpdata/en/a4/1be541f321c717e10000000a155106/frameset.htm]
    Hope its clear a little..!
    Thanks
    K M R
    ***Even if you have nothing, you can get anything.
    But your attitude & approach should be positive..!****
    >
    H. Nitya wrote:
    > Hi Experts,
    >
    >
    > Could any one pl help me how to include  3 local chains in to a meta chain.
    > first i am creating local chains
    >
    >
    > Thanks in Advance
    >
    > Nitya

  • In a metachain local chain are not getting triggered

    Hi Experts,
    I  have a transaction metachain  which includes 12 local chains. My query is some of the local chains are not triggering. Can anybody please help me in resolving this issue. <<removed>>
    Regards
    Sampada
    Edited by: kishan P on Jan 10, 2012 5:10 PM

    Hi ,
    I dont see any reason why Process chain is not getting triggered . Just check the Metachain in change mode and activate it again .
    Also please check display variant in all of the Local Process chains .It should be using metachain .
    2. Can you please check the status of the Previous local Process chains and check the status of the same in tables RSPCPROCESSLOG , RSPCPROCESSCHAIN .The status should be successfully finished . 
    Hope it helps .
    Thanks
    Kamal

  • Help in Event that  start process chain

    Hi,
    i use the Fm Below to start process chain but its not working What can be the problem?
    Regards
    CALL FUNCTION 'BP_EVENT_RAISE'
      EXPORTING
        EVENTID                     = 'ZIST_SSO'
       EVENTPARM                    = '1'
      TARGET_INSTANCE              = ' '
    EXCEPTIONS
       BAD_EVENTID                  = 1
       EVENTID_DOES_NOT_EXIST       = 2
       EVENTID_MISSING              = 3
       RAISE_FAILED                 = 4
       OTHERS                       = 5

    Hi,
    may be you should check your authority. May be you are not allowed to run/schedule a program/chain in background.
    regards
    Siggi
    PS: do a new activation and scheduling of the chain. goto sm37 afterwards and check the processes BI_PROCESS_TRIGGER. There must be at least one waiting for your event.

  • Error occured when starting process chain

    When we want to start a process chain via SAP_BW_ProcessChainRun we get the following error log:
    Failed to start process chain /NSN/C_DSP_TR_GLOBAL_II. No logid was returned by the BW-SCH API.
    com.redwood.scheduler.connector.sap.rfc.connection.exception.SapBapiException: BAPI exception while calling RSPC_API_CHAIN_START: E RSPC 022 Processes with Error
    BAPI exception while calling RSPC_API_CHAIN_START: E RSPC 022 Processes with Error
         at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.ClientConnectionImpl.checkBapiReturnCode(ClientConnectionImpl.java:789)
         at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.ClientConnectionImpl.handleRscpApiErrors(ClientConnectionImpl.java:808)
         at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.ClientConnectionImpl.call(ClientConnectionImpl.java:505)
         at com.redwood.scheduler.connector.sap.rfc.connection.AbstractRfcConnection$4.doPerform(AbstractRfcConnection.java:296)
         at com.redwood.scheduler.connector.sap.rfc.connection.RemoteFunctionCall.perform(RemoteFunctionCall.java:120)
         at com.redwood.scheduler.connector.sap.rfc.connection.AbstractRfcConnection.perform(AbstractRfcConnection.java:461)
         at com.redwood.scheduler.connector.sap.rfc.connection.AbstractRfcConnection.execute(AbstractRfcConnection.java:289)
         at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.SapFunctionModuleWrapper.execute(SapFunctionModuleWrapper.java:200)
         at com.redwood.scheduler.connector.sap.rfc.jco.AbstractSapFunctionModule.execute(AbstractSapFunctionModule.java:109)
         at com.redwood.scheduler.connector.sap.rfc.command.impl.BwProcessChainCommand.execute(BwProcessChainCommand.java:98)
         at com.redwood.scheduler.connector.sap.rfc.command.AbstractXbpCommand.doExecute(AbstractXbpCommand.java:86)
         at com.redwood.scheduler.connector.sap.rfc.command.AbstractCommand.execute(AbstractCommand.java:56)
         at com.redwood.scheduler.connector.sap.rfc.service.operation.RunJobOperation.doWork(RunJobOperation.java:103)
         at com.redwood.scheduler.connector.sap.rfc.service.SapJobWork.doWork(SapJobWork.java:38)
         at com.redwood.scheduler.infrastructure.workqueue.Worker.run(Worker.java:74)
         at java.lang.Thread.run(Thread.java:579)
    What could be the reason?
    Thanks
    Br
    Günter

    O.K. I can answer the question by myself: Is an authorisation issue. The rfc user who starts the PCs didn't have enough rights.
    Br
    Günter

  • Local Chain Multiple times in a Meta Chain

    Hi,
    I have a scenario in which I have to call the same local chain multiple times in a Meta Chain.
    The system is not allowing me to add the same local chain in my meta chain more than two times.
    System is throwing the below message:
    Diagnosis
    The link that you made between process CHAIN ZREBATE_LOAD and process CHAIN ZREBATE_LOAD is a reverse connection, because process CHAIN ZREBATE_LOAD already precedes CHAIN ZREBATE_LOAD in the chain.
    System response
    This kind of connection is not supported.
    Procedure
    Schedule a copy of process CHAIN ZREBATE_LOAD behind CHAIN ZREBATE_LOAD.
    Can anyone tell if there is a way to call the same local chain multiple times in a meta chain WITHOUT making a copy of the local Chain?
    I understand that if I make a copy of my local chain it will allow me to add it multiple times in the meta chain.
    Useful tips will be awarded by points.
    Thanks,
    AT

    Hi Siggi,
    I did not know that promising points is against the rules..Sorry about that.
    It is just that I see every other thread has that line at the bottom (unfortunately never saw anyone get a bashing on that)....will keep it in mind.
    Well, coming to what I am trying to achieve...here is the scenario:
    I have a chain where a table is being read and the data gets loaded for the quarter date in that table (table has quarter dates in it e.g.: 01012007 to 03312007). At one point the table has ONLY one entry for one quarter.
    Now, the requirement is to load data data for two years (i.e. 8 quarters).
    In order to automate, I have written a small program to update that table with the dates of next quarter. I have added this program as the last step in my chain.
    Now, I have created a meta chain in which I want to call my local chain (8 times) so that all the quarters get loaded automaticaly.
    I am able to call my local chain 2 times in the meta chain and it works exactly the way I want it to run. However, system is not letting me add my local chain more than 2 times.
    I am getting the message that I mentioned in my thread.
    I understand that if I make 8 copies of my local chain, the system will allow me to add those 8 chains in my meta chain.
    My question is if there is a way to add a local chain multiple times (say 8 times) in the same meta chain WITHOUT making copies of the local chain.
    Thanks very much.
    AT

Maybe you are looking for

  • Text animation not working in Captivate 5

    Hi there -- I am seeing some strange results and need some help troubleshooting. I have one project and on the first slide I have an image, a text animation, and video.  I view it and everything plays perfectly.  Here is what the timeline and propert

  • No longer can write to my external SATA drive...

    I was editing in FCP Studio 2 on a my MacPro 2x2.8 Quad Core, running MacOS 10.5.2, connected to a Highpoint X4 SATA drive, via the Highpoint RocketRaid 2314MS card. At some point the MAC detected a problem with the drive, and apparently it has chang

  • Wi-Fi: Not Configured

    I just got a new MacBook Pro running 10.9.1, and after migrating files from my old MacBook (late 2006 build, running 10.6.8) I am unable to get my AirPort/Wi-Fi up and running. On the status bar it shows "Wi-Fi not configured". When I open Network Pr

  • Deleted songs from iTunes

    Hi I upgraded to iTunes 11.0 yesterday.  Today I noticed a couple of duplicate songs in my Classical genre.  I went to delete these - a few duplicates deleted OK but then suddenly ALL my songs and albums in my Classical genre (a good number of them)

  • Struts html:form how to use autocomplete  = "off"

    Hi... I am having a problem when I try to use Autocomplete = "OFF" on my jsp page using struts... my question is how to use autocmplete on html:form / text tag? to disable autocomplete!