Skip to Content

Current Session Lock Entries

Hi,

I want to read the locked objects, which are locked in other sessions other than the current session.

I don't need current session locking entries.

I tried with fm ENQUEUE_READ but it is giving all locked entries including current sesstion.

Any info on this.

Thanks

aRs

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 20, 2007 at 08:25 PM

    Look at transaction SM12.

    Rob

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 20, 2007 at 08:28 PM

    Would SM12 be anyhelp for you.

    What actually you want to see.

    SM12 gives a list of all LOCKS at an instant for each user and his/her sessions.

    Thanks and regards,

    Ravi.

    NOTE: Points invited 😊.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 20, 2007 at 08:30 PM

    Hi Rob,

    I looking for ways to capture programatically the lock entries other than current session.

    Thanks

    aRs

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 20, 2007 at 08:46 PM

    Hi Rob,

    The Output table SEQG3 coming from fm ENQUEUE_READ don't have any info related to current session.

    In that case how will we filter the current session.

    Thanks

    aRs

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 20, 2007 at 09:25 PM

    Hi Rob,

    If same user has multiple sessions?

    Thanks

    aRs

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      I am facing the same sitauation but SM30 does lock by considering parallal sessions by same user.But it uses VIEW_ENQUEUE to check the locks.

      So SAP does tracks locks by sessions.I hope i am right here in saying this.

      Manish.

      Message was edited by:

      Manish Verma

  • author's profile photo Former Member
    Former Member
    Posted on May 09, 2014 at 11:34 AM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

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.