Help with Process Chain - Stop remaining Processes if Package returns 0 rec

Hi, i have a Process Chain that starts with a single InfoPackage.  Then it goes on to distribute the load to multiple DSO's and then onto DSO Activation.  I would like the Process Chain to stop right after the InfoPackage if no records are loaded. 
Is this possible using the decision variant somehow?  Any details on how to achieve this are greatly appreciated!

Hi ,
The request is goin to red status when 0 records are pulled in. There is a option in info package so that even when 0 records come in the request status would be green.
Open your info package , then in the menu goto "Scheduler > Treatment of warnings > Select Green" so that in future even if the info package pulls 0 records the status would be green . then the activation step in the process chain would also be carried out smoothly.
In this way you need not manually change any request status to green . Saves you time.
regards
Venky

Similar Messages

  • Process chain stops - previous processes are green

    Hi All,
    We have a process chain that loads our master data each night.  It chain is mostly made up of infopackages (mostly full loads) and the change run for those objects.  We recently upgraded from 3.5 to BI7, SP16. 
    Since the upgrade, this chain, and a few others just seem to stop.  They will start, and successfully complete some of the processes in the chain (all green), but then will not move on to the next process.  The next process will not be yellow, it just won't start. The overall status of the chain is yellow. 
    I am 100 percent sure there are no other chains running during this time frame.  This chain has been running for over 4 years in production, and we have never encountered this issue. 
    Last night, I removed the chain from the schedule, and then rescheduled.  I'm not sure if that is going to prevent us from having this issue.  I have also set the priority to high. 
    Should this prevent us from encountering this issue again?  I have searched OSS and found some related notes, but we are on a higher support pack than what is in the notes, so they are already applied.
    Any suggestions?
    Thanks!
    Charla

    The first thing that I'd recommend is to look at the Start Process Variants for the Process/Local Chains that are not starting. Specifically, I would check to see if the scheduling in those Start Process Variants are set to Direct Scheduling with Immediate Start or set to Start Using Meta Chain or API. It is possible that the conversion from BW 3.x to BW 7.x change the parameters of the scheduling withing the Start Process Variants, even though they were not physically changed and transported.
    My recollection is, when we upgraded Support Package Stacks, we had some Local Chains just change on their own where the Immediate Start checkbox mysteriously become unchecked.

  • Process chain stopped and unable to trigger next process

    Hi all , i am working on process chains, today process completed at DTP and the next process at activation of dso process failed and the rest of the pc completed even though the activation process is red. after the completion of that , chain process stopped, next pc didnt started.  plz help me wiht this, thanks in advance..

    you can evaluate a local chain as 'green' even if one of the steps is 'red'. in the planning view of the process chain, go to process chain --> attributes --> process status valuation. flag the checkbox. this will enable the next pc to start even after a red status of the local chain...
    detailed info:
    Red Outcome Renders Chain Green If Process Is Red
    If errors are raised for processes that have scheduled an event "With Errors" they are judged as successful for the determination of the overall status of the chain run.
    Use
    If this indicator is set, all the processes in this chain with errors are judged as successful with regard to the overall status of the run, if they have scheduled a successor process "With Errors" or "Always".
    Dependencies
    Mailing and alerting is not affected by this indicator. This is also triggered for processes with errors if this has a successor process "With Errors".
    Example
    You use this indicator in meta-chains to evaluate the run of a subchain as successful in spite of errors in "unimportant" processes. The successors to this process are "always" scheduled, while the successors to key processes are only scheduled "With Success".
    Accordingly, successors in the subchain within the meta-chain are only scheduled "With Success"; however they do continue to run if errors have only occurred in the unimportant processes of the subchain.

  • Process chain stopping in middle

    process chain stopping in middle , after a info-object present in the process chain has been manually set to green.Please advice me what to do????

    Hi,
    Please follow the below steps:
    Step 1:  At the step where the process chain is stuck
    Go to display messages -chain- copy variant, instance & start date
    Step 2:  Go to se16, table rspcprocesslog  execute
    Copy as below,
    Variant--  variante
    Instance   instance
    Batch datestart date
    This will give a single entry in the table rspcprocesslog.
    Step 3:  Go to se37, input FM RSPC_PROCESS_FINISH and execute
    Copy 
    Rspcprocesslog u2013 instance -
    I_INSTANCE.
    Rspcprocesslog u2013variante -
    I_VARIANT
    Rspcprocesslog u2013 logid----I_LOGID
    Rspcprocesslog u2013 type ---I_TYPE
    Enter u2018Gu2019 for parameter I_STATE and press execute (F8).
    After executing the above FM, with the above stated parameters,   the actual process will be set to green and the following process in the chain will be started and the chain can run to the end.
    -Vikram

  • Create Process Chains and add Process Types using ABAP

    Does anyone in here have experience in creating or changing a full Process Chain including the Process Types?
    The reason is, that we have a lot of source systems with "similar" loads.
    We already have an ABAP that can copy the chain and replace the InfoPackages. But we can't find a way to create/change a process, e.g. 'Hierarchy Save', 'PSA Delete' etc.
    Any ABAP samples is highly appreciated!
    Best Regards Jakob

    Hello Jakob
    did you find already this how to paper: "How to ... Implement custom process types" ?(https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/72e0e1ed-0c01-0010-74bc-b397c8c4dadc)
    It has a code sample in the appendix.
    Hope it helps,
    regards
    Martin
    Message was edited by: Martin Lehmann

  • Process chain stops in infopackage with yellow status

    Hi Gurus,
    We are experiencing some difficulties regarding the use of process chains with warnings. Our SAP BI system is connected to an ETL server which feeds us with data from other systems. We have a query that has a push-button functionality that starts a process chain beginning with data extraction with an infopackage and ending in a infocube. The problem we have nowadays is that whenever the ETL workflow fails the infopackage status remains yellow, while our objective would be a red status. To try and solve this problem we forced a timeout in the infopackage. Once we check the log in the process chain it displays a message containing something like "status request modified , do you wish to add subsequent processes?", if we say yes it refreshes the status of the infopackage to red and it all goes ok. What we want is to get rid of this warning and that the status is automatically changed. We've checked other posts and we didn't reach any conclusion... Note 708480 gives us a possibility of automatic desicion but how could we integrate it in our process chains since it is based on shcedulling and not triggers?
    Your help would be much appreciated,
    Thank you
    Bruno Rodrigues

    Hi,
    We have two connected links in the process, one to continue the process chain when process status is green and other link to red status. The problem is the process status remains yellow until our confirmation in pop-up.
    The process chain should be started by user in web browser. So, it isn't possible run it in background.
    Thank you,
    Regards,
    BR

  • Process Chain Stopped in BI PRD

    Data Loading Error :
    Hi All,
    In BI PRoduction, all the process Chains are stopped and while Checking the errors, it is giving the error message as
    Errors while sending packages from OLTP to BI
    Diagnosis
    No IDocs could be sent to BI using RFC.
    System Response
    There are IDocs in the source system ALE outbox that did not arrive in the ALE inbox of BI.
    Further analysis:
    Check the TRFC log.
    You can access this log using the wizard or the menu path "Environment -> Transact. RFC -> In source system".
    Error handling:
    If the TRFC is incorrect, check whether the source system is fully connected to BI. In particular, check the authorizations of the background user in the source system.
    Morning, I have logged into BW Production, and saying BW Production is down. This is happening frequently.By the help of basis, the system is up.
    Please help on this issue.
    Thanks,
    Jelina.

    Thanks for the reply.
    I have Checked in ST22 and found, Time Out error is there.
    These are the error messages in ST22.
    The program "SAPMSSY1" has exceeded the maximum permitted runtime without interruption and has therefore been terminated.
    Error Analysis :
    After a specific time, the program is terminated to make the work area available to other users who may be waiting.
    This is to prevent a work area being blocked unnecessarily long by, for
    example:
    - Endless loops (DO, WHILE, ...),
    - Database accesses with a large result set
    - Database accesses without a suitable index (full table scan)
    The maximum runtime of a program is limited by the system profile
    parameter "rdisp/max_wprun_time". The current setting is 3600 seconds. If this time limit is exceeded, the system attempts to cancel any running SQL statement or signals the ABAP processor to stop the running program. Then the system waits another 60 seconds maximum. If the program is then still active,the work process is restarted.
    How to correct the Error :
    Programs with long runtime should generally be started as background jobs. If this is not possible, you can increase the system profile parameter "rdisp/max_wprun_time".
    Depending on the cause of the error, you may have to take one of the following measures:
    - Endless loop: Correct program;
    - Dataset resulting from database access is too large:
      Instead of "SELECT * ... ENDSELECT", use "SELECT * INTO internal table
      (for example);
    - Database has unsuitable index: Check index generation.
    If the error occures in a non-modified SAP program, you may be able to find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following keywords:
    "TIME_OUT" " "
    "SAPMSSY1" or "SAPMSSY1"
    "REMOTE_FUNCTION_CALL"
    If you cannot solve the problem yourself and want to send an error notification to SAP, include the following information:
    1. The description of the current problem (short dump)
       To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
       Display the system log by calling transaction SM21.
       Restrict the time interval to 10 minutes before and five minutes after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP program: The source code of the program
       In the editor, choose "Utilities->More Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    Thanks,
    Ram
    Edited by: Ram Siva on Jul 28, 2009 6:59 AM

  • Process chains stopped

    Hi,
       I am new to BI, my BI server got shotdown due to some reason and process chains are stopped. so how do it re run again? how do check which are stopped and how do re run manually ? any problem if we run manually ?can pls help any body. thanks in advance.
    Sari. K.

    Hi Sasi,
    Plz find here one of our expert explanation..
    How is it possible to restart a process chain at a failed step/request?
    Sometimes, it doesn't help to just set a request to green status in order to run the process chain from that step on to the end.
    You need to set the failed request/step to green in the database as well as you need to raise the event that will force the process chain to run to the end from the next request/step on.
    Therefore you need to open the messages of a failed step by right clicking on it and selecting 'display messages'.
    In the opened popup click on the tab 'Chain'.
    In a parallel session goto transaction se16 for table rspcprocesslog and display the entries with the following selections:
    1. copy the variant from the popup to the variante of table rspcprocesslog
    2. copy the instance from the popup to the instance of table rspcprocesslog
    3. copy the start date from the popup to the batch date of table rspcprocesslog
    Press F8 to display the entries of table rspcprocesslog.
    Now open another session and goto transaction se37. Enter RSPC_PROCESS_FINISH as the name of the function module and run the fm in test mode.
    Now copy the entries of table rspcprocesslog to the input parameters of the function module like described as follows:
    1. rspcprocesslog-log_id -> i_logid
    2. rspcprocesslog-type -> i_type
    3. rspcprocesslog-variante -> i_variant
    4. rspcprocesslog-instance -> i_instance
    5. enter 'G' for parameter i_state (sets the status to green).
    Now press F8 to run the fm.
    Now the actual process will be set to green and the following process in the chain will be started and the chain can run to the end.
    Of course you can also set the state of a specific step in the chain to any other possible value like 'R' = ended with errors, 'F' = finished, 'X' = cancelled....
    Check out the value help on field rspcprocesslog-state in transaction se16 for the possible values.
    Regards.....KP

  • Process chain stopped in the middle ?

    I have a PC in production and its really strange that after the DTP step ,ODS activation step in the PC did not run and the chain status shows in the yellow color, I know if it fails in the activation step we need to see the error and fix it. But here neither its yellow which means running and not red, its just did not execute and the dtp is successful....and there are a lot of chains next to this chain. SO how to make it run, and what do i do ? there is no job running in the SM37 related to it. Please help.

    Hi ,
    Please perform the below steps, this will solve your issue.
    Step 1:  At the step where the process chain is stuck
    Go to display messages -chain- copy variant, instance & start date
    Step 2:  Go to se16, table rspcprocesslog  execute
    Copy as below,
    Variant--  variante
    Instance   instance
    Batch datestart date
    This will give a single entry in the table rspcprocesslog.
    Step 3:  Go to se37, input FM RSPC_PROCESS_FINISH and execute
    Copy 
    Rspcprocesslog u2013 instance -
    I_INSTANCE.
    Rspcprocesslog u2013variante -
    I_VARIANT
    Rspcprocesslog u2013 logid----I_LOGID
    Rspcprocesslog u2013 type ---I_TYPE
    Enter u2018Gu2019 for parameter I_STATE and press execute (F8).
    After executing the above FM, with the above stated parameters,   the actual process will be set to green and the following process in the chain will be started and the chain can run to the end.
    You can also check this blog:
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    -Vikram

  • Help with applescript to quit certain processes by name?

    Hey, for anyone who knows how to program applescripts well, I could use some help with the script below.
    I'm very new to applescripting and I'm trying to write a script that would automatically quit up to 100 instances of the Google Chrome Renderer process.
    Thanks to google, I found a script similar to what I wanted, and after some tinkering I thought I had it just right. The thing is, if I only set the app_name to Google Chrome, it quits Chrome just fine, but when I try it like this, it doesn't receive any data from grep or awk.
    If anyone can help I'd really appreciate it.
    repeat 100 times
              set app_name to "Google Chrome Renderer"
              set the_pid to (do shell script "ps ax | grep " & (quoted form of app_name) & " | grep -v grep | awk '{print $1}'")
              set new_pid to first word of the_pid
              try
                        if new_pid is not "0" or "1" then do shell script ("kill -9 " & new_pid)
              end try
    end repeat

    try this:
    tell application "System Events"
              set procs to (every process whose name is "Google Chrome Renderer")
              if (count of procs) > 100 then
                        set max to 100
              else
                        set max to count of procs
              end if
              repeat with i from 1 to max
                        tell (item i of procs) to quit
              end repeat
    end tell

  • Process Chain stops if no data

    Hello,
    My proccess chain stops if one of my infopackages doesn't return any data. How do I change the settings so no data returns a 'success' status??
    Thanks
    Sheena

    Hi,
         if there is no data then you process will be in yellow colour, and other process are waiting for this, we are also having the same problem and we change the status in monitor to green from yellow couple of times after that system automatically converts the status to green from yellow even though there is no data, i think you can try this option, which we used earlier and working fine now.
    Regards
    Sankar

  • How do you run a Process Chain using parrallel processing group

    Does anyone know the answer to the above question please?
    The problem i am getting is that currently the Process chain is running on the client server and is timing out!
    is there a config setting or some other setting that is needed to stop it from timing out?

    Hi Jas Matharu,
    Hope the following links will give u a clear idea about process chains and clear ur doubts.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/using%20process%20chains%20in%20sap%20business%20information%20warehouse
    Business Intelligence Old Forum (Read Only Archive)
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    Siggi's weblogs for data load error and how to restart process chain
    /people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    ****Assign Points If Helpful****
    Regards,
    Ravikanth.

  • Send Message from Process Chain Step without Process Log

    We send a mail message, depending on the success or failure of the process chain step, to user list.
    When the message is sent not only custom message but also the status information and the process log are sent.
    Our users are only interested about the result of the chain and they don' t want to view all technical information.
    Is it possible to send message without process log?
    Regards

    Hi,
    Take 2 process(red and green line) from each of the process in the process Chain, one is for sucessfull and other is for failure and at the end of the proces chain,  just put all failure process to the OR and have add a ABAP Program (with Not Sucessfull) and then just put all sucessfull process to the AND and have add a ABAP Program (with Sucessfull) .
    This wil send the mail to the users, when ever there is failure in PC any where, or sends a mail ..if the process chain completes sucessfully.
    If you want only add the send of mail option at the end of the process chain, we can just add 2 process (red and green line) and have same flow as above. so that.. it will only sends mail..when there is failure or sucessfull of the process chian.
    Hope it helps ......

  • How to check the status of other process chain from one process chain

    Hi All
    I have a requirement where I need to send an Email after successful completion of 3 process chains.
    all these 3 chains starts at same time.Out of these 3, one chain daily takes more time to complete.
    Is there any way so that in 3rd chain( the one that takes more time to complete) i can check whether the other two chains have completed successfully or not.So that when this chain gets complete I can send the success notification for all the three chains.
    If possible please tell me the step by step procedure for doing this.
    I have no question on sending Email through process chain.
    Regards
    Ashish

    Hi
    The OS Command is used for the following:
    You use this process type to stop a system command in the operating system of an application server.
    In the process maintenance for the operating system command, define:
    The logical name of the operating system command you want to stop.
    A command defined in transaction SM49 is used here. You can also change the command using the Change pushbutton.
    The operating system of the application server on which you want to execute the command.
    Additional parameters, as long as the defined command permits them.
    The application server on which the command is to be executed. If you always want to use the current host, set the corresponding indicator. If you want to use a host other than the current one, enter this in the Target Host field; the system automatically deselects the Current Host.
    After the run, you can find the standard text output by the command on the Process tab page of the log for this process.
    For processes you may have implemented yourself, you can access this log using the CL_RSPC_SYSTEMCOMMAND=>IF_RSPC_GET_LOG~GET_LOG method.
    I have never used the OS command myself, so I am not sure, whether it can be used in your case.
    Check the following link, it might help,
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/096d5a543b11d1898e0000e8322d00/frameset.htm
    Regards
    Shilpa

  • In a process chain,the next process is not triggering automatically?

    Hi All
    We have have a metachain,in that we have many local chains,in one of the local chain once the above process is successfully completed then the next process is not triggering automatically,which should suppose to happen?
    Can anyone help me out why this process is not triggering automatically and how/where to check?
    As this problem is repeating daily and loads are delayed due to this
    Regards
    Balji

    Hi,
      you can manually start that job, by changing the job insm37, it will show you the job priority ( A OR C.) you can change it to A, and youc an change your start condition also there.
    or you can use this RSPC_PROCESS_FINISH to trigfer process.
       But, process chain processes should be triggered automatically, i think this issue is due to load of jobs ( in your server there should  be lot of jobs having higher priority than this job), this will solved automatically when load is less.
    hope this will be helpfull.
    v.sen.
    Message was edited by:
            Senthilkumar Viswanathan

Maybe you are looking for