Employee record remains locked after BAPI_EMPLOYEE_DEQUEUE

I use WebServices gererated by the wizard in SE37 to change Employee Data.
I call functions (through the webservice) in the following sequence:
BAPI_EMPLOYEE_ENQUEUE
BAPI_PERSDATA_CHANGE
BAPI_EMPLOYEE_DEQUEUE
The ENQUEUE and CHANGE operations work fine, but the record remains locked after that.
(as seen by SM12), it adds one more entry, and the employee remains locked. So question now is - how to successfully Dequeue it now ?
Here is a copy of entries as seen in SM12 after Enqueue, Change, and Dequeue:
800 MZZZZZB 13:26:31 E PLOGI 80001CP00010358 0 1
800 MZZZZZB 13:26:31 E PREL 80000001273############################## 1 1
800 MZZZZZB 13:27:07 E BUT000 8000000002083 0 1
Important: The entries disappear after a while, so there is a delay in DEQUEUE to take effect.
Is there any configuration/customization to make DEQUEUE happen immediately?
Thanks a lot...

Solved.

Similar Messages

  • Employee Record Remains Locked for a While After BAPI_EMPLOYEE_DEQUEUE

    Hi All,
    I'm exposing the following BAPI's:
    I'm calling the following  functions (through the webservice) in the following sequence:
    BAPI_EMPLOYEE_ENQUEUE
    BAPI_PERSDATA_CHANGE
    BAPI_EMPLOYEE_DEQUEUE
    The ENQUEUE and CHANGE operations work fine, m running the dequeue bapi but the record remains locked after that.
    (as seen by SM12), it adds one more entry, and the employee remains locked. So question now is u2013 how to successfully Dequeue it now ?
    Here is a copy of entries as seen in SM12 after Enqueue, Change, and Dequeue:
    800 MZZZZZB 13:Ǻ:31 E PLOGI 80001CP00010358 0 1
    800 MZZZZZB 13:26:31 E PREL 80000001273############################## 1 1
    800 MZZZZZB 13:27:07 E BUT000 8000000002083 0 1
    Important: The entries disappear after a while, so there is a delay in DEQUEUE to take effect.
    Is there any configuration/customization to make DEQUEUE happen immediately?

    Hi ,
    Try using commit work statement after deque FM., else use DEQUE_ALL FM.
    This may helps,
    thanks & regards,
    Kiran

  • Time Machine Lock in Preferences window doesn't remain locked after a system reboot

    I am not sure if this problem occurred in Lion or not, but in Mountain Lion, I'm noticing the lock in the lower left corner of the Time Machine preferences page doesn't remain locked after a reboot of the computer. Has anyone else noticed this issue? Is there a fix or is it a glitch that Apple will need to correct?

    From the menu bar, select  ▹ System Preferences ▹ Security & Privacy ▹ General ▹ Advanced... ▹ Require an administrator password to access locked preferences: On.

  • Record remains locked if computer hangs

    Hi
    I am running one application in oracle10.2.0.1.0 DB backend and forms 6i as front end.
    sometimes if the workstation, where users entering data through the application hangs, then the particular record of data remains locked even if workstation is restarted.
    The "STATUS" of the session id in v$session shows INACTIVE. The I have to kill that session id and then only the record becomes free to process further.
    Please give me any suggestion.
    RGds

    If you kill your client badly, you don't perform a clean logout, so the session on the database persists and also the locks for this session.
    Maybe you could modify the [sqlnet.expire_time|http://download.oracle.com/docs/cd/B19306_01/network.102/b14213/sqlnet.htm#sthref474] to get rid of the dead sessions faster.
    regards

  • Rows remain locked after merging workspace

    Hi there,
    I wasn't able to manually refresh a workspace with changes merged into LIVE workspace by another child workspace. It seems the rows merged into LIVE remain locked by the merged child workspace.
    The sample code below illustrates the problem:
    EXECUTE DBMS_WM.CreateWorkspace ('ws01', FALSE, 'WS not refreshed');
    EXECUTE DBMS_WM.GotoWorkspace ('ws01');
    SELECT DBMS_WM.GetWorkspace FROM DUAL;
    -- insert a POLE element
    DECLARE
         l_id          NUMBER;
    BEGIN
         SELECT seq_entity.NEXTVAL INTO l_id FROM DUAL;
         INSERT INTO pole (id, num) VALUES (l_id, '&NUM');
         COMMIT;
    END;
    EXECUTE DBMS_WM.GotoWorkspace ('LIVE');
    EXECUTE DBMS_WM.CreateWorkspace ('ws02', TRUE, 'WS not refreshed');
    EXECUTE DBMS_WM.GotoWorkspace ('ws02');
    SELECT DBMS_WM.GetWorkspace FROM DUAL;
    -- insert a POLE element
    DECLARE
         l_id          NUMBER;
    BEGIN
         SELECT seq_entity.NEXTVAL INTO l_id FROM DUAL;
         INSERT INTO pole (id, num) VALUES (l_id, '&NUM');
         COMMIT;
    END;
    EXECUTE DBMS_WM.GotoWorkspace ('LIVE');
    -- merge workspace ws02
    EXECUTE DBMS_WM.MergeWorkspace ('ws02');
    -- refresh workspace ws01
    EXECUTE DBMS_WM.RefreshWorkspace ('ws01');
    The following error message is displayed:
    ERROR at line 1:
    ORA-20034: attempt to INSERT a [i]Long postings are being truncated to ~1 kB at this time.

    Karina,
    Until the 9iR2 (9.2.0.1) release of OWM, all continually-refreshed (CR) workspaces are, by default, locked in pessimistic mode. So, a workspace shared lock will be automatically taken on any rows modified by a CR workspace. In addition, when rows modified by a CR workspace are merged to its' parent workspace, we carry the locks forward. We need to do this to ensure that no other workspace can further refresh/modify this row thereby breaking the pessimistic mode of the CR workspace.
    That is the reason you see the "row is locked" error. In other words, that is the current behaviour - it is not a bug.
    Having said that, in our next release (9.2.0.2.0 Patch kit - available on OTN in the Software section of Workspace Manager as of Jan 30, 2003), we have removed this restriction. So, once you upgrade to this new kit, you should see this problem disappear.
    Let us know if this works for you.
    Thanks,
    - Ramesh.

  • Notification remains locked after BDC of IW21...

    Hello, I have recorded two BDC sessions -- One for IW21 (Create Notification) and antoer for IW22 (Change Notification).  After I run the first BDC for IW21, I pass in the new notification number into second BDC to make changes to the newly created notification.
    When the second BDC is executed a message immediately displays stating that the notification is locked by user...and the BDC halts...
    I am executing the first BDC for IW21 with the following:
    CALL TRANSACTION 'IW21' USING bdcdata MODE 'E'.
    I'm wondering if it has to do with the mode I'm using ??
    Any assistance would be greatly appreciated...
    Thank you,
    Kim.

    Hi Kim,
    See this thread (different subject but similar result and, hopefully, resolution) Mass PO release using BAPI_PO_RELEASE fails
    Regards,   Andy

  • HT1414 After Voice over, opening code will not open ipad2 owing to not recognizing security code so remains locked have reset programmes but still does not work. How can I clear please my code was 2121 but will not open now?

    Hi, after turning on Voice over and then turning off the i pad 2,  I found that it would not turn on again as the locking code which always worked  till now,  2121 is not recognised. A voice can be heard when trying to enter the 4 letter code stating the letters
    I have tried to repair programme by resetting several times and also downloading i tune software as suggested by your advice centre but the i pad remains locked
    Please can you tell me how I can resolve this issue?
    Thanks  Derek Brown

    If it's slow on startup it would be extensions loading or LaunchDaemons starting up. 
    You should have a look in:
    /Library/LaunchDaemons
    /Library/Extensions
    You can count out anything in your home folder and it shouldn't put anything in /System as that's reserved for Apple. 

  • Between SAP Licenses and Employee Records Realtinship

    Hi Experts
    <u>The Scenario of the issue is as below.</u>
    <b>SAP Licenses held by the company is -- numbers.
    And the employee records including PD(appraisal),PA  & OM exceeds the allowed records numbers.</b>
    Qn1 Whats the realtion between SAP license and records ?
    Qn2 How to go about in this scenario?
    Qn3. Should i prioritise the existance of records in appraisals and delete the least priority after consulting the client?anyway OM & PA records should not be deleted.
    Please throw some light on the issue.

    Abhilash,
    Usually the SAP Licenses are with respect to named users and their rights to the system....
    If you have N licences of various types and M employees accessing SAp ( M > N ) then it will be an issue .. usually for services like ESS - you have a licence called employee user and for more access you have professional licenses etc...
    You could check the type of licenses that the company has and the number of licenses of each type and also the Contract signed with SAP as to the licensing policy..
    Arun
    Hope it helps...

  • Previous accessed record remains on OAGridBean component

    Hi
    We have a page that uses the OAGridBean component and an issue is raised when the user left the page through the main link, because when using the main link the processFormRequest is not performed and the clearCache() method of the OAGridBean is not executed... In this way, after leaving HGrid page through the main link, when choosing another record and going to the HGrid page again, the previous accessed record remains since the HGrid cache has not been cleaned.
    When leaving HGrid page through the return link, which executes the processFormRequest and call the clearCache() method of the OAGridBean the HGrid page works fine.
    The method clearCache() can only be called from processFormRequest and we cannot clear the cache in the processRequest.
    Any suggestion on this?
    Edited by: user508261 on Jan 15, 2009 9:22 AM

    Hi Mehta,
    It worked for me, Did you write the code in disable_previous_step method?
    method disable_previous_step.
    rv_disabled                = abap_false.
    IF is_gaf_info-mainstep = 'MAINSTEP_5'. < here you have to specify last step name from the FPM Configuration it should be hard coded value>
    rv_disabled              = abap_true.
    ENDIF.
    endmethod.
    Regards,
    Venkat

  • TS4006 Is it possible to revert to 'find and lock' after I clicked to erase?

    Is it possible to revert to 'find and lock' after I clicked to erase?

    Kryan73 wrote:
    …  after I import a new file, I have to then go searching for it amid all the other files…
    in a perfect world, you do know the recording date, and you simply scroll to that date.
    in a very perfect world, all your other imports are already tagged, so just have to create a smart list 'unrated' ...
    (I know those messy Events… a friend of mine constantly ignores my advice to check the time/date on his camera; on every battery swap, the cam creates a very erratic timestamp ... his actual recordings are listed as made in "2004" or in "2020" .... )

  • Hi All, Need help my iphone 4 lock after upgrape ios7.1 (no service). i buy a secondhand phone not know first apple id. please advise how to normalize

    Hi All, Need help my iphone 4 lock after upgrape ios7.1 (no service). i buy a secondhand phone not know first apple id. please advise how to normalize

    You will need the original owner of the iPhone to unlock it for you, or the iPhone will remain useless.  It has been Activation Locked, which is described here:
    http://support.apple.com/kb/HT5818

  • Persistance DB lock after browser crash

    Hi all !
    This is my problem.
    I have a web application that runs on OC4J. Occasionally (for I.E. errors) browser crash in the middle of a "select for update" transaction.
    So, for exactly 30 minutes, my DB record is locked. After that time resource is available.
    I tried to decrease session-timeout (ex. 5 minutes...) in web.xml but that time (30 minutes) doesn't change.
    If i restart OC4J the record is immediately available.
    Can you help me?
    Thanks!

    One of the following database connection timeout attributes should help:
    Wait For Used Connection Timeout (seconds)
    Max Active Time for a Used Connection (seconds)
    You can configure this values via the OC4J enterprise manager:
    Administration -> JDBC Resources
    Select you connection pool from the list "Connection Pools" and open the Attributes tab. There you will find the above mentioned timeout attributes.

  • Screen remains on after bringing it to my ear during a call (After ios 7 update)

    Screen remains on after bringing it to my ear during a call (After ios 7 update)

    Try these steps:
    Screen will not lock or go black when answering calls
    Verify mute or speaker have not been activated, just prior to placing your ear over the receiver.
    While on a call hold your hand over the top third of the display, and verify that the screen is locked or goes to sleep.
    Try turning iPhone off and then on again.
    (from http://support.apple.com/kb/TS2802)
    You might also want to try a reset:
    Reset: Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.

  • Special character in some of the employee records

    Hi,
    I have found special character in some of the employee records which is causing some reports to error out. Our instance is configured for English language and these special characters are unrecognized by the application. I have attached some employee names with the special character below.
    Request you to please look into this and reply ASAP.
    ===
    Employee Number      Full Name
    1278     M_ü_ller-Seydlitz, Mrs Hilda Suzanne
    1009     Evas, Mrs Sîan* Elynda
    ===
    Regards
    Parvathi Arun
    +919840861075
    [email protected]

    first you need to create a database function like the one below.
    the query to identify those records is then the below:
    select full_name from per_people_x
    where is_not_valid_text(full_name) = 'N'
    you can use the function also to verify other fields like addresses and so on.
    the corrective action according to me should be a manual one, meaning open the form and update the names not compliant.
    thanks
    regards
    create or replace
    function is_not_valid_text (p_text in varchar2) return varchar2 is
    v_is_valid varchar2(100) := 'Y';
    v_length number := length(p_text);
    begin
    for i in 1 .. v_length loop
    if not ( -- allowed char
    ascii(substr(p_text, i, 1)) between 65 and 90 -- from A to Z
    or ascii(substr(p_text, i, 1)) between 97 and 122 -- from a to z
    or ascii(substr(p_text, i, 1)) = 32
    or ascii(substr(p_text, i, 1)) = 46
    ) then
    v_is_valid := 'N';
    exit;
    end if;
    end loop;
    return v_is_valid;
    end is_not_valid_text;
    Edited by: Giuseppe Bonavita on 10-Dec-2012 11:43

  • IPAD Mini Locked after iOS upgrade, tried reset on iPAD did not work, plugged in and device not appearing in iTUNEs for reset/restore

    PAD Mini Locked after iOS upgrade, tried reset on iPAD did not work, plugged in and device not appearing in iTUNEs for reset/restore.  Just get an Apple Logo then a flashing blue screen as if it is caught booting up.   This has happened twice before and iTunes restore fixed it.  But this time device not appearing in iTunes.
    Running iTunes for PC.  But as stated restore has worked before!  Any help greatly appreciated!!

    Place the device in DFU mode and let iTunes restore the device to factory condition.

Maybe you are looking for

  • Can ethernet drives be backed up by Time Machine?

    I'm interested in getting an ethernet drive to share files between computers. Can my Time Machine drive (attached via FW800) find the ethernet drive and backup its contents? Thanks, Jeff

  • The delivery date is no use for the scheduling lines

    We are using scheduling agreement and automatic scheduling lines. but the delivery date is no use in MRP running. In scheduling agreement,I already maintain delivery time=2days and GR days=3 days. But after MRP running, I found the delivery line only

  • Customizing email subject line in Test Lab

    Hi All, First ques: I am wondering for system site administration access do we need an advanced license  or enterprise dedicated license will aslo provide us access to use system site. Second Question: While sending an email from test lab using the e

  • Loss of all sound on iPhone

    I've lost all sound on my iPhone from phone ringing to text alerts to simple clicking when typing etc. also volume controls and mute button don't work either. Tried 'settings' and rebooting the phone but unsuccessful. I updated the previous night to

  • Cannot open itunes on the youtube

    Cannot open itunes on the youtube, Im trying to click nothing happens