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)

Similar Messages

  • Schedule local process chain

    Hi, I have a requirement to schedule local PC to run every 8 hrs instead of daily as it does now.  Local process chain is called within a meta chain.  Is there a way I can schedule local process chain separately within a meta chain or I have to change schedule for the entire meta chain? 
    Thanks!

    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)

  • User wants to schedule the process chain - what is the best practice

    I posted earler and got the anwser.
    Create a custom ABAP program that calls the RSPC_API_CHAIN_START Function Module, with a selection for the Process Chain where your user can enter the Meta Chain name to start the process.
    To make it simpler for the user to execute this, create a custom tcode for them in SE93, so that they logon to your BW environment, call up that tcode, enter the Meta Chain name and execute. With this, they wouldn't have to have access to RSPC.
    I did the above and the user not able to execute it since he doesn't have access to the cube/dso to update the cube.
    To overcome this I wrote another abap program and used the
    SUBMIt program user ALEREMOTE
    and there is a problem.I called the process chain start program using ALEREMOTE .
    Now the user  needs access to authorization object S_BTCH_NAM and authorization field BTCUNAME with value ALEREMOTE.
    So again due to SOX the basis doesn't want to give the necessary access.
    What is the best solution.
    How in general if the user needs to execute the process chain how they do it.
    Please let me know. Thanks for your help in advance.
    Senthil

    Hi Senthil
    In general production scenerio, we do not run process chain manually. To execute a process chain you should have necessary authorization. As you have assigned alertmote in the start variant, any user other thatn that will not be able to trigger the same.
    Instead of alertmote , use the nornal start variant to trigger the process chain and give the user the normal authorization. Whenever user wants to run the infopackage manually or via process chain they should have the auth to view the infoprovider content as well....

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

  • 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

  • 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

  • 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

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

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

  • Start Varient is not getting trigger in Meta Chain.

    Hi All,
    I have a ProcessChain with in it there are many Meta Chains.
    Problem is, there are few Meta Chains Start Varient is not getting trigger automatically, it is getting red and continuing further process,
    when i check its logs also it is not giving any logs
    Please help me in this.
    Regards,
    Kiran

    Hi V,
    when i dubble click, i am getting bellow message Log
    20.07.2009     12:24:22     Job started     S     00     516
    20.07.2009     12:24:22     Step 001 started (program RSPROCESS, variant &0000000365507, user ID BIWREMOTE)
    20.07.2009     12:24:22     No new deltas in DataStore object 0FIGL_O02 for update     S     RSM1     96
    20.07.2009     12:24:23     Chain SFI_SFIGL_C02 was removed from scheduling     S     RSPC     26
    20.07.2009     12:24:23     Program RSPROCESS successfully scheduled as job BI_PROCESS_LOADING with ID 12242300     S     RSM     703
    20.07.2009     12:24:23     Program RSPROCESS successfully scheduled as job BI_PROCESS_ODSACTIVAT with ID 12242300     S     RSM     703
    20.07.2009     12:24:23     Program RSPROCESS successfully scheduled as job BI_PROCESS_ODSPROCESS with ID 12242300     S     RSM     703
    20.07.2009     12:24:23     Program RSPROCESS successfully scheduled as job BI_PROCESS_ROLLUP with ID 12242300     S     RSM     703
    20.07.2009     12:24:23     Chain SFI_SFIGL_C02 Was Activated And Scheduled     S     RSPC     25
    20.07.2009     12:24:23     Cannot activate job BI_PROCESS_TRIGGER (return code 8)     I     RSM     702
    20.07.2009     12:24:23     Process did not report an instance -> no log     E     RSPC     57
    20.07.2009     12:24:23     Job cancelled after system exception ERROR_MESSAGE     A     00     564
    But when i go Right Click and Display Variant  and check for 1 week ego, it wont show any logs, it says "No Logs were found"
    Please let me know your inputs
    Regards,
    Kiran

  • Meta Chain is missing from Log view

    Dear Experts,
    I have a strange problem in Process Chains. In the Planning view a Meta Chain was linked to other one but when I execute the PC and goto the Log view one Meta Chain is missing.
    What could be the problem?
    Best solution weighs.....
    Cheers,

    Please check whether the meta chain trigger option is selected or not.i think its happening meta chain trigger option is not selected, so only first chain is running and the subsequent chain doesnt get triggered.thats why in the log view its showing only one chain.
    Regards
    Prasad

  • Meta Chain Suggestions

    Hi All,
    I have a Material Master reporting scenario.
    I have used flexible update for 0material_Attr & 0material_Text using delta init and delta and a direct update for 0material_lprh_hier using fullupload
    So can I have a individual process chains for these above datasources ?
    Alternatively a metachain for all the three
    Regards
    Naveen

    The best solution we got is have a Attr chain separate, text separate and hierarchy separate then use create a master chain to include all of them as meta chain in attr > text > hier > attr change run.
    If you are talking about just for 0material; then no need to use meta chain..just create one chain with attr > text > hier > change run for 0material.
    Hope this helps.
    BK

  • Schedule a process chain using factory calender

    Hi All,
    My requirement: the user wishes to see the report every month, 1 working day prior to the month end.
    I am trying to do this usnig processing chain and factory calender to restrict it.
    1. How can a factory calender be used ?
    3. how do i give the offset of 1 working day prior to month end?
    2. If you have any such experience please share.
    Please help.
    Rohit Kumar.

    Hi,
    In the start process open the start time parameters screen. Then click on the button '>>' next to 'at operation mode' button. In the following screen, give the factory calender. In the workday column give 2. Choose radio button 'end of month'. In the period field give the frequency of the loads, i guess it should be 1 for you as you want to load monthly. So the job runs on the day before the last working day.
    regards,
    Murali.
    Edited by: Murali Krishna K on Jun 23, 2008 5:27 PM

  • Warning Error message while scheduling the Process Chain

    Dear All,
    I have created the meta Chain, which contains 7 Local Chains. I have tested this chain in BI Development and Quality. It was working fine. I have moved this Meta Chain to production. While i am trying to schedule this chain, i got the warning message.
    Too many parallel processes for chosen server BICI
    Message no. RSPC118
    Diagnosis
    On the server TVSBICI you have chosen, there are only 0 batch processes available. The process chain has been designed in such as way that 3 processes must be processed parallel.
    System Response
    Only 0 processes can be processed parallel. Note also that to be able to start sub-chains, AT LEAST TWO free batch processes must be available. Otherwise a lock situation may arise.
    For more information, see SAP Note 621400.
    Procedure
    Reduce the number of parallel processes in the chain or include sub- chains. This warning applies to all relevant processes.
    Procedure for System Administration
    Increase the number of batch processes available. You should note however that it makes no sense to set up more batch processes than there are CPUs on server BICI.
    Pls help on this issue.
    Thanks,
    Siva.
    Edited by: Siva Kumar on Jun 15, 2009 9:16 AM

    I have Ignored this warning and now process Chain is working fine.
    Thanks,
    Siva.

  • How to trigger a local process chain to run manually

    Dear Experts,
    In my company, I have a Daily process chain.
    In this Daily process chain, it contains many other local process chains which are grouped by modules.
    For example, I have created the following 3 process chains:
    - Accounts Receivables Process Chain which contains all the required process for loading FIAR data.
    - Accounts Payables Process Chain which contains all the required process for loading FIAP data.
    - Inventory Process Chain which contains all the required process for loading  Stocks data.
    These 3 process chains are scheduled one after the other in the main process chain which is called Daily Process Chain.
    FIAR needs to be successful before FIAP can run and Inventory chain will run only after FIAP is successful.
    Normally it runs without any problems.
    But recently, when the previous chain is successful, the next process chain does not get triggered to run.
    In the end, I have to manually execute the remaining process chains to start running.
    With this, all data are loaded, but the Daily Process Chain status for the day is yellow because it is not complete.
    Is there a program or method which I can execute or use to trigger the process chain to continue to run in the Daily Process Chain? If there is, please let me know so that I can avoid having to run the process chains manually one by one.
    Thanks in advance for your help.
    Regards,
    Shunhui.

    Check thid thread with the similar issue:
    Process Chain - Node untriggered.
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains

