Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

about Lock/Unlock Function Module

can anyone tell me how I can know the Lock/Unlock Function Module for a customized table?

many thanks

Former Member
Former Member replied

Hi,

There are two function modules used to lock and unlock the tables. Those are mentioned below.

Unlocking the table

CALL FUNCTION 'DEQUEUE_E_TABLE'

EXPORTING

tabname = table_name

locking the table

CALL FUNCTION 'ENQUEUE_E_TABLE'

EXPORTING

tabname = table_name

EXCEPTIONS

foreign_lock = 1

system_failure = 2

OTHERS = 3.

Regards,

Abdur Rafique

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question