Process chains - Process type ends with complex status

Hi all
does anyone know how to use this functionality ? I've created a custom process type that ends with complex status. I assume I assign the different statuses with parameter E_STATE. But how do I retrieve the status in the process chain ?
Thanks a lot.
Eli G

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

Similar Messages

  • 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

  • How to know the process chain start time & end time?

    HI all .
    how to know the process chain start time & end time at the table level as well as in RSPC level .
    regards,
    Srinivas

    Hello,
    there is a program "/ssa/bwt" which will help you to know the exact time when the process was started and ended.
    but the thing is you have to provide name of the process chain with the date at which it was executed.
    another option is - you can double click on start process and on the last process of the chain.
    here, you will get both the timings... Start time of the start process will be the start time of your PC and end time of the last process in the chain will be end time of your PC.
    Hope this will help you.

  • Could RDF report end with warning status conditionally?

    Could I make the Oracle report concurrent program complete with warning status based on a condition?
    I know it is possible with PL/SQL concurrent requests, but with Oracle Reports how could I end the report with a status as warning indicating users to look into the log file.
    Thank you,
    Vinodh

    Hi DC,
    Thank you for quick feedback. But the report is not completing with warning status (still it completes as Normal). I want the concurrent program to end with warning status. So, by looking at the end status of the concurrent program the user would check the log by clicking the view log button.

  • Post-processing actions failed (Report Completed with Warning Status)

    Hi Friends,
    I'm developing custom PO Report using XMLP 5.0.0. Preview Of Template is coming properly while running the report , it completed with Warning Status.The Report is not working in UAT while it was passed DEV and TEST Env successfully. Please look at the below log details and help me
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 654357 on node GOLDBQ at 20-JUN-2007 08:07:22.
    Post-processing of request 654357 failed at 20-JUN-2007 08:07:32 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    ------------- 2) PRINT   -------------
    OPP Log Details
    [6/20/07 10:22:04 AM] [OPPServiceThread1] Post-processing request 654539.
    [6/20/07 10:22:05 AM] [3039:RT654539] Executing post-processing actions for request 654539.
    [6/20/07 10:22:06 AM] [3039:RT654539] Starting XML Publisher post-processing action.
    [6/20/07 10:22:06 AM] [3039:RT654539]
    Template code: XXTCPOXPRPOPG
    Template app: XXTC
    Language: en
    Territory: GB
    Output type: PDF
    [6/20/07 10:22:07 AM] [UNEXPECTED] [3039:RT654539] java.sql.SQLException: Non supported SQL92 token at position: 1:
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java(Compiled Code))
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java(Inlined Compiled Code))
         at oracle.jdbc.dbaccess.DBError.check_error(DBError.java(Inlined Compiled Code))
         at oracle.jdbc.driver.OracleSql.handleToken(OracleSql.java(Compiled Code))
         at oracle.jdbc.driver.OracleSql.handleODBC(OracleSql.java(Compiled Code))
         at oracle.jdbc.driver.OracleSql.parse(OracleSql.java(Inlined Compiled Code))
         at oracle.jdbc.driver.OracleConnection.nativeSQL(OracleConnection.java(Compiled Code))
         at oracle.jdbc.driver.OracleStatement.expandSqlEscapes(OracleStatement.java(Inlined Compiled Code))
         at oracle.jdbc.driver.OracleStatement.parseSqlKind(OracleStatement.java(Inlined Compiled Code))
         at oracle.jdbc.driver.OraclePreparedStatement.<init>(OraclePreparedStatement.java(Compiled Code))
         at oracle.jdbc.driver.OracleCallableStatement.<init>(OracleCallableStatement.java(Inlined Compiled Code))
         at oracle.jdbc.driver.OracleCallableStatement.<init>(OracleCallableStatement.java(Inlined Compiled Code))
         at oracle.jdbc.driver.OracleConnection.privatePrepareCall(OracleConnection.java(Compiled Code))
         at oracle.jdbc.driver.OracleConnection.prepareCall(OracleConnection.java(Compiled Code))
         at oracle.apps.fnd.cp.util.RemoteFile.transferFile(RemoteFile.java:168)
         at oracle.apps.fnd.cp.util.RemoteFile.transfer(RemoteFile.java:127)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:208)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [6/20/07 10:22:07 AM] [3039:RT654539] Completed post-processing actions for request 654539.
    END Of OPP Log Details
    Regards,
    Aanta
    Message was edited by:
    user526601

    HI ,
    i am also facing the same problem but i have one solution for this .... that opp err
    comes in 3 cases ....
    data output will be very large
    unable to insert data in template---->template design is wrong.....(in caseif xml is generated for that).
    the third case is that the data defination file is perfectly fine but when it have to insert data in template its not getting the path where the template is put.
    its all due to xml environment settings.
    Tell your DBA to verify the issue...send him the log and opp log.
    I expect that you will get what exactly the issues is.
    regards
    Ratnesh

  • Check syntax of process chain get three variants with yellow color

    When I click the "Checking View" picture icon to check the syntax of process chain, find there are three variants with yellow color.  All the displaying msgs of the three yellow color variants says:
    There must be a type "Read PSA and Update Data Target" process behind process "Execute InfoPackage" var.ZPAK_3WN4PJ43QNW7DC2Z3ZV532ZFF in the chain
    What does this mean?  Do we have to take care of the three yellow color errors?
    Thanks

    Hi Kevin,
    Sometimes you need to instruct process chains explicitly. Even though you have it mentione din your InfoPackage, still it needs another process (and variant) to load from the PSA to the data target. In the RSPC screen where all the processes are listed on the left hand side, under Load Processes and Post Processing, you will find Read PSA and Update Data Target as the second process.
    Hope this helps...

  • Is a save step neccessary in a Process Chain when loading hierarchies with an ABAP program?

    We are loading hierarchies using the ABAP routine found here in the SDN. 
    We have come accross the issue where the process chain loads successfully, but does not update the hierarchy (this problem is documented in the SDN).  It is not a consistent issue, but it causes problems when it does occur.
    OSS note 652856 points out that a SAVE HIERARCHY step is needed after the load and before the Change Attribute run.
    We have added the step to the process chain, which leads me to the question.
         In using the ABAP program to load hierarchies is the addition of the Save Hierarchy step necessary?
         Will that resolve the issue with hierarchies not updating?

    Hi Bill,
    Yes, SAVE HIERARCHY step is required when hierarchies are loaded as part of process chain. This step ensures that the hierarchy data loaded to BW has been saved. Then we have to run ACR so that these hierarchies will be activated and adjusted.
    This is the reason why even the hierarchy data loaded using infopackage needs this step. This step is not required if the Infopackage is triggered manually.
    This link will help you in better understanding
    http://help.sap.com/saphelp_nw04/helpdata/en/3d/320e3d89195c59e10000000a114084/content.htm
    Regards
    Chandu

  • Process chain doesn't even with errors in bacrground processes

    Hi experts,
    I need your help again.
    My client is using a process chain to automate the consolidation process in SEM-BCS. This is done using variants of programs UCBATCH01 and UCBATCH11.
    The problem now is that the process chain doesnu2019t stop even though the steps have errors. The validation tasks are the best example.
    Do you know a way to make the process chain stop?
    Best regards
    João Arvanas,

    Hi Marsy,
    I'm having the same issue as discussed in this thread and since I am still very new in BCS I have some additional question
    1. Is the status table for task that you are referring to = /1SEM/UCS001USV1 ?
    2. I read in another source that status table only store the latest run log ? not historical ? is that true or would you might be aware of a historical table ?
    3. The table split cons area task run status into each of the cons unit, so if one of them has error, basically the task error
    Thank You,

  • Process Chain - Processing overdue

    can any one tell me <b>when do i get</b> this error in a process chain object.. n also what do i need to do to correct this error.. we have started it manually ..
    ERROR MESSAGE is as follows on an object :-
    Non-updated Idocs found in Business Information Warehouse
    Diagnosis
    IDocs were found in the ALE inbox for Business Information Warehouse that are not updated. Processing is overdue.
    Error correction:
    Attempt to process the IDocs manually. You can process the IDocs manually using the Wizard or by selecting the IDocs with incorrect status and processing them manually.

    HI,
    following could be done to avoid this.
    1) Increase the background processes i the bw system.
    2) Prioratize the chain with class job A by going to sm37.
    3) try the data loads when the system  load is low.
    4) same withe r/3 system too. if the r/3 systems processors are busy it leads to time out errors.
    Hope it helps.
    sampath

  • XML Reports end with WARNING Status, Using Virtual Hostname by Veritas HA

    Dear Experts,
    We have upgraded our Application from 11.5.10.2 to R12, 12.1.3. Now in the Upgraded Application we are unable to open/view any of the XML based Concurrent Reports. All the XML Concurrent Reports are ending in Status WARNING.
    When we click on the View Out put, we are just getting the XML code and not the XML based reports.
    The log file of Out Put Postprocessor shows the following errors:
    ================================================
    5/28/13 12:40:20 PM] [STATEMENT] [960882:RT4152834] Get Output Type
    [5/28/13 12:40:20 PM] [STATEMENT] [960882:RT4152834] XML file name: /mnt/oracle/ERPROD/inst/apps/ERPROD_erp-lh-dr/logs/appl/conc/out/o4152834.out
    [5/28/13 12:40:20 PM] [STATEMENT] [960882:RT4152834] XML file is on node: ERP-LH-DR
    [5/28/13 12:40:20 PM] [UNEXPECTED] [960882:RT4152834] java.sql.SQLException: Exhausted Resultset
    at oracle.jdbc.driver.OracleResultSetImpl.getString(OracleResultSetImpl.java:1224)
    at oracle.apps.fnd.cp.util.CpUtil.getCanonicalLocalNode(CpUtil.java:127)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:244)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:176)
    [5/28/13 12:40:20 PM] [960882:RT4152834] Completed post-processing actions for request 4152834.
    And error like below:
    The error we are getting from the Application log files are related to Hostname. Following is the abstract from the Output Post Processor log.
    [5/29/13 2:56:02 PM] [UNEXPECTED] [960900:RT4155505] java.sql.SQLException: Exhausted Resultset
    at oracle.jdbc.driver.OracleResultSetImpl.getString(OracleResultSetImpl.java:1224)
    at oracle.apps.fnd.cp.util.CpUtil.getCanonicalLocalNode(CpUtil.java:127)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:244)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:176)
    ===============================================================
    Concurrent Manger Log files shows the following error:
    ===========================================================
    Executing request completion options...
    Output file size:
    430455
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 4158856 on node ERP-LH-DR at 30-MAY-2013 18:53:38.
    Post-processing of request 4158856 failed at 30-MAY-2013 18:53:38 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    Finished executing request completion options.
    Concurrent request completed
    ==========================================================
    **Please suggests:**
    **1- Is there any way to make these XML reports work with Veritas HA, using Virtual hostname**
    **2- Can we identify or pin point from where the Out Put Postprocessor is setting the Physical Hostname.**
    Regards
    Ali Ammar

    Hi,
    The metalink note Output Post Processor Fails Due to java.sql.SQLException: Exhausted Resultset [ID 740529.1], is not related to us, we have already verified that. In our case the Application is running on Virtual Hostname and this virtual hostname is taken care by Veritas Library, ACC.
    Secondly the FND_NODES also shows the Virtual hostname as the application is configured on Virtual Hostname. So in our case its not seems to be comming from the FND_NODES tables, rather it seems that some of the Java files/class is picking it by the OS command uname -a.
    So if we can find that class or environment file of java, we can export the Virtual Hostname as we used it in configuration. Please note that the Concurrent Manager and Application listener are also working fine on the Virtual Hostname, by using the Veritas library.
    Solaris:
    LD_PRELOAD_32=/usr/lib/secure/libvuname.so
    VHOSTNAME=<virtual hostname>
    Please suggest.
    Best Regards
    Ali Ammar.

  • CHAIN: custom process type: EVENT: complex status: bad planned jobs

    Hi experts,
    I've implemented a custom process type (in RSPC/Settings/MaintainProcess) called ZWX_COND.
    The main properties of ZWX_COND are: "ZCL_RSPC_DECISION" as ObjectTypeName, "00 ABAP Class" as ObjectType and "(Scheduled) processs ends with complex status" as PossibleEvents.
    Class ZCL_RSPC_DECISION is a copy of the standar one CL_RSPC_DECISION. I've only made the necessary changes in methods GET_EVENTS and GET_EVENT (I only need two events) and EXECUTE (to choose one of the two events depending on a customized table).
    I've made a main process chain with that new type (a decision step). I've connected that step with the process chain "A" for case ‘01’ and with the process chain "B" for case ‘02’. I've verified the main process chain and all is correct.
    Once I've activated and planned the main process chain, un unknown job BI_PROCESS_CHAIN appears. In addition, although the decision step ends correctly (green color) and the event RSPROCESS with parameter XXXX_02 is triggered (it's correct, since it's indicated in that way in the customized table), process chain "B" doesn't start. In fact, neither process chain "A" nor process chain "B" starts. Both process chains remain in yellow color, but the corresponding jobs are not activated or finished, they are just released.
    I see that the start condition (event parameter) for the planned jobs corresponding to process chains "A" and "B" is incorrect, since it is XXXX in both cases. I think the condition must be XXXX_01 for process chain "A" and XXXX_02 for process chain "B".
    I'd like to implement this process type because I want the process to end with a green status. If I use a custom process type with events "succesfull" or "incorrect", I can make the decision and the chain process works, but the process chain ends with red status when the event triggered is the "incorrect" one.
    Please, could somebody help me? I don't know if it's a program error or I'm implementing it in the wrong way.
    Thanks in advance,
    César Rueda
    PS. Sorry by my English
    Message was edited by:
            César Rueda
    Message was edited by:
            César Rueda

    Hi,
       i am experiencing the same thing .... have you got an answer , i did not see any notes on this type of issue .

  • Error in process chain pushing step

    Hi Experts,
    We encountered an error in process chain pushing step. The error is "Process ZXXXX, variant 4UBK25S73O99DNLFQ0Q55EBTY, ended with invalid status". Data is pushing from OHD to PI/XI system. Unable to trace error and even not able to see the variant in PC.
    Could any one please give us your inputs on the error, if you experienced such type of error message. Your inputs/suggestions are highly appreciable.
    Best Regards
    Venkat...

    Hi Ram, thank you for the quick response.
    Yes, at source, all requests are available for reporting.
    Source is a Cube and target is OHD (DB Table). From this OHD we are pushing data to PI system.
    PC flow is: Start--->DTP--->Push Interface. The push interface step got failed.
    Daily, it's working fine. Unfortunately, today failed
    Any insights please...
    BR
    Venkat...

  • Process Chain Ended with Errors - cause unknown

    I have had several instances of process chains stopping for no apparent reason.  The stops occur between 2 master data infopackage loads.  The last step is green and the next is grey.  The PSA table has been updated successfully for the last step.  All IDocs are in green status in both systems.  The monitor for the last successful step does say "Ended with Errors" although no errors are evident.  The process chain starts back up via Repeat at the next (grey) step and continues successfully.  There were no system problems or connection interruptions that occurred during the time the process chains failed.  There were no changes in the remote user profile.
    This exact problem has occurred a half dozen times since our application of ECC Support Packs several months ago and had not occurred before.  The infopackages are different each time. Two different process chains have had this problem.  I have re-activated and re-scheduled the process chains without solving the problem.
    Thanks for any ideas on why this may be occurring or what I can do to prevent it.
    Patty Moffatt

    Hi Des,
    Here's my BW release info:
    SAP_ABA        640       0019 SAPKA64019     Cross-Application
    SAP_BASIS      640       0019 SAPKB64019     SAP Basis          
    PI_BASIS       2005_1_6400009 SAPKIPYJ69     Basis Plug-In
    ST-PI          2005_1_6400008 SAPKITLQH8     SAP Solution Tools Plug-
    SAP_BW         350       0019 SAPKW35019   SAP_BW                      
    ECC SPs 13-21 were applied before the BW problem started:
    SAP_BASIS      640       0021 SAPKB64021    
    SAP_ABA        640       0021 SAPKA64021    
    PI_BASIS       2005_1_6400012 SAPKIPYJ6C   
    ST-PI          2005_1_6400008 SAPKITLQH8    
    SAP_BW         350       0021 SAPKW35021   
    PI             2004_1_5000016 SAPKIPZI6G    
    The process chain step and the monitor load both are green.  The Details tab shows all the processing is green, but the Process Chain itself is red with "Errors Occurred.  There have been no runtime dumps.
    Patty

  • Status of Abap program in process chain

    Hi,
    Is there a way to create process chain of type abap program that determine what the status of the process? In other words, to decide what the status color of the process (red/ green) according to some conditions in the code?
    Thanks,
    Mohamad

    Hi,
    look at this how to
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/509f3ae6-e36e-2910-48a8-ab43dc167dd9
    also:
    1.create a custom defined abap process type which ends correct or invalid
    2. create an abap whith 'E' message command (ends incorrect/red) or 'I' message tpye (ends correct/green)
    /manfred

  • Process chain did not stop at the failure step but continue till the end

    Hi Gurus,
    I have daily process chain which loads sem data
    suddenly the process chain fails with an SEM issue and once i fix and repeat the process, the process completed and completes all processes in the chain but still the chain status is in red which doesn't allow to kick the subsequent chain.
    For the same i again rerun the total local chain to get the PC status as green,
    Can anyone face this issue and help me to know why we are getting this type of issue.

    Hi Naresh,
    You can very well follow this practice to automate the loads. following are the steps.
    1. sa38 --> RSPC_PROCESS_FINISH.
    2. fill in following parameters.
    LOGID = (LOGID of current process chain execution)
    TYPE = (process type of failed step)
    VARIANT = (find value from failed chain step from background)
    INSTANCE = (find value from failed chain step from background)
    STATE = F (to mark it finish)
    3. execute.
    Please look into the below link for further details:
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    Hope this Helps,
    Thanks,
    Amit Kr.

Maybe you are looking for