Skip to Content
0
Former Member
Oct 31, 2009 at 05:13 PM

How to check for locks on a table inside a program?

25 Views

Hi Gurus,

Kindly let me know how to check for a lock on a particular table inside a program.I know that we can see locks on table held by a user from transaction SM12 but my requirement is to check for lock on MARA/MARC/MARV if lock exist then bypass my code else do the code.

Kindly suggest or give code to check for a lock on a particular table.

Thanks in advance

Sudipto