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...
used to lock a table ... Former Member 2008 Dec 1011:08 AM 0Kudos 2,249 SAP Managed Tags: ABAP Development Hi, Just search onSCNfor better idea about this FM. [SEARCH RESULTS|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=enqueue_e_table&adv=false&sortby=cm...
ENQUEUE_E_TABLE and DEQUEUE_E_TABLE Former Member on 2008 Aug 11 0 Kudos 438 SAP Managed Tags: ABAP Development, SAP ERP Dear all, Can anybody please tell me the significance of parameters in the above FMs. i.e. _SCOPE, _WAIT, _COLLECT, _SYNCHRON. Thanks a lot in advance....
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 .