Maybe you are looking for

  • Error in Access JMS with JNDI

    Hi all, I am trying DB>XI>TIBCO (EMS). I have included tibjms.jar library in aii_af_jmsproviderlib.sda and deployed using SDM. In JMS receiver adapter I am using the following:- Transport protocol: Access JMS Provider with JNDI. JNDI Lookup Name of Q

  • My search bar is only visible when in full screen

    How can I get it back when not in full screen? It's also not letting me move the screen away from the top of my computer screen.

  • Linux mint 14 wont install update or do anything with fire fox

    when ever I try to istall fire fox, msg file unavailable or nothing happens at all, software manager tried synaptic tried, uninstalled fire fox because I tried to up date but said files not available so removed to try reinstall still files unavailabl

  • PNPCE - Obsolete Statements

    Hi, I am using PNPCE logical data base in my prog. For this I defined the following. Nodes: Peras. Tables: Pernr. Infotypes: 0002. Is it mandatory to use Tables: Pernr. (Without this selection-screen is not coming)? Also the statement Infotypes is Ob

  • Can you mainpulate excel graphs in Indesign?

    We are transitioning our reports from excel to INdeisgn. We have some simple line graphs created from a series of numbers in Excel. What I'd like to be able to do is place them in Indesign, then apply similar font and colours so it matches the rest o