Application Development 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: 

How to Dynamically lock a table

Former Member
0 Kudos

Hi Friends,

Is there any ways to Dynamically lock a table.

The table name will be known only during executing the program.

Is there any FM to dynamically lock a table.

Thanks,

Gokul

1 ACCEPTED SOLUTION

Former Member
0 Kudos

CALL FUNCTION 'ENQUEUE_E_TABLEE'

& CALL FUNCTION 'DEQUEUE_ALL'

2 REPLIES 2

Former Member
0 Kudos

CALL FUNCTION 'ENQUEUE_E_TABLEE'

& CALL FUNCTION 'DEQUEUE_ALL'

Former Member
0 Kudos

Hi

try FM-VIEW_ENQUEUE passing action as E incase of locking and D in case of unlocking a table and pass the table name dynamically to view name exporting parameter