Background step is 'in process' status in PRD system

Hello All,
I have a background step which uses function modules 'create_text' and 'SD_WF_ORDER_REJECT' to update the documents.
This step is in 'in process 'state' for 2 days in prd system. I checked st22 & swu2.
There is not errors found.
How do i reprocess this background step in live system.
In dev system it's working fine.
Wat could be the reason? Any inputs will be appreciated.
Thanks...

OK.  Next step is to work out why.
1)  Does the issue happen with all workitems, or just the one.
2)  If just one, look at the container of the workitem and compare the data to what the process actually requires.  Also check if there is a possibility of the document object being locked due to some outside (of workflow) process.
3)  If all, Try running the method in SWO1 in debug to ascertain what it is which makes the PRD system different to that in which you developed the workflow.  REMEMBER TO EXIT THE PROCESS BEFORE UPDATE as it is a production system.
If neither helps, please post any messages from the detailed log for both the workflow F item and the background item, along with an extract of the method code where the issue occurs and we will see what else could be the cause.
Regards
Gareth

Similar Messages

  • How to view Work process status from Operating System level???

    Hi,
    How can I check work process status from Operating System in Unix. For example : In Windows, I can see the work process status from SAP MMC in WP Table.
    How can I view from Unix?
    Appreciate your feedback. Thanks.

    Hi,
    You can terminate. Please look into the menu given by DPMON carefully. You can kill the process using the k option.
    Otherwise you can also kill the process kill -9 <PID of the process>.
    Please do not terminate update and ENQ work process. This may lead to data loss. If the condition can not be control by killing some processes and again all the WPs are occupied. I recommend SAP system restart.
    Restart will ensure that all necessary roll backs happen and no data loss.
    With Regards,
    Saurabh

  • Background step in workflow remains in process: Workflow gets stuck up

    Hi Gurus,
    I have custom workflow for organization management. The workflow takes information from e-forms(notifications) and updates the infotypes.
    The step which updates infotypes is run as background step.However in some cases the workflow gets stuck up in this step.
    This happens irregularly (once or twice in a month).
    On processing these workflow instances using SWPC , nothing happens and the workflow remains stuck up in the same step.
    Also checked for dumps but nothing available under WF-BATCH.There is no regular pattern for occurance of these instances.
    Can you please suggest what can be the possible cause of them getting stuck up in the background task.
    Regards,
    Rohit

    Check ST22 shortdumps again. Look not only for WF-BATCH but also look for the intitator or the last processor's ID. Sometimes they would be the assigned the user to execute the step ecven if it's a background task.
    Also, I would suggest looking through the code of the method that is being executed carefully. Make sure there are no 'EXIT' or LEAVE' statements. This could also 'sometimes' cause the background process not to return correctly. In addition, check that you are not executing an ever lasting loop.
    If you have access in PRODUCTION, try to execute the method in debug mode to see where the program is inappropriately stopping (t-code SWO1).
    Derrick
    Banks & Company, LLC

  • EAS background processes status window is not listing the processes

    Hi All,
    When I choose to run a calc/report script at the background in EAS i dont see that process in the background process status window, it is just blank. but when i goto the session window to check, the process is still running. So background process status window is not list any processes that are chose to run at the background. Did anybody have this issue? Really appreciate your help to solve this problem.
    We are using Essbase 11.1.2.1. The issue is in the nonprod environment but it works fine in the prod environment which is running the same version.
    Thanks for you help..
    MD

    Hi Shiva,
    When I run a calc from EAS and If I choose to run at the background, I should see that process and all previous processes that were run at the background in "Background Process Status" window but i don't see anything there. What do I need to do in ESSVR?
    Hi Celvin,
    This is the JRE version and same in prod too.
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Oracle JRockit(R) (build R28.0.2-11-135406-1.6.0_20-20100624-2119-linux-x86_64, compiled mode)
    Thanks

  • PO Std Workflow stuck "In Process" status

    Dear Experts,
    I have a case where a PO workflow is stuck "In Process" for over 8hrs. The background step - that has the underlining method to set status of PO to released is stuck and has not completed. (WS14000145)
    I am not sure of what could have been the problem - possible locking or anything else?
    Could you please suggest me a way out?
    Do I have kill the workflow (logically delete) and restart it again or have any other way around?
    Many thanks!
    Vj

    Well, it appears to be a locking issue.
    I found entries in SM58 and SM12. However I released them but the workflow still continued to be in Hanged - IN Process status.
    I then cancelled the workflow and then manually set released the PO documents.
    Then the PO documents were fine and were possible to edit.
    Thank you.

  • Workitem stunned in 'in process' status

    Hi Export,
    I met a workflow problem in CRM.
    This workflow is for DPA approval.
    It generate a workflow in CRM, then trigger another workflow for approval in R/3.
    After approval completed in R/3, it call back to CRM, and then CRM update status and condition in DPA.
    Most of the workflow run correctly. But sometimes workflow met problem in step of update DPA. This background step stunned in 'In Process' status and will not change to complete status.
    I have to use tcode: SWPC for this workitem, and it can be found in this transaction. I need to click continue process and then this step can continue running.
    I checked workflow log and there is no any error message, all workitem status show green.
    Why it happen,and is there a method to fix this problem?
    Thanks.
    Peter

    Hi Prasath,
    Thanks for your help.
    I checked ST22, and found below error.
    WF-BATCH    UNCAUGHT_EXCEPTION    CX_OS_OBJECT_NOT_FOUND
    Description of this error is:
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_OS_OBJECT_NOT_FOUND', was
    neither
    caught nor passed along using a RAISING clause, in the procedure
    "IF_MERGE_PPF~MERGE" "(METHOD)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    Could not find the referenced object with the OID
    "00000000000000000000000000000000" (instance GUID) and
    "37AF698827994D45E10000009B38F9B7" (class GUID)
    Do you have any idea about this?
    Thanks
    Peter

  • Background step in 'In Pocess'

    Hi,
    I am facing a problem at Background step, workitem status is not changing , it is in state 'In process'. if i made changes as foreground step it working fine,But not in background. even if i executing from SWI1 also status remains same.
    In the mothod im executing a BDC fun.module.Please suggest.
    Regards,
    Rajkumar.

    ls_opt-racommit = space
    SAP help says that
    " " (COMMIT WORK terminates processing), "X" ( COMMIT WORK does not terminate processing).

  • How to change 'Processing status' of Purchase Requisition

    Hi Workflow Gurus,
    I have query on Purchase Rquisition Item Release Workflow. My requirement is like,
    Whenever a PR approver rejects the PR item then the processing status of the PR item should be changed from "In Process" to 'Release Refused' without any user intervention i.e. in background.
    Please help me ASAP as I have my delivery deadline already coming in.
    Many thanks in Advance!!!
    Regards,
    Vikash

    Hi PJ,
    Mentioned  BAPI is not for changing the processing status but for Release status i.e. Blocked or released etc...
    I could get the solution by my own R&D. I am updating the database field EBAN-BANPR with required status and i am doing it in the Back ground.
    Its working fine now.
    Anyways Thanks for your quick response !
    Regards,
    Vikash

  • Workflow Step stays "In Process"

    Hi Experts,
    I have a workflow step which refers to a standard task. The step type indicates "Processing completion by event"
    The related standard BO event is already completed,  but this step is still 'In Process'. Probably the terminating event is not captured in the WF step.
    Please suggest how to set this workflow step to completed status so that it moves on. (Is it advisable to re-create the BO event manually through SWUE)
    Thanks in advance!
    Ali

    Thanks Paul.
    -Checked in SWEL, the terminating event is not issued
    - No dump found in ST22
    Please suggest how to set this workflow step to completed status so that it moves on. (Is it advisable to re-create the BO event manually through SWUE)
    Thanks in advance!
    ~Ali~

  • How to add steps to a process in Performance Management

    how do I add steps to the process in SPRO->Objective Setting and Appraisals->Define Tabs and Process Configuration for Template?
    any time I try to add a status/substatus to the process it is added as a process phase, not a step.
    Thanks,
    Tiberiu

    I found that when I select the phase and then try to add the step it works.
    i used to select the process, and that is why the step was added as a phase.

  • In sales stage combobox how to display the step of the process coach

    On the business talk page, in sales stage combobox how to display the step of the process coach and can be selected, not only sale stage?
    thank you.

    For example, in salesprocess list, there are SystemSaleProcess, RenewalSalesProcess and DefaultSalesProcess.
    And SystemSaleProcess includes grasp of the situation, the first proposal, estimate submitting, the second proposal 4 salesstages.
    And grasp of the situation, including needs confirmation, background of the case confirmed, current problem confirmation, schedule and estimate confirmations, current system configuration confirmation 5 steps.
    Now in deal page, the deal type selected SystemSaleProcess, the salesstage is grasp of the situation, the first proposal, estimate submitting, the second proposal 4 salesstage can be selected in the salesstage drop-down box.
    But if want to choose more than salesstage, would like to choose needs confirmation, background of the case confirmed, current problem confirmation, schedule and estimate confirmations, current system configuration confirmation 5 steps in the salesstage drop-down box, then how to do it?
    thank you.

  • Workflow in process status when work is completed and returned to inbox

    Issue...
    Once upgraded to ECC 5.0, our Workflows are still in process status after completing the work item and returning to inbox. Takes several seconds to go to completed status.
    More detail...
    In a number of our work items in custom workflows we utilize methods that display a custom transaction for review & approval in the workflow process. From within the custom transaction we issue the terminating event for the work item by means of Function Module "SAP_WAPI_CREATE_EVENT" once the user approves or disapproves the work item.
    This worked all very well in Rel. 4.6c. By the time the users were routed back to their inbox the work item had disappeared.
    We recently upgraded to ECC 5.0 and experience the following problem. Once the user has left the work item and are back in their inbox, the work item is still on display. It eventually goes away once the users refresh their screen after a few seconds. This is very confusing to the users and some of them even wanting to start executing the same item again....
    I was wondering if anybody has any ideas on how the completion/termination of the work item could be changed so that it completes faster and is gone from the inbox immediately.
    In our research we did come across OSS note 831443, which explains as of release 6.20 that work items will be locked while executing a method and that the terminating event can only be delivered once it is unlocked. Taking this into consideration, we tried moving the terminating event to the end of the method within the business object program, but the work item never completed, even after refreshing the inbox.
    Thank you for any feedback.

    Hello Tom,
    I've had quite a similar problem with the terminating event in a dialog while the workitem is locked.
    I came across the same SAPNote 831443, but it doesn't seem to tell the whole story there. As I found out, the status change (from "in work" to "complete") is just skipped over, while the workflow continues with processing, leaving a last workitem "in work" hanging out to dry when the whole process has already finished.
    Basically the problem is, or was, that a popup dialog was shown to the user after the processed the transaction, which held the lock open. I have found no logs, saying that there was a problem with a locked workitem, anyhow.
    At last I have found out, that basically there shouldn't be much coding between the <b>COMMIT WORK</b> statement and the coding that just ends the method with <b>END METHOD</b>. This kind of procedure does definitly apply to the newer Versions, as I didn't have any problems like this before. Mayhaps and only a guess is, that the unlock-operation was previously registered with a perform like PERFORM unlock_workitem ON COMMIT. or something similar. This defenitly has changed under the new releases.
    In your specific case I would recommend to register the event processing in the update task and end the workitem's method as soon, as possible. For example:
    CALL FUNCTION 'SWE_EVENT_CREATE' IN UPDATE TASK   ...
    If this still does not help, you could further disjoin the transaction processing from the event creation by adding
    STARTING NEW TASK
    IN BACKGROUND MODE
    or whatever the correct syntax was here. This will schedule another tRFC on the database commit, which then is defenitly be picked up by another work process of the application server, just right -- hopefully -- after the object's method has completed.
    If you're feeling good with this answers, or it least it gave you new ideas to look upon, please assign points as appropriate.
    Best wishes,
    Florin

  • Disable processing status "Locked" for tempaltes

    A template in cProjects has these processing statuses:
    - created
    - released
    - locked
    - obsolete
    I would to deactivate the status "locked".
    Is this possible? If yes, is it also possible if there are already templates that are "locked", or should i "unlock" then before.

    Hi Daniel,
    You can achive this through transaction BS12.
    Select object type DX1 (Project Template). Then Go to Allowed business transaction from the menu bar.
    Untick the business transactions DX07 and DX08.
    The above mentioned steps will decativate lock and unlock status for cProject templates.
    Regards
    Amit

  • Processing Status in Travel Request ESS

    Dear all Gurus,
    I am implementing travel request approval process on ESS/MSS. After employee submits an travel request via ESS the processing status is set to have 'Released for Approval' status. Once manager approves the travel requests via MSS processing status gets 'Approved' status.
    The problem I am having is when manager rejects Travel Requests. The processing status is changing to 'In Processing' instead of 'Rejected'.  Do you know what needs to be done so that the status  is set to be 'rejected' once the manager rejects the Travel Requests.
    Regards,
    Namsheed

    You can change the text as indicated below ie 1411965 has steps in it http://wiki.scn.sap.com/wiki/display/ERPHCM/Adding+Reject+or+Cancel+Step+to+Workflow+Template SAP NOTE # 1411965 - Status after action in FITV_POWL_APPROVER, provides more information on this limitation and the configuration steps. Status comes from Table PTRV_PERIO Field ANTRG (Travel Request or Trip Approved (Indicator)) ABREC (Open / To be Settled / Settled (Indicator)) i.e. we have only request status from 1 - 6 and settlement status from 0 - 4. See the domain fixed values. BAPI_TRIP_CANCEL can be used to enhance the statuses. Please check the class CL_FITV_POWL_UTIL and method GET_STATUS_AFTER_REJECT

  • PL 05 Bizflow blocked in processing status

    Hello,
    I just install the PL05 of B1i, with JDBC driver for SQL server 2005.
    I tried to resubmit MATMAS03 object via B1i: extras/Error Inbox/<My subsidiary>/Retry, the object is removed from the error list but is not processed (no line is logged in B1i: Extras/Message log),
    I also tried to resend MATMAS03 object from R3, and i can see the objects in "Processing" status but they are blocked in this step, and never change status.
    Somebody has information on this PL05 issue ?
    Thanks,
    Fabrice.
    PS: i also tried with a DEBMAS05 object and the same behaviour occurs.

    Re-installing solved the problem (...hopefully !!!)

Maybe you are looking for