CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING MODE_RSTABLE = 'E' TABNAME = 'SFLIGHT' VARKEY = X_TABNAME = ' ' X_VARKEY = ' ' _SCOPE = '2' _WAIT = ' ' _COLLECT = ' ' EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3 ``` 其中,关键参数的说明如下: - `MODE_RSTABLE...
DATA: TABLE LIKE RSTABLE-TABNAME VALUE 'MSEG'. START-OF-SELECTION. * CASE P_LOCK. * WHEN 'X'. CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING TABNAME = TABLE EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3. * IF SY-SUBRC <> 0. WRITE: / 'P_LOCK', SY-SUBRC. EXIT. ENDI...
We can use the function modules ENQUEUE_E_TABLE for locking tables and the function module DEQUEUE_E_TABLE for unlocking tables. With this method, we don't need to lock objects in order to lock the tables. In other words, any table can be locked/unlocked using these function modules. ...
Modifying a Z table and 'ENQUEUE_E_TABLE' 2011 Mar 13 Problems with ENQUEUE_E_TABLE/DEQUEUE_E_TABLE 2006 Dec 11 ENQUEUE_E_TABLE 2008 Dec 10 Locking customized data table with ENQUEUE_E_TABLE 2008 Nov 28 How to give combination of fields in VARKEY in EN... ...
Solved: Hi all, I have a cusmized table with two key fields. While modifying the table I am locking it ENQUEUE_E_TABLE function module. But it has only one key field .