about Lock/Unlock Function Module
can anyone tell me how I can know the Lock/Unlock Function Module for a customized table?
many thanks
abdur rafique 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