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

Similar Messages

  • Could you please explain about the  chain and end chain and module

    hi experts
    could you please explain about the  chain and end chain and module keywords?

    Hi Naresh,
    Conditions for Multiple Screen Fields
    To ensure that one or more PAI modules are only called when several screen fields meet a particular condition, you must combine the calls in the flow logic to form a processing chain. You define processing chains as follows:
    CHAIN.
    ENDCHAIN.
    All flow logic statements between CHAIN and ENDCHAIN belong to a processing chain. The fields in the various FIELD statements are combined, and can be used in shared conditions.
    CHAIN.
    FIELD: <f1>, <f 2>,...
    MODULE <mod1> ON CHAIN-INPUT|CHAIN-REQUEST.
    FIELD: <g1>, <g 2>,...
    MODULE <mod2> ON CHAIN-INPUT|CHAIN-REQUEST.
    ENDCHAIN.
    The additions ON CHAIN-INPUT and ON CHAIN-REQUEST work like the additions ON INPUT and ON REQUEST that you use for individual fields. The exception is that the module is called whenever at least one of the fields listed in a preceding FIELD statement within the chain meets the condition. So <mod1> is called when one of the fields <fi> meets the condition. <mod2> is called when one of the fields <f i> or <g i> meets the condition.
    Within a processing chain, you can combine individual FIELD statements with a MODULE statement to set a condition for a single field within the chain:
    CHAIN.
    FIELD: <f1>, <f 2>,...
    FIELD <f> MODULE <mod1> ON INPUT|REQUEST|*-INPUT
    |CHAIN-INPUT|CHAIN-REQUEST.
    MODULE <mod2> ON CHAIN-INPUT|CHAIN-REQUEST.
    ENDCHAIN.
    The module <mod1> is called when screen field <f> meets the specified condition for individual fields. <mod2> is called when one of the fields <fi> or <f> meets the condition. If you use the addition ON CHAIN-INPUT or ON CHAIN-REQUEST with FIELD <f>, the condition also applies to the entire chain and module <mod1> and <mod2> are both called.
    In cases where you apply conditions to various combinations of screen fields, it is worth setting up a separate processing chain for each combination and calling different modules from within it.
    The functions of the FIELD statement for controlling data transport also apply when you use processing chains. Within a processing chain, screen fields are not transported until the FIELD statement. Processing chains also have another function for the FIELDS statements that they contain. This is described in the section on validity checks.
    Ex:
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    CHAIN.
    FIELD: INPUT1, INPUT2.
    MODULE MODULE_1 ON CHAIN-INPUT.
    FIELD INPUT3 MODULE MODULE_* ON *-INPUT.
    MODULE MODULE_2 ON CHAIN-REQUEST.
    ENDCHAIN.
    FIELD INPUT1 MODULE C1 AT CURSOR-SELECTION.
    CHAIN.
    FIELD: INPUT2, INPUT3.
    MODULE C2 AT CURSOR-SELECTION.
    ENDCHAIN.
    MODULE CURSOR AT CURSOR-SELECTION.
    Regards,
    Sunil

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

  • BRE Forward Chaining and Backward Chaining

    Hello Experts,
    Can you please help me in understanding what is forward and backward chaining in BRE
    Thanks

    Forward chaining:
    Following is the extract from my favourite BizTalk book - Professional
    BizTalk Server 2006. I would recomment you to read though this book on forward chaining with BRE.
    In short: Forward chaining describes the ability for one rule’s actions to impact facts relied on by another rule and thus require such a rule to be reevaluated to maintain consistency.
    Forward chaining describes the ability for one rule’s actions to impact facts relied on by another rule and thus require such a rule to be reevaluated to maintain consistency.
    Consider this three-rule scenario: Rules 1 and 2 rely on the Loan Risk property to establish which APR the loan should be set to. Rule 3 marks the customer as High Risk if the customer meets the profiling criteria.
    Rule 1: IF Customer.LoanRisk = “Low” THEN Loan.APR = 0%
    Rule 2: IF Customer.LoanRisk = “High” THEN Loan.APR = 39%
    Rule 3: IF Customer.Age < 21 AND Income < “20,000” THEN Customer.LoanRisk = “High”
    A clear dependency exists between these rules. The action of Rule 1 or Rule 2 can be made invalid by Rule 3.  The action of Rule 3 modifies the LoanRisk fact, which is used as part of the conditions for Rule 1 and Rule 2. 
    This is where forward chaining comes in. The BRE requires that users create rules with this mind and add an UPDATE statement to the rule. This indicates to the BRE that the fact specified with the UPDATE statement has changed and that all rules that rely
    on this fact in a condition should be reevaluated and therefore pass through the match–conflict resolution–action stages again.
    The previous rule statement would need to be modified as follows.  
    Rule 1: IF Customer.LoanRisk = “Low” THEN Loan.APR = 0%
    Rule 2: IF Customer.LoanRisk = “High” THEN Loan.APR = 39%
    Rule 3: IF Customer.Age < 21 AND Income < “20,000” THEN Customer.LoanRisk = “High”
    UPDATE Customer
    Here Forward chaining describes the ability for one rule’s actions (Rule3's action) to impact facts relied on by another rule( Rule1 and Rule2) and thus require such a rule to be reevaluated to maintain consistency.
     Backward chaining
    Regarding
    Backward chaining, I don't know anyone who has implemented backward chaining other than Charles Young. In case of Microsoft's BRE with backward chaining, his blogpost on this topic is the only reference. So its better I refer to his one and only blog on this
    topic (in Microsoft BRE engine)
    Charles Young's excellent blog on this: MS BRE Backward Chaining - Part 2: The 'Simple Name' pattern
    Other references for you on this topic..
    Technet Wiki:Biztalk: BRE Forward Chaining
     A
    real time use case addressed in MSDN forum
    As said from my favourite - excellent detail provided on this topic with an in book Professional
    BizTalk Server 2006 with an example
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Differentiate Plant between Distribution Chain and Store Chain is IS-Retail

    Hai guys,
    I created a Distribution Center (BD01) for a Sales Org BP01, Dist Chl B1, Divn B1. Whenever I try to create an Article, I am getting this error
    'Distribution Chain BP01/B1 is not a Store Distribution Chain'
    The Performance Assistant gives me the following diagnosis:-
    Distribution chain BP01/B2 is not a store distribution chain
    Message no. MH009
    Diagnosis
    You wanted to maintain store logistics data for a distribution chain. However, this is only possible if the distribution chain is one for stores (as opposed to one for distribution centers).
    Procedure
    Specify a store distribution chain.
    But when I try to change the settings of "Distribution Chain Control" in Customising of "Basic Data Retail", I am unable to make a "Store Distribution Chain". Can somebody teach me how?
    IT IS URGENT
    Regards,
    Maheshwaran. I

    Dear Maheshwaran,
    Based on your condition type....you have to create Saling Price using VKP5 transaction code with purchase price and sales price determination.
    Or you can upload using transaction code VK11
    After this transactions, you can trigger IDoc from SAP to POS
    Hope this information will be useful.
    Bye,
    Muralidhara

  • Regarding Central SLD and Local SLD

    Hello,
    Can we maintain Central SLD as well as Local SLD?
    We have maintain central sld during installation , now i want to maintain local sld also.
    How can we do this? what is the benifit and disadvantage for maintaing both?
    Regards,
    V.Singh

    Hi V.Singh
    You can have as many SLD as you like - the service is available as part of a WAS JAVA install
    Bear in mind the more SLD = the more administration and if you wish to sync them there is also many considerations
    It is best you check the SLD planning guide at System Landscape Directory (SLD) to select the landscape that
    best suits the intend use
    The Central SLD concept is primarily to have an SLD containing all systems in your company i.e complete overview - this might not be specifically used for runtime of these systems - say PI useage etc - it might be used to populate Solution Manager with landscape data or just track all systems and changes in the organization
    The central SLD concept is also not essential however an SLD (a local or app specific one) is essential for certain applications like PI, ESS etc
    Best wishes
    Stuart

  • 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

  • Use of chain and Endchain

    Hi,
    Iam having 3 fields on my input screen. My doubt is If i enter any one of the field value incorrectly then all the three fields will be input enabled if i use the following code.
    chain.
    field f1 , f2 , f3.
    module validate.
    endchain.
    the chain and endchain will automatically take care of enabling the three input fields or we have to explicitly write code for input enabling by using the module validate.
    Thanks...

    Hi,
    chain and endchain are used for validations in the flowlogic itself.
    chain and end chain are used for multipe validation on
    module pool programing and for saingl we use the below
    syntax feild feild feild name module module name
    module keyword give the place where you write your opiece of code
    If you want to ensure that more than one field is ready for input following an error dialog, you must list all
    of the relevant fields in the FIELD statement, and include both that and the MODULE statement in a
    CHAIN … ENDCHAIN block.
    You can include individual fields in more than one CHAIN … ENDCHAIN block.
    Note that the FIELD statement does not only make the field ready for input again; it also means that field
    contents changed during the current PAI processing are only visible if the field in question was also included in the FIELD statement of the current CHAIN block.
    PROCESS AFTER INPUT.
    FIELD A MODULE check_A.
    FIELD B MODULE check_B.
    CHAIN.
    FIELD: C,D.
    MODULE check_CD.
    ENDCHAIN.
    CHAIN.
    FIELD: C,B.
    MODULE check_CB.
    ENDCHAIN.
    If the system sends an error or warning message, the current screen is sent again, but the PBO is not
    processed again.
    Only the fields to which the module is assigned are ready for input again.
    After the user has entered new values, the PROCESS AFTER INPUT module is not completely
    reprocessed, but restarted somewhere within the processing block.
    The system finds out which field the user changed and resumes processing at the first corresponding
    FIELD statement.
    If the user merely confirms a warning message (without changing the field’s contents), the system
    restarts the PAI processing after the MESSAGE statement where the error was triggered.
    chain and end-chain
    Regards.
    Eshwar.

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

  • What is CHAIN and ENDCHAIN?

    Give some examples.

    Hi,
    In PAI if you want to validate group of fields put in
    chain and End chain statement .
    You can declare fields in the chain enchain .
    CHAIN.
    FIELD chk_ABC.
    FIELD chk_DEF.
    FIELD chk_GHI.
    FIELD CHK-JKL.
    MODULE CHK_screenfields.
    ENDCHAIN.
    below is an example:
    CHAIN.
    FIELD: <f1>, <f 2>,...
    MODULE <mod1>.
    FIELD: <g1>, <g 2>,...
    MODULE <mod2>.
    ENDCHAIN.
    all of the fields on the screen that belong to the processing chain (all of the fields listed in the field statements) are made ready for input again. Other fields are not ready for input. Whenever the MODULE statement appears within a processing chain, even if there is only one FIELD attached to it, all of the fields in the chain (not only the affected field) are made ready for input again, allowing the user to enter new values. If the fields in the processing chain are only checked once, the PAI processing continues directly after the FIELD statement, and the preceding modules are not called again.
    Also,
    Check the below link
    [http://help.sap.com/saphelp_46c/helpdata/EN/9f/dbaa4735c111d1829f0000e829fbfe/content.htm]
    The statements CHAIN and ENDCHAIN of the dynpro flow logic define processing chains. Between CHAIN and ENDCHAIN, the statements FIELD and MODULE can be executed. The statements between CHAIN and ENDCHAIN form a processing chain. Processing chains cannot be nested. The CHAIN statement can be specified in the event blocks at PAI and PBO , however, in the event block at PBO it has no effect.
    A processing chain allows the joint processing of all the screen fields stated between CHAIN and ENDCHAIN after FIELD statements:
    The contents of all screen fields combined to a processing chain by the FIELD statements can be checked in the shared conditions ON CHAIN-INPUT and ON CHAIN-REQUEST of the MODULE statement.
    A warning or error message in a module called within a processing chain resets all input fields whose screen fields are combined in this processing chain using FIELD statements to ready-for-input. After a user input, the PAI processing resumes at the CHAIN statement at the latest.
    Example
    Call dialog modules to check input values. The screen fields input1 and input2 are checked in individual dialog modules check_1 and check_2. The screen fields input3 to input5 are checked in a processing chain in a shared dialog module check_chain. Warning or error messages in the dialog modules either make only one input field input1 or input2 ready for input again or all three input fields input3 to input5.
    PROCESS AFTER INPUT.
    MODULE leave_dynpro AT EXIT-COMMAND.
    FIELD input1 MODULE check_1 ON REQUEST.
    FIELD input2 MODULE check_2 ON REQUEST.
    CHAIN.
    FIELD input3.
    FIELD input4.
    FIELD input5.
    MODULE check_chain ON CHAIN-REQUEST.
    ENDCHAIN.
    MODULE handle_user_command.
    HTH
    Regards,
    Dhruv Shah

  • 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

  • Include Local Chains with Meta Chain

    HI folks,
    How to Include Local Chains with Meta Chain. Can I know the step by step with clear information?
    If it is possiable send step by step creation screen shots.
    Thanks & regards,
    venkat vanarasi

    Hi Venkat,
    Goto RSPC->Double click the process chain that u want to include local chain -> click the process types->Under General serverices u can see->Local Process Chain -> Select the process chain that u want to include ->include it, activate and schedule.
    Hope it will work..!!
    Assign points please..............
    Best Regards,
    SG

  • 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

  • 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

Maybe you are looking for

  • Can't download or update apps.

    Hi I have had an iPod for a couple of years and bought an iPhone earlier this year over the Internet (sent from the US). Until recently I could download and update apps on both devices. But now when I try to do this on my iPhone I get a message that

  • Trouble launching Illustrator CC files from Adobe Bridge

    Double clicking in Bridge does not work after a few sucessful "opens". Need to restart Ai CC to resolve. Works ok for a few opens then reverts back. Just started happening. Anyone else havingthis issue?

  • Linked Drop Down Lists with a message box

    Hello all - I'm using Adobe Designer 7.0 and I've created a form with two linked dropdown lists. The second dropdown list displays certain options depending on what was selected from the first dropdown list. I based my dropdowns on the country/states

  • Why can I not use my windows live photo gallery and so forth

    Whenever I try to go to my windows live photo gallery it closes down after a few minutes and also I cannot get my windows updates to download. What's up anyways

  • STP vs. Ether Channel ; Which one is prefer?

    Is Ether Channel an always prefer method comparing to STP? Why? Is there any scenario to use STP better than Ether Channel?