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

Similar Messages

  • How to shedule process chain Multiple time in a month

    Hi to all,
    I have a question.
    suppose we required to shedule the process chain,
    for first 10 days, we need to extract data 8 time a day
    and for remaing days in months, we need to extratc data 1 time a day.
    How can we achive that in process chain.
    Please can any one tell me the solution.
    I shall be thankful to you for this.
    Regards
    Pavneet rana

    Hi,
    Another option would be using the InfoPackage settings. Create 2 infoPackages.
    1st one for first 10 days
    ====================
    In the "Schedue" tab, define the Scheduling options to Hourly and save it. Now, you will see "Periodic Processing" section with two options,
    1. Do Not Cancel Job
    2. Cancel Job After X Runs
    For 2, provide 8.
    2nd for From 11th day
    ==================
    Create another InfoPackage for Daily load.
    In process Chain, you may use the previous "Decision Between Multiple Alternatives" process type (in the command formula, write a simple formula as below:
    RIGHT( 2, Current Date ) <= 10
    Then include 2 ABAP Program for each option (using "BAPI_IPAK_START" with the InfoPackage name) in decision options. (use the InfoPackages as variants).
    This will solve your requirement,
    "for first 10 days, we need to extract data 8 time a day
    and for remaining days in months, we need to extract data 1 time a day."
    Now, further update using DTP, for remaining days in months (i.e. 1 time a day) you can directly include the DTP in the chain. However, for the 1st 10 days you have to dig more.
    Good Luck!
    Sankar Kumar

  • Same Variant used multiple times in a process chain

    Hi, I just noticed that you cannot use the same variant in a process chain twice!  You have create a duplicate variant in order to. 
    Example:  I need to activate my ODS at 2 different points in my process chain and it's not supported.  Why would they force me to create a whole other variant just for this.  Don' t you think we should be able to use the same variant more than once in a chain?
    Anyone.

    No response

  • 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

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

  • 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 can i find the meta chain name?

    My process chains are running based on meta chain option,So how can i find the meta chain name???

    Hello
    Goto SE16
    Table RSPCCHAIN
    ut u r local chain name as varient and exe
    similerly goback if the chain you get is also a local chain....Until you get only one chain...
    Where Used List --
    RSPCPROCESSLOG table
    You can see the Process Logs at SM37 too based on the Technical name of the Chain you can trace the Meta chian
    Thanks
    Geeta

  • Running time for group process chain

    Hello Gurus,
             in our system, a group process chain includes a lot of process chains, after the whole group process chain runs through , how can I check how long it takes for  the whole group process  run?
    Many thanks.

    Hi,
    right click on start process of your meta chain..
    there you can find the start time of your meta chain.take that as A.
    go to last process of the chain and right click and take that time as B.
    The difference between the two times is your total meta chain runtime.
    hope this is clear for you.
    Regards
    Ramsunder

  • Process Chain Master Data Failed.Showing Entire chain has status R

    Hi,
    Everyday SDMasterChain is running successfully.
    Today one of the localChain or subchain  has failed.
    I have noticed that it has failed because last delta for one infoPackage has not yet completed and chain showing status "Entire chain now has status 'R'"
    Can anybody resolve the issue?
    Below is te log for the error.
    Job started
    Step 001 started (program RSPROCESS, variant &0000000113991, user ID ALEREMOTE)
    Last delta upload not yet completed. Cancel
    Data saved successfully
    Start InfoPackage ZPAK_3VB5JI5I0N6QJ7RFSFU7Z3PF2
    Last delta upload not yet completed. Cancel
    Last delta upload not yet completed. Cancel
    InfoPackage ZPAK_3VB5JI5I0N6QJ7RFSFU7Z3PF2 created request
    Request REQU_449HFL0OFD22BSU2GX1X2MJJJ could not be generated with InfoPackage REQU_449HFL0OFD22BSU2GX1X2MJJJ without errors
    Last delta upload not yet completed. Cancel
    Error After Starting InfoPackage ZPAK_3VB5JI5I0N6QJ7RFSFU7Z3PF2 in Process Chain
    Entire chain now has status 'R'
    Process Attribute Change Run, variant Compounding Object has status Undefined (instance )
    Process Save Hierarchy, variant Generated from LOADING ZPAK_3VBSFASA7NWCNP1JX9WXI5 has status Undefined (instance )
    Process Execute InfoPackage, variant 0CUST_SALES_ATTR - Full has status Undefined (instance )
    Process Execute InfoPackage, variant 0CUST_SALES_TEXT has status Undefined (instance )
    Process Execute InfoPackage, variant 0CUST_SALES_TID_LKDH_HIER has status Undefined (instance )
    Process Execute InfoPackage, variant ZMAT_SALET - TEXT has status Undefined (instance )
    Process Start Process, variant Bekaert Master Data Loads - Start Variant has status Undefined (instance 449HEDPDI8N6AP5XKDUODJS6N)
    Process Execute InfoPackage, variant Load from 0MAT_SALES_ATTR into ZMAT_SALE has status Undefined (instance REQU_449HB4K9K3W7GPJEF52YM83N3)
    Process Execute InfoPackage, variant Load from 0MAT_SALES_TEXT into ZMAT_SALE has status Undefined (instance REQU_449HJOO6322QV09OL73P18ODR)
    Process Execute InfoPackage, variant ZMAT_SALEM -  ATTR - FULL has status Undefined (instance REQU_449HEJW4S44QAUTY9LQKH4QY7)
    Process Execute InfoPackage, variant Delta load from 0MAT_PLANT_ATTR into 0MAT_PLANT has status Undefined (instance REQU_449HFL0OFD22BSU2GX1X2MJJJ)
    Termination of chain has been reported to meta chain 449CKM1O64AHRLQJLNZ2GBWQ7
    Message sent successfully
    Job finished
    Rgds,
    CV.

    Hi,
    There are times when Master Data load compel us to do Re-Init. I guess you need a Re-Init.
    Check theses links:
    1: Re: Update mode R is not supported by the extraction API
    2: pl help me with repeat delta for text info object
    Regards
    Happy Tony

  • Process Chain Triggers Multiple times

    Hi All,
    I have Meta process chain say ZAAA  which has multiple Local Chains example ZBBB , ZCCC and ZDDD. .This Local chain ZCCC trigger multiple times of  in one day . we had a issues today  with deactivation of Transformations and DTP in different levels because of that Local Process chain ZCCC is failed along with other process chains . when I reach to ZCCC started by repeat or repair ,before Local Chain ZCCC finished whole process ,ZCCC triggers second time .
    Now first times  triggered process chain ZCCC is in  yellow , and second time triggered process chain ZCCC gone through all the way to gree ,  and Meta chain showes red.
    what I have do make Meta chain green.
    Regards
    Hari

    Hi Hari,
    I wonder what you mean by below statement:
    one of the sub pc still yellow first time trigger and went to red and second time trigger whole process is green. all Sub PC are green
    For the sub pc mentioned above, you trigger it all over again? Or you repeat/repair the step failed?
    If you trigger it the second times all over again it is a new run and the first run remain fail,ed so the meta chain will never get green, if you want to make the meta chain green, you need to repeat/repair the step failed in first run.
    Regards
    Bill

  • Schedule Local process chain (by fac calender) in a daily meta chain

    Hello SAP Gurus,
    We have a meta chain (e.g. M1) which runs daily. Within this meta chain (M1), a local process chain (e.g. LP1) is attached. This LP1 should run once a month on a Monday (defined in factory calendar). Please note LP1 can not be scheduled separately by factory calendar, as it depend on few activities in daily meta chain. I think LP1 can be scheduled by using the decision in meta chain. I have rough idea of the formula, but not sure. Can you please suggest what should be the suitable formula in decision to schedule it.
    Example formula:
    DATE_WEEKDAY1(Current Date, 'P1' ) = '1'
    Where
    DATE_WEEKDAY1 = Calculate weekday Number from Date
    P1 = Factory Calendar for one year. Only 12 days (Monday) are open. For example 17 Jan, 14 Feb 2011, etc

    No need to change schedule for the entire meta chain. U should schedule local process chain separately.
    For local chain change mode
    Right click 'Start Variant' -> Maintain variant -- Direct Scheduling -- Change Selections
    Enter Date/Time... Select periodic Job
    Periodic Values -- Other period -- enter 8 for Hour(s)
    If u r using company calender -- Select 'Restrictions' -- enter Calender ID
    Save -- Activate - Schedule
    Local PC will run for every 8 hrs from the time u specified, and also run in metachain (once in a day if metachain runs daily)

  • 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

  • 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

  • Unschedule Local Process chain from meta chain

    Hi There,
    We have a meta chain, in which there are several local chains one for each process area. Due to a transport I have to unschedule one local chain and let the other local chains run. Please let me know what is best way to do it?
    Thanks,
    Raju

    Hi.
    You can maintain the start variant of the local chain and switch it to Direct Scheduling. You can leave it in the "Master" chain and let that one run normally, however, your local chain will fail and no following chain will be triggered. So this approach could only be used if your local chain is a dead-end.
    I would consider making a copy and delete the local chain. Then run this one. Make the copy either right in production, because it is an exception anyway, or in development and transport to prod. Switch to running the copy in either case and switch back to original chain and delete the copy (again either straight in prod or in dev and transport the deletion).
    regards
    Jacob

  • Local process chain used in Meta chain

    Hi,
    Suppose there is a Local process chain (X), and in it has scheduling options "Start using meta chain or API" selected. How can I know which meta chain is using this local chain.
    Something similar functionlity of "Where used list" which can give a list of meta chains where this local process chain (X) is used.
    Thanks.

    Hi Lohana,
    I think there no such functionality.
    Local chains means just you are calling from some other chain. But that it self a process chain. You are just linking in the chain through Local mode.
    Regards,
    Kishore Reddy.

Maybe you are looking for

  • Time machine for new HOME FOLDER location?

    i am on lion on a mac pro and for some reason i am getting a bit clutched here redoing my backup routine after having MOVED MY HOME FOLDER to a NEW DISK (it is now in bay 3). i have just wiped the external "Time Machine" disk and then in TIME MACHINE

  • Open file in a new Firefox tab

    Hi, I'm using a script to view html files from TextWrangler in Firefox: tell application "TextWrangler" to set theFile to file of document 1 tell application "TextWrangler" to save theFile tell application "Finder" to open theFile using (path to appl

  • Max no of item in a PO

    What is the max nos of items we can put in a Purchase Order ? Is there any config settting ?

  • Problem in Custom Auth

    Hi friends, I have implemented custom auth as it is referring an table So if the users exist in the table means it will logs in inside the application. i have id, username and password for it. i have a username of varchar2 type. if i have a username

  • Non Contract MiFi 2200 Intelligent Mobile Hotspot

    I have a Mac Book Pro running Mac OS X Lion (10.7.2) and I just purchased the MiWi2200 Intelligent Hotspot. However, when I open VZ Access Manager, it says: VZ Access Manager installation requires administrator privileges.  Please log in as a member