Reprocess - Workflow in process status

Hi All,
I am working with Workflow support,
I don't know How to reprocess Workflow with the status is IN process.
I know TC SWPR is a reprocess with error status.
Thanks & regards
Subramani.

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

Similar Messages

  • 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

  • When running the workflow background process for drop shipment order, sale order line's status gets automtically closed instead of awaiting shipping

    Hello friends,
    I am created a drop shipment order with all the setups done . now i have booked the sale order as source type external. but when i run the workflow background process , after completing the report when i check the sale order line status it changes to "closed" instead of "awaiting shipping".
    Plz guide me if i have missed something in the setups.
    thanks,
    Sachin

    Hi Sachin,
    pls check the below notes from MOS
    Drop Ship Sales Order Cycle In Order Management (Doc ID 749139.1)
    Vision Demo - How To Create A Drop Ship Sales Order/Purchase Order (Doc ID 1060343.1)
    Thanks
    -Arif.

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

  • Color workflow process status

    Hello,
    i want adding some color to the workflow process status.
    I find a link (http://www.orahyplabs.com/2010/08/customize-workflow-in-hyperion-planning.html) ...that explains how to do this...and so I'm wondering how access to two tables HSP_PM_ACTIONS
    and
    HSP_PM_STATES
    Cheers,

    in SQL Server I executed the code:
    update HSP_PM_STATES set COLOR = 'BLUE'
    where name = 'First Pass'
    update HSP_PM_STATES set COLOR = 'ORANGE'
    where name = 'Under Review'
    update HSP_PM_STATES set COLOR = 'GREEN'
    where name = 'Approved'
    update HSP_PM_STATES set COLOR = 'PURPLE'
    where name = 'Signed Off'
    update HSP_PM_STATES set COLOR = 'RED'
    where name = 'Not Signed Off'
    there's the color of the status 'First Pass' is changed to 'Blue'. the color of other statutes not.
    I verified the syntax of the names of various statutes ... it's okay
    why the other colors are not displayed
    i use Version 11.1.1.3
    cheers,

  • Workflow dialog in status in process.

    Dear Expert,
    I have a workflow template with a dialog step in it. This dialog task will actually have a few approval which means anyone can execute it. I notice something strange when i check this in SWIA, most of the this task will be in ready status as it is pending for those approval to approve it. However, there are a few of it is not in the ready status but is in "in process" status. I got some complain from the user, even they execute the task, it is still remain in their inbox.
    Can i know what is the different between ready and in process status? What will cause it to be in process? Will it related to the user issue where even after they execute the dialog step, it is still remain in their inbox.
    Thanks.
    Regards,
    Bryan.,

    Hi Arghadip,
    This is a decision task. The strange part is most of the step can be completed. Just a few are in this in process status.
    Thanks.
    Regards,
    Bryan.

  • 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

  • Can we set "IN PROCESS" Status to more than one User

    Hi,
    As per my client current scenario every work item will be sent to 3 useru2019s (One is the supervisor of the other two users). If any one of the user executes the work item it will automatically call a Ztransaction and displays the screen. When any one of the user executes the workitem, then the workitems will dissappears from rest of the users inboxes; Setting "IN PROCESS" status for the person who executed the workitem. The workitem will be in "IN PROCESS" Status untill the User Press "SAVE" button in the transaction.
    If the person whose executed the workitem (IN PROCESS) status, has gone on unplanned leave; then the supervisor wants to forward the workitem of the current user to other user. How can he forward?
    Is there any option to set "In Process" status to more than one User? [Supervisor and Person who executed the workitem]
    Please provide me any advice to the above requirement.
    Thanks in advance,
    Ajay Kumar

    Can you ask your workflow administrator to forward the workitem to the user you want to be sent it to.
    I tried a small case wherein I had forwarded a workitem to myself and another user.
    As I executed it , it went into status IN process and at the same time it got removed from other users inbox .
    Now I went to T Code SWI1 and forwarded iut to another user say USABC.
    As a result the workitem again went into status "Ready" and into the inbox of the user ABC.
    So , you can try this in your case with the help of your workflow administrator.
    Another way is to create the other user as a substitue of the user who is currently executing the workitem.

  • Approved requisition still in IN PROCESS status.

    HI,
    I have a requisition which is approved by last approver but still its in IN Process status and I am not able to get PO for that.I tried with Auto Create option but its giving requisition not yet approved.
    Please suggest if any work around is there to get the PO generate.
    Regards,
    Prakash
    Edited by: user623462 on 08-Feb-2012 06:57

    Please post the details of the application release, database version and OS.
    Please see these docs.
    All Purchase Orders or Requisitions Getting Stuck in Pre-Approved or In Process Status - Troubleshooting Checklist [ID 1104843.1]
    Troubleshooting for Requisitions / Purchase Orders in Process or Pre-Approved Status [ID 225017.1]
    Troubleshooting Issues in Purchasing Document Approval Processing [ID 1319686.1]
    A Guide To Understanding The Requisition Change Order Workflow Process [ID 472487.1]
    How To Diagnose Purchase Order And Requisition Workflows in Deferred Status? [ID 884391.1]
    Thanks,
    Hussein

  • Workflow approval process for cFolder

    Hi friends,
               We are using SRM 7.0 with PPS. Is it possible to implement workflow approval process in cFolder for Before Publish the RFx , Final approval of Bidder Technical Bid etc. If possible then How to implement workflow in cFolder?
    Regards,
    Abhijeet

    Hi Abhijeet,
    You do not have workflows in cFolders.
    Suggest to use status networks in cFolders instead.
    Best regards,
    Ramki

  • HCM process and forms - 'in process' status

    Hi all,
    I have configured a HCM p&f. The issue is that I am able to initiate the form only once and then it is always in 'in process' status.
    Is it something that I am missing in the workflow to pass the values?
    Could you please suggest.
    thanks much,
    Nandhini

    Hi,
    thanks for the reply. Workflow is activated and I checked the design time proces as well, cannot find any issue there.
    Regards,
    Nandhini

  • 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

  • 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

  • How to set Changed_by field with User ID not by Workflow ID, when Status Update from Workflow

    Hi Frds,
    I am updating the Order Status from Workflow. So the Status update (or Order Changed) is save with Workflow ID. I need to insert UserID instead of workflow ID. Please help me out of this.
    Thanks
    Imran

    Hi Imran
    With the very few details available on your process, the workflow design and the "Order", all I can suggest is that:
    1) In your workflow definition, go to the step which sends the user decision, in the binding FROM the TASK TO the Workflow, set _ACTUAL_AGENT to a workflow container element , say DECISION_AGENT (of type SWHACTOR)
    2) Assuming that the next step in APPROVAL branch is setting of the status, go the task ID of that Step -> make it a dialog step (remove the Background Processing check) -> set it's agent assignment to general task
    3) Back in the workflow, set that STATUS SETTING step to Advance With Dialog under the details tab
    4) In the control tab of the same step, in the agents section, set agent as EXPRESSION and the value as &DECISION_AGENT&
    When a user approves the decision item, his ID will be stored in DECISION_AGENT
    The status set will execute immediately (because of "Advance with Dialog")  in the same session of approving as the user who approved is the same running this step now
    The status will be set by the ID of the Approver
    The above is hypothetical considering
    1) You do not have dynamic parallel processing
    2) Status setting happens immediately after the approval; as a first step in the approval branch
    3) The Decision Task does not has "Confirm End of Processing" checked.
    Regards,
    Modak

  • Batch input session from F.05 has an 'in processing' status

    Hello all,
    We would like to ask for advice regarding an issue that we are facing right now. We ran F.05 on 9/30/2008. This transaction should create a batch input
    session and post revaluation at the end of the month and eventually
    reverse them at the beginning of the next month. Unfortunately, as of
    the date of the run, period 10 was not yet open. So, the results are
    the following:
    The batch input created, until now, has an 'in processing' status. 70
    transactions were supposed to be processed (but not sure if this is
    already the total or it still has some more to process -since we do not
    have a record of the supposed number of postings). Now, period 10 is
    already open and we are trying to reprocess the session, but it can't
    be because of its status.
    Looking at the transactions: total is 70 (but not sure if there are
    still more to be processed supposedly). 35 transactions (pertaining to
    the revaluation postings at the end of the month) have been processed and
    their revaluation documents were already produced. 35 transactions (pertaining to the
    supposed reversal on the first day of October) are in error because
    period 10 was not yet open as of run date. No logs have been created (blank).
    In the meantime, can we post manual reversals in October for the revaluation postings made in September? Is there a possibility that there are still revaluations to be processed for September? Let's say, instead of only 35, there are still more? Or another option: could we manually reverse the revaluation postings on September 30 and post on the same date, delete the batch input session (can it be deleted despite the status?), then run the revaluation transaction again for September?
    Thanks in advance for your advice.
    Regards,
    Peter

    Hi Peter,
    Go to SM35 > Select the session in process > Release session (Shift + F4)
    Now select the session again from "Overview" and process again in order to process the remaining documents. Ensure the period is opened.
    This should resolve the issue. Let me know how it goes.
    Rgds
    Nadini

Maybe you are looking for

  • Adding new Data Object while migrating from MI 2.5 to NM7.1

    Dear All,       We have a custom MI 2.5 application which we need to migrate to 7.1. While migration, we want to add a newly created data object also in migrated application. But when I try to import MBO model, it is not letting me import new data ob

  • Hard Drive Failure - need to upload from pod to PC

    My hard drive on my PC has completely broken down meaning I had to get a new one. As such I lost all my songs on iTunes. How do I transfer all my songs from my Ipod back to my new hard drive and iTunes? Many thanks David

  • Re: Qosmio G - Hidden files and folders not showing

    Hi folks, I have some hidden files and folders, which I was able to access before, and I used to click on the 'organise tab', view, Advanced Settings, show hidden files and folders, in order to hide or show the files. Unfortunately there seems to be

  • Audio Output Corruption when using USB MIDI keyboard controller

    recently, i'm getting intermittent corrupted audio output (short blips of distortion) while playing through my usb midi keyboard. i thought maybe some data got corrupted on the disk over time so i wiped the drive, reinstalled osx, installed all updat

  • Spotlight Going Haywire

    6 weeks or so ago I decided to take the TimeMachine plunge. While doing my initial backup TimeMachine would stall. Read some forums which said the thing to do was to exclude my hard drive from Spotlight during the initial TimeMachine backup. Did that