VARKEY = X_TABNAME = ' ' X_VARKEY = ' ' _SCOPE = '2' _WAIT = ' ' _COLLECT = ' ' EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3 ``` 其中,关键参数的说明如下: - `MODE_RSTABLE`:指定锁定模式。'E'表示独占锁,即只能有一个用户对表进行读写操作。 - `TABNAME`:指定要...
* testing the locking of tables...data:varkeylikerstable-varkey.varkey=sy-mandt.* locking the tables...callfunction'ENQUEUE_E_TABLE'exporting* MODE_RSTABLE = 'E'tabname='MARA'varkey=varkey* X_TABNAME = ' '* X_VARKEY = ' '* _SCOPE = '2'* _WAIT = ' '* _COLLECT = 'X'exception...