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.

Similar Messages

  • 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

  • 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

  • Process chains status

    Hi All,
    Most of our Process chains trigger at midnight and all are meta chains,and these all are European loads and 24 hours clock and 2 hours late than Indian timings, my question is
    for example, there is a process chain A, it should trigger at midnight say 22 that is in our timing at 12,It has been triggerd and next day morning i checked in log view selecting the option ,yesterday and today, and one of its local chain showing red status.Then i went to that particular local chain and checked in logview  by selecting the option yesterday and today,then it is showing yesterday's status ,and on the left side today's date also displayed but while clicked on the todays date, some screen is coming and not showing process chains status today. and when i check the option Today in the logview it is giving the message,no logs were found.what does that mean.is it triggered in correct time .or do we need to trigger it.if it is triggered ,then why it is showing red status.please clarify my doubt.
    Thankyou.

    Hi,
    Your meta chain failed yesterday, for this reason today it haven't triggered..
    If you want to execute todays load check the reason for failure and rectify it first than start the chain with immediate option for todays load...
    Regards
    Prasad Nannuri

  • 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

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

  • Process Chain status not becomeing green even if all loads are successful

    Hi,
    The porcess chain status is not becoming green even if all loads are successful.  How can I make it GREEN.
    One more doubt I have.
    Suppose I have 6 processes in my process chain and the 3rd process failed. If I run the function module RSPC_PROCESS_FINISH will start loading from the beginging or from the failed process.
    I wish to load from the failed process onwards..what should I do ??
    Kindly give the details.
    Bill

    Using that FM.. u will be providing the Instance and Variant of the failed process.. and hence the reload will start from the failed process but not the entire chain...
    In general the process status shud finish then or based on the link combination  the change from one process to other will happen...
    try to maintain a wait time between the process atleast 2 to 4 secs..
    thanks
    hope this helps..

  • Process Chain Status Red, DTP status yellow, DTP is green from inside

    Hello All,
    I have a problem where the  Process Chain  status is red, but the process(DTP) status is yellow.
    When I right click on the yellow process there is no error message and the DTP is green in Process Monitor.
    But the chain did not complete and the rest of the process steps are grey.
    After 20 minutes the Process Chain ran again(automatically after new data arrived) and this time without errors and it went green.
    My question is, how to proceed with the red Process chain and complete the further process and make it green.
    Regards
    Alex

    hi,
    There are scenarios where you need to change status of a process chain or a particular step in process chain.
    You might need to change the status in the cases where we need mark these steps successful so that dependent steps get processed. There are other scenarios where one needs to change the status of a single step in the process chain or status of whole process chain.
    Step by step instructions on change process chain status
    1. Right click on the failed step in the process chain monitor and go to displaying messages
    2. Go to u2018Chainu2019 tab and note down variant, instance and start date
    3. Go to SE16 and the table RSPCPROCESSLOG and enter variant, instance and start dates from step 2 and note down log_id, type, variant, instance.
    4. Go to SE37 transaction and execute the function module RSPC_PROCESS_FINISH and enter the values from step 3 and enter the new status u2018Gu2019 in status field and execute the FM
    5. This sets the status of the process chain (PC)
    After you set the status using the FM, go to the monitor screen of the process chain, you will notice the changed status. Now dependent steps in the process chain will start running
    Thanks

  • Process Chain Status is Red even though all processes are successful.

    I implement ABAP Code by using standard function module "RSPC_CHAIN_START" for execute process chain and return status of process chain after execute completely as following code:
    Execute Process Chain
    CALL FUNCTION 'RSPC_CHAIN_START'
      EXPORTING
        I_CHAIN             = I_CHAIN
        I_SYNCHRONOUS       = I_SYNCHRONOUS
    IMPORTING
       E_LOGID             = P_LOGID.
      If sy-subrc = 0.
        gt_status = 's'.
        WHILE gt_status = 's'.
    Get Status of Process Chain
          CALL FUNCTION 'RSPC_API_CHAIN_GET_STATUS'
          EXPORTING
          i_chain              = I_CHAIN
          i_logid              = P_LOGID
         IMPORTING
          E_STATUS             = gt_status
          E_MESSAGE            = P_MESSAGE.
    Status G or F - Report that the Chain is Successfully Completed.
    Status A - The chain is Currently running
    Status R or X - Report that the chain has ended with Errors.
        CASE gt_status.
        WHEN 'A'.
    Process chain is running
          gt_status = 's'.
          P_MESSAGE = ''.
        WHEN OTHERS.
    Process chain is completed
          exit.
        ENDCASE.
        IF gt_status = 's'.
           WAIT UP TO 2 SECONDS.
        ENDIF.
    ENDWHILE.
    Display Message
      IF gt_status = 'G' or gt_status = 'F'.
        MESSAGE i162(00) WITH P_MESSAGE.
      Else.
        MESSAGE e162(00) WITH P_MESSAGE.
      ENDIF.
      ENDIF.
    From above code, when execute this function module, sometimes status of process chain is shown as canceled 'X', therefore, output of this function module is shown as "The process chain is canceled". When monitor process chain in RSPC log view, the process chain status is also shown as canceled 'X' and status of all process in process is green, however, after wait for a while, the status changed from canceled 'X' to successful 'G'.
    Why did the status of process chain show as canceled 'X' even though finally process chain status is successful ? If I want to check status of process chain after execute completely, which status should to check in ABAP code?
    Regards,
    Pui

    Using that FM.. u will be providing the Instance and Variant of the failed process.. and hence the reload will start from the failed process but not the entire chain...
    In general the process status shud finish then or based on the link combination  the change from one process to other will happen...
    try to maintain a wait time between the process atleast 2 to 4 secs..
    thanks
    hope this helps..

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

  • X-distr.chain status in combination with valid from date

    Hello I am using MM02 X-distr.chain status in combination with valid from date, to give materials a certain status in the sales order depending on the delivery date of the orderline.
    How can I enter multiple statuses with future validation dates?
    example following status with validation dates where entered in MM02 for a material
    - material should have status A valid from January
    - material should have status B valid form April
    - material should have status C valid from July
    - material should have status D valid from September
    When I enter a sales order with delivery date in January system replies with status C.
    When I enter a sales order with delivery date in April system replies with status C .
    When I enter a sales order with delivery date in July system replies with status C .
    When I enter a sales order with delivery date in September system replies with status D.
    So only the current  ( or previous status when current is not valid yet) is retained by the system.
    How could multiple statuses be used?
    Thanks in advance
    Joos

    Hello Jalo,
    Thanks for your reply,
    My customer sell season relevant materials so they want to control order entry and delivery creation based on predefined dates.
    Status A  = material is blocked for order entry and delivery creation
    Status B  = material is allowed for order entry, delivery creation is blocked
    Status C  = material is allowed for order entry and delivery creation.
    Status D  = material is blocked for order entry, delivery creation is allowed.
    I had hoped to use standard functionality with this status field, it meets most of my customers requirements but at this moment the only alternative is to create a new table where this data can defined and create some abap logic in the user exit to set the status base on the table information.
    Regards
    Joos

  • 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

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

  • 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