Set process chain status to green despite an error

Hi everybody,
I've made a process chain with an ODS activation. If there's an error, an AND process comes with a message to users.
When an error occurs on the ODS activation, the process chain ends like I want but his status is red.
How can I do to set the status to green ? Is that possible ?
Thanks

Ok,
In that case it can be simplier than that.
You need after activation of ODS in your chain have two branches, one with error and another one with success.
In the case of the success the branch is connected to the rest of the chain and the rest of the chain will continue and remain green status for that chain as the overall result of the chain.
In the case of error the new branch is connected to a process that will always terminate with sucess. As an example you could create a variant for roll-up of aggregates of an Infocube. In these variant do not select any InfoCube and mark the option End Process Sucessfully if No Aggregates Exist. This will always force this process to OK, green status, and therefore will always end your chain as green status even when the ODS activation fails
Hope this helps.
Diogo.

Similar Messages

  • 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 shows incorrect status

    When ever i receive bad data requests from R/3, BW pulls the error requests into a separate PSA and pass-thru the good once in another PSA and then into datatarget.
    However the overall status is green for the job/package and the package when executed in ProcessChain does not show an errors. But the errors are not noticed until user notices it in the qyuery.
    How to capture such errors and notified, is their any automation possible? I have setup e-mail on process chain failures but these kind of errors are not captured because the overall status of request is GREEN.
    Here is the status on infopackage.
    Incorrect data records - error requests (total status GREEN)
    Diagnosis
    Data records were recognized as incorrect.
    System response
    The valid records were updated in the data target and can be used in reporting.
    The incorrect records were not written to the data target, but were posted retractively under a new request number in the PSA.
    Procedure
    Check the data in the error requests, correct the errors, and post the error requests.

    Hi Gopikrishna,
    Please check if "Error Handling" in the Update Tab of your Infopackage has been enabled, I guess it is.
    If this has been enabled , then the error recs will be isolated and only the Correct records will be posted into the Data Target. It is the responsibility of the BW Administrator to identify such errored records, correct them and Post it back to the DAta target. Because error handling is used, the Monitor will show Green, as all the error recs have been separated.
    To avoid this, you have to remove Error Handling from the INfopackage, then you will see the Load failing and the Process Step in the process chain would turn RED with the corresponding error messages.
    Regards,
    Praveen.

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

  • 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

  • Email notification for Process Chain Status

    Hi Experts
    Can any one suggest me how to setup Email Notification for the Process Chain status
    For eg If there is any error in the process chain is there any way that we get an Email notifications.
    Thanks

    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=64389689
    This can be perfectely done using Tcode ALRTCATDEF.
    1. go to ALRTCATDEF
    2. select classification "Process Chains"
    3. click on display/change
    4. double-click on "error in a process of a process chain"
    5. click on "fixed recipients"
    6. write in your username (you have to maintain your e-mail address in SU01 for that to work)
    7. save
    8. go to your process chain (rspc)
    9. go into edit mode
    10. from the menu, select Process chain -> attributes -> alerting
    11. check "send alerts if errors occur".

  • Process chain variant for Acivaton of DSO error!!!

    I have a data flow which has three data sources A B C ...A and B are connected to DSO X and C is connected to DSO Y,
    DSO X and Y are again connected to DSO Z....DSO Z is connected to Final Target (Info Cube M).
    Now Iam created a Process chain ...After Start Variant Iam running the Delta Info Packs for B and C (A's Delta Info pack runs in some other chain).
    Then using  Update from PSA for  A B C ...using AND for A&B PSA to load in to DSO X...paralelly I used C PSA update in to DSO Y...Then used AND to load X& Y to Z...
    When I run the process chain it runs good twice...we created a job in SM37 to run this job for every 4 hours....when I come back and see ...DSO X has data loaded and activated
    But DSO Y loaded the data but activation doesnt took...When I see the Process chain logs its giving the following error msgs.
                                        - 1 -
          Request REQU_D3DR8GR9CPUIA56IMER47VWW7 (0000060949) is not
          available in data target. No PSA process possible.
    Like this error each chain is showing error messages with the request numbers which are already activated in DSO.I donno when the req is already there as active why activation looking for that old req?
    I fixed it by manually updating the DSOs and Cube...Can anybody let me know how to fix this in Process chain.
    Thanks for the help in advance

    I think you may have a timing issue, as when you perform this update manually there is no issue's.
    I would suggest you load both ODS's then you activate the data on both, then you have the AND step once both have been activated to then feed the data to the subsequent Infoprovider.
    This should resolve your issue.

  • 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 Green but log says "Termination of chain "

    Hello Friends,
    One of the Steps in a Sub Chain of the Meta Chain shows the log as follows:
    30.10.2009 05:20:28 Job started
    30.10.2009 05:20:28 Step 001 started (program RSPROCESS, variant &0000000049485, user ID SCMREMOTE)
    30.10.2009 05:20:35 Spool request (number 0000017553) created without immediate output
    30.10.2009 05:20:35 Entire chain now has status 'G'
    30.10.2009 05:20:35 Termination of chain has been reported to meta chain D6SBR9M64EV91ZX911UJI7K36
    30.10.2009 05:20:35 Job finished
    and the Step has changed to Green. So we normally assume that it has executed succesfully. Recently, there came this data issue. This step loads Open Sales Order data from a Cube to APO DP Planning area. Now few Open Sales Order Qty for a material are missing in planning area.
    Does this step in the Process chain has executed Succefully or as the log says is it terminated? Though the step changes to green , were all the materials not loaded into planning area?
    Please advice and suggest.
    Thanks,
    Chandra.

    Hii
    This log shows that chain has been successfully terminated. This is a common log
    The missing of Open Sales Order Qty for a material  may be due to other reason .
    Try to get into more details for which Orders this has happened and check in the source system.
    Thanks
    Sonal...

  • Infopackage and process chain status

    Hello expert,
    I am new in BW technology and I need some help...
    Well I have created a process chain in order to load data into infoprovider. This process chain is running everyday in production system, (it's a tipical PC: delete PSA request, run infopackage, run DTP....)
    I have checked the last status of the process chain and it's yellow since two days ago... It was due a communication error between ERP and BW system, therefore (for some reason), the infopackages started but never ended (always yellow status).
    So, my questions are:
    1.- Is there any configuration for the infopackage to prevent yellow status (for more than X time)?
    2.- Could we control it in a process chain?
    Thank you and best regards

    Hi,
    We can configure for infopackage incase of no records found however you can setup for time linmit.
    You can set the status the request is to receive per InfoPackage in the Scheduler, via Scheduler   Warning Handling. This setting overrides the system-wide setting.
    Check the below link for more info :
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a65cfe07211d2acb80000e829fbfe/frameset.htm
    Regards,
    Satya

  • Process in Process chain yellow instead green

    Experts,
    since a few days we face the following problem in our productive BW machine:
    in process chains specific process steps (mainly infoPackages and DTPs) remain
    yellow although the InfoPackage/DTP itself is green. This leads to the situation that the chain
    does not continue.
    Has anyone faced a similar poblem and can povide a solutiont? what's wrong here?
    Best regards
    Stefan

    Hi Stefan,
    Check if there are any other infopackage/DTp loads for this DSO/ info cube was running at the same time or may be a bit earlier due to which load into the Data target was not being successful and remained in YELLOW status forever.
    try using the FM  RSPC_PROCESS_FINISH to manually change the status of the PC to green.
    Regards
    KP

  • Process chain status

    dear all,
    i have a loading variant which does seem to either turn GREEN or RED even though the loading is successful. It just a YELLOW status for a few days now and it is not happening to 1 variant but multiple around the process chian. Attach is a print screen, please click on the link to view.
    Thank in advance for your reply. [Image of process chain.|http://content.screencast.com/users/SimonChia/folders/Jing/media/74473fe3-2b55-4021-8aaf-03072a77381b/2008-10-15_0754.png]

    Hi
    In the case of the DTP. It had triggered the next step when it failed. Because the next step. Then you repeated the failed DTP.
    It got successful, gave a green trigger but remain yellow.
    Yoa can say this a display problem or a bug in BI 7. Even though it is successful, it remains yellow in color.
    In case of the IP. It has completed successfully and reported the status successful.
    But I guess variant has not been generated for the next step.
    If the variant is generated.
    Then again it might be due to display.
    If the varaint is not generated for the next step. try using the program
    RSPC_PROCESS_FINISH
    turn the status to red, and then again to green using the program.
    if again the variant is not generated.
    Run the below steps mannually.
    Or copy the chain and run from the reaminig steps
    Hope this helps
    Regards
    Shilpa

  • Process chain status message in the custom screen.

    HI All,
    We have created a custom screen for hierarchy upload in BW once the file has been uploaded it will trigger an event which is triggering a process chain. The process happen like
    Upload the file from desktop it will go and sit in al11 folder
    Trigger an event which will trigger the process chain
    Infopackge routine has been written which will download the file for al11.Please find the attached screenshot is for your reference.
    Once the DTP has been completed we need to trigger a message which will tell us the status of the DTP like finished successfully or not. This message should have to show in the custom screen which we have provided to the customer.
    We are aware of mail recipient list option. Please suggest further options
    Many thank sin advance.
    Regards,
    Sakthivel S

    Hi Appana,
    Yes, we can identify any screen changes from sy-datar. It is set when I make any changes in the custom screen also. But I dont want to give a pop up every time I leave the custom screen. I want to give raise a pop up for saving the delivery document just like any other SAP screen (For eg. SAP Screens do not give a pop up when we move from one screen to another screen, but it gives a pop up if we try to do a subsequent functions like picking without saving the changes in delivery).
    Thanks
    Anil

  • Issue in Process Chain Status

    Hi,
    We have various process chains for daily loads. Among those some of the process chain shows the status as red, but the data loaded successfully in the targets. And subsequent chains are not getting triggered.
    Can someone let me know the solution for this please?
    Regards,
    Sarath.

    Hi Sarath,
    May be some of the process type got failed in the process chain, and it might got sucessfull only after manually resolving or may be after repeating from the Process chain, In these cases some times the process chain entire status turns to RED.
    You can forcefully change the process chain to Green.
    copy the variant and Instance of the process chain(or select the last process type in the process chain)
    goto SE11-->Enter the table RSPCPROCESSLOG and execute --> now enter the copied variant and instance here and execute, It'll give you a new pop up with a LOG id, copy this log id as well.
    Now gto se37>Functional module>RSPC_PROCESS_FINISH execute and the enter the copied vaiant, instance and logid, and also enter G (sucesfully completed) in I_State and now execute.

  • Process chain status RED even though successful

    Hi Gurus,
    Process of my procss chain show status as RED though it is successful and it does not stop the further processes. in the end whole chain is run successfully & this process showing red.
    What could be the reason.
    regards
    Vikash

    which process is failed data loading or activation job? is this chain automatically executed or some one scheduled manually? in general when a process failed and we ran it manually and you donot get a repeate option then we can trigger the remaining processes of this process chain using a funtion module in SE38, seems your remaining chain ran in the same way, after this also your process chain overall status will be in Red, if it is data load then you can force it to Green ( you ran it manually), so that your chain over all status will become Green.

Maybe you are looking for

  • Contacts and calendar won't sync to iphone

    So I just updated to 2.1, and then let the iphone sync. I noticed that changes that I made on iCal were not syncing to my iPhone, so I checked the boxes at the bottom of the info scree that said "replace information" for contacts and calendar. All of

  • How does iPhoto import pictures from iPhone photo stream?

    Sorry for so basic a question, but I thought I understood how this was working (in iOS 7 and this version of iPhoto 9.6)  But now, in Yosemite, and iOS 8, I am not sure what is occurring. My intent is to take pictures on the phone, and when I cable-s

  • Flex, Air, Flash, Flash builder, ASC2.0

    After the decision of moving Flex to apache, and with the release of Flash builder 4.7 I am getting a bit confused about what is what anymore. Flex development is moving to apache, yet the compilers, packaging tools and more seem to live inside the F

  • NullPointerException in SundayAfternoonAtJDC.accessNewThread()

    Nothing happening here, as usual. Any Neuromancer readers out there? I'm reading it again for the nth time, and I just wondered (close to the end after Case had met Neuromancer) what the connection between Dixie Flatline and Wintermute is. Wintermute

  • Print page to page

    Hello I am using visual studio 10 with crystal report13, I have a report with two details, the result of each print are two sheets, The problem is that I have 26,000 records, and the details (B) result in 52,000 records that are displayed correctly i