Skip to Content
author's profile photo Former Member
Former Member



Here is a very strange trouble we have. I' d like to know if you have already had this issue and how to solve it.

The FM HR_MAINTAIN_MASTERDATA is used in a specific FM to update actions (for interface).

On the COMMIT WORK (ligne 405) all the lock entries of the PERNR are deleted !

Then after for other infotypes we have the well known message PG 184 (Pernr is not yet locked)..and no update works of course...

It is like that since we have upgraded in EHP 6 SP3.

Any idea is appreciated to solve that very very strange behaviour.

Note that it worked very well for many years before the upgrade...




ps: Message OSS gives us no good answer.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 09, 2012 at 02:57 PM

    Check the _SCOPE used in locking the employee records, it is standard behavior for COMMIT WORK to trigger a release of some locks after update task ends. I suppose a default value of the called locking FM has changed (ENQUEUE or BAPI one) ?

    _SCOPE Definition of the lock duration with respect to an SAP LUW. Possible entry values include "1" for handling the lock in the same program, "2" for transferring the lock to the update, and "3" for handling the lock in the program and in the update.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      _SCOPE is 2.

      But I have forgotten to mention that in the Developpement system, everything works fine.

      The problem appears in the Quality system (same source code, same custo, same kernel)

      via SE37, at the first launchwe have the message PG 184, BUT if we launch again (with F8 again), everything is OK ! (no more lock are deleted) and all updates are correct, like in the DEV system.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.