Workitem locked by a user

Hello gurus
I have a doubt because in the WF i'm using in a certain task sometimes when I try to complete the task an error msg appears saying "Workitem XXXX is locked by user WF_BATCH". A condition in the WF is immediately after this task, so the info went to the wrong direction every time this happens. Any ideas?
Regards IA.
Armando Miranda

Hello
Nope, nothing is being executed in parallel in that WF. Usually this happens when this user receives some requests in his UWL and try to solve them. The first one gives no problems but after that every task is locked.
We are writing to the container every time the user made a decision in the screen. In this case the user have 3 choices: "X". "Y" and "Z" with the values "0", "1" and "2". when the user choose "X" then a BAPI for writing a specific value in the container is executed and writes the "0" value, then the BAPI for WI completion and then the decision step takes the info and get everything in the "right" direction. But since the WI is locked, the value in the container is null, so the error comes.
Regards

Similar Messages

  • Workitem Lock  problem in workflow for leave request

    Hi Experts,
    I am facing the strange problem in the workflow of the leave request.
    We have implemented the two  level approval for workflow. For the first level approval we have created custom WebDynpro  application where approver approves the request and selects 2nd approver for the workflow. Here we are calling method initiate_state_transition of class/interface if_pt_req_request to change the status of workflow from sent to approved in custom WebDynpro  application .
    For the second level approval we are using standard approval application.
    When 1st approver approves the request, workflow moves to next task, but this task gives error "Work item 000000605682 locked by user SD21690 (enqueue error)".
    I am not getting why this is happening?
    Could you please help me.
    Thanks
    Sameer

    Hi
    As you have developed a custom application for first level approver where the status of record is being changed from sent to approved.
    please check what is the workitem number that is initiated. If its 605682 and the first approver is SD21690 then please make sure you release that workitem in your webdynpro application.
    You must have customized the workflow to add the first approver step. Where you would be mentioning the name of the custom application in SWFVISU against your custom task.
    The problem is with the workflow so please check the workflow. Your first approer is not releasing the workitem post approval and that is the reason for lock.
    Vivek - this lock is not enque lock its a workitem lock.
    Please revert with further questions if required.
    thank you
    barin

  • Error while query execution - Query getting locked by another user execute

    Hi All,
    I am facing an issue ..
    When I execute a query I am getting an error message ie popping as blocked by some other user. And I able to see the lock when I go to SM12. If the other user logged off or if we unlock his entry, then both the workbook and query is getting executed as expected. What can be the reason for this phenomena?
    In my understanding, in the same time multiple users can execute the query /workbook. But in our case its not allowing.
    Can someone suggest a resolution at the earliest, as it is affecting the reports in live environment
    Regards
    Mathew

    The Bex Analyser (Front end) Patch is 501 and the SAP BI is 15.
    The error message that I am getting while executing the query is "The object requested is currently locked by user --". 
    When I go to SM12, I can see a lock in the user's name.

  • Error while updating PO - 'This document is locked by another user. Please

    All,
    While updating the PO through API (Oracle Version - 11i) we are getting the error message 'This document is locked by another user. Please try again later.' intermittently.
    We are using below API to update the PO through interface program.
    po_change_api1_s.update_po
    (x_po_number => <PO_NUMBER>,
    x_release_number => NULL,
    x_revision_number => v_revision_num,
    x_line_number => v_line_num,
    x_shipment_number => v_shipment_num,
    new_quantity => l_upd_price,
    new_price => NULL,
    new_promised_date => NULL,
    launch_approvals_flag => 'Y',
    update_source => NULL,
    VERSION => '1.0',
    x_override_date => SYSDATE,
    x_api_errors => v_api_errors,
    p_buyer_name => NULL
    Client is very keen to know the root cause of the error message, Does any has any idea ? Our concurrent program has been configured incompatibility, so one program will at a given time.
    It would be great if anyone can give me some valuable inputs to debug this error message.
    Thanks,

    Hello,
    I am also facing same issue. In my code I am updating PO lines using Update_PO API. Whenever I am trying to Update 2 Lines on same PO. One get successfully update and for second line getting same error 'This document is locked by another user.'
    Please help me for this..
    Thanks in advance.
    Thanks
    Ravi Raj.

  • Project Locked by another user

    Ok, I kind of broke my MacBook Pro and had to buy another one. I took the HDD out of my old MacBook and connected it to my new MacBook through a SATA to USB converter. I am trying to get my iMovie projects off the old drive but it tells me that the project is locked by another user, the username that I had on my old MacBook. I have tried everything to get it open including copying it to the shared folder, taking ownership, and changing permissions and no luck. Any ideas short of swapping the HDDs.

    Needed to delete a file within the project called "Project.lock"

  • " Project Locked by Other User" HELP!!!

    Hi Everyone!
    I am having a problem opening my daughters 1st year DVD. Last summer, our iMac died, and we replaced the hard drive. We were able to salvage all the files, and put them onto an external.
    Now, I am trying to open one of those salvaged files from iDVD, and I am getting this message:
    The project Mairead...The first year1 is locked by the user Steph (user ID 501): 2008-11-30 17:23:42 -0500.
    The project can't be opened at this time.
    I've tried switching the username to Steph, and it still doesn't work. When I click on it and open the info, it says everyone is "read and/or write" ---
    Please help!!! I don't know what to do...
    Thanks!

    Take a look at:
    http://discussions.apple.com/thread.jspa?threadID=1495274
    especially the comment by markwd21

  • Rule returns no agent and workitem sent to all users

    Hi,
    In my workflow I have defined a rule fot a workitem. The task is general task. When this rule does not return a possible agent system is sending workitem to all the users in the system.
    I tried to make the task general forwarding not allowed, then the workitem is not triggered saying no agent assigned though my rule results in an agent.
    I can give a user of workflow administrator or dummy user in rule - function module. But what is the standard way of solving this issue. I was expecting the workflow to go into error mode when my rule - function module returns no agent instead its going to the inbox of all users in the system.
    Please advise.
    Best Regards,
    Aleem Mohiuddin.

    In PFAC ubder Rule definition tab...
    You have a chck box for  "Terminate if rule resolution without result"
    Please cheeck this and try.

  • Hard drive access locked to all users

    I have a second internal HD on my Power Mac G5 that is locked to all users. I have tried many different things and have been unable to make it available to myself. I could just format the drive but there is valuable work data on there. Any help would be appreciated.

    Hi musicmn-
    Greetings and welcome to the Apple Discussion boards
    This happens even when logged in with an admin account?
    Are you able to repair the drive via Disk Utility?
    Luck-
    -DaddyPaycheck

  • How to suppres Forms Default Locking message with user freindly message?

    Hi,
    In general if the record being edited by current user is locked by another user working on the application, forms would give the dialog box 'Could not reserve record(2 tries). Keep trying?' Is there any way by which i can suppress this message and give user friendly message by capturing it in any trigger.
    Please suggest me?
    Seshu

    You should be able to modify the message to whatever you like by using an ON-MESSAGE or an ON_ERROR trigger. Then when/if the error happens, the default Oracle error message will be replaced by your message. An example is included.
    IF message_type = 'FRM' and message_code = 40350 then
         MESSAGE(WAREHOUSE ID NOT FOUND');
         MESSAGE(' ');
    ELSIF message_type = 'FRM' and message_code = 40401 then
         NULL;
    END IF;

  • Tcode for finding workitems executed by a user

    Hello All:
    Could you please tell me the t-code which is used to find the workitems executed by a user.
    Thanks

    Hi,
    Yes, SWI5 will do the job...
    I have additional question: Does someone know any other way(s) to find the work items executed by a user? Function modules, etc.? SWI5 gets extremely slow when you have a "billions" of work items in the system...
    Regards,
    Karri

  • Locking R/3 User

    Hi,
    We are developing a Webdynpro application.
    We have multiple screens or views to create or update a record related to any particular r/3 user.
    Since we have multiple screens and we are updating data for each screen. How can we lock R/3 user till the time we click on 'Save' button of last screen?
    Thanks & regards,
    Nilesh.

    Hi,
    for more information on locks, see http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/2d7037ecc92a7ee10000009b38f8cf/frameset.htm
    Regards, Heidi

  • Error mesage: Project locked by other user?

    Hello,
    I just re-opened my external hard drive after a month vacation from it and tried to open my IDVD file only to get an error message:
    Project locked by other user:
    The project ZOOOM demo reel 10-07 is locked by the user Video (used ID 501): 2007-12-19 10:42:27-600
    The project can't be opened at this time.
    I went into the file's "get info" and unlocked everything to no avail. I'm puzzled. I have never seen this before. Any help would be great.
    Thanks,
    Jordan

    Control click on the icon of your external drive and select Get Info. Check the box that says, "Ignore Ownership on this Volume." See if that solves it.
    Make sure that your hard drive is formatted for Apple. Should be Mac OS extended or Mac OS extended (journaled). But if you reformat, be sure to first move your data to another drive, because reformatting will erase all data on the drive.
    If that doesn't work, use the Disk Utility app on your Mac to do a permissions repair on both your startup drive and your external drive.

  • When opening elements 12, catalog is locked by another user

    When opening Elements 12, I get a message that catalog is locked by another user. No other applicatrions are open and computer was restarted

    Yes, I've seen this happen when the form contains a multi-line text field. What happens is that applications generated with the Web PL/SQL generator do optimistic locking by saving a copy of the original contents of each field in hidden fields. When you save the form, it calls the lck procedure in the TAPI, and passes the data from the hidden fields. In theory, if no-one has changed the data in the database since you first saw the form, the data in the hidden fields will match the current data in the database. This works fine for data that has no linefeeds or carriage returns. Unfortunately, if you have a long text field that may contain linefeeds or carriage returns, the browser may have changed the whitespace in the hidden field so that it no longer matches what is currently in the database.
    My current work-around is to do a post-generation change to the TAPI's lck procedure, so that it replaces all whitespace characters (tab, lf, cr, etc.) with spaces, and changes multiple spaces to single spaces in both the input data and the data from the database, so that they will only fail to match if the actual readable data has changed. Yes, post-generation changes are a pain, because you have to remember to do them EVERY time you generate - I usually put a reminder in the Comments on the item.
    Unfortunately, Oracle is not going to fix this because Designer is a "mature" product. I'm thinking of writing my own TAPI generator and my own Web PL/SQL generator that uses SCN (system change number) for its optimistic locking.

  • Project Locked by Other User! But it's me!

    Today I wanted to open an old (2006) iDVD projectfile (.dvdproj) with iDVD 7.1 and I got a messagebox of the program which said:
    "Project Locked by Other User
    The project America del Sur is locked by the user casper (user ID ###): 2006-04-30 20:253:34 +2000.
    The project can't be opened at this time
    <OK>"
    Does anybody knows what I can do about it to open my project. I want to burn a new DVD of this project. Please help me

    Take a look at: If your archived project can’t be used by others at http://docs.info.apple.com/article.html?path=iDVD/7.0/en/6719.html

  • Content area locked by a user and cannot be edited in  EP

    Hello,
    Whenever i try to enter settings for a system to integrate it with EP and close the window in a particular login,after logging off once when i try to change the settings again,it gives the message "editing is locked by that user and cannot be edited,even after changing to edit mode.
    Iam facing this problem since many days.Even after logging off many times,it doesn't allow to edit properties,and hence it becomes difficult to change even a single value.kindly help please.
    Regards,
    Somya

    hi somya,
    The lock can be removed by administrator. Until then you will get such message. if you have system admin rights, then
    Go to System administrator > Monitoring
    In detailed navigation under portal > Object locking. click that and you will get to see the locked objects. press unlock and the lock will be released.
    Regards,
    Ganesh N

Maybe you are looking for

  • Help using a mini display port to HDMI cable with MacBook Air and TV

    Hi, Apple gurus. I need help setting up my MacBook Air to my Vizio TV using a mini display port to HDMI cable that I just purchased on Amazon. And here's info about my MacBook Air: In the Amazon reviews, someone posted the following how-tos, which ar

  • Date Formatting error in JDBC adapter

    Hi, While inserting date using a Receiver JDBC Adapter i am getting a "Month not valid" error can anyone please tell me how do i pass date in the required format. Database is Oracle.

  • WRT350N compatibility with XBox 360 wireless adapter

    I just installed a new WRT350N - all my computers connect just fine - my XBox wireless adapter will not connect.  Is there a compatibility issue?

  • Web Layout different in Reports Builder to running in URL

    When I go to Run Web Layout for a report in the Oracle Reports Builder, the columns are formatted differently to when I run the report from a browser (ie. font is smaller and the columns seem to wrap when they seem to fit nicely when running Web Layo

  • Groupwise AddressBooKEntry reg

    I am new bee for Groupwise object API. I know that we can access all the Groupwise field values for each AddressBookEntry object (contact). Now I need to know the Name property value for each Groupwise Field. For example: To access the First name fie