Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

check Lock on a table

Former Member
0 Likes
1,101

Hi all,

Want to know, if there is a function to check , if a table has been locked, without actually locking the table.

Thanks

Reeta.

1 ACCEPTED SOLUTION
Read only

Sm1tje
Active Contributor
0 Likes
1,025

Not sure about the exact name, but it is something like ENQUEUE_CHECK. Via SM12 you can debug, and set generic breakpoint on statement : CALL FUNCTION.

Hi all,

Want to know, if there is a function to check , if a table has been locked, without actually locking the table.

Thanks

Reeta.

4 REPLIES 4
Read only

Former Member
0 Likes
1,025

locked for editing data entries????

Read only

former_member723628
Active Participant
0 Likes
1,025

Reeta,

You can use transaction SM12 to view lock entries for a specific table. Be advised that this is a maintenance transaction and it is possible to delete lock entries also which may cause unwanted results if not used with caution.

Regards,

Gajendra

Read only

Sm1tje
Active Contributor
0 Likes
1,026

Not sure about the exact name, but it is something like ENQUEUE_CHECK. Via SM12 you can debug, and set generic breakpoint on statement : CALL FUNCTION.

Read only

Former Member
0 Likes
1,025

Thank you everyone. Yes, the function name is ENQUEUE_READ and we can pass the table name to the function and see if it returns the ENQ table with any data. Transaction SM12 is a helpful one too.

Thanks again,

Reeta.