ENQUEUE_ESRT_CFG_TPLS is a standard SAP function module that performs Request lock for object ESRT_CFG_TPLS functionality. This is available within standard R/3 SAP systems depending on version and release level.
Below are the pattern details for this FM showing its interface including any import, export and tables parameters. There is also a list of Exceptions and for your convenience any standard documentation available. All this information and more can also be viewed if you enter the function module name ENQUEUE_ESRT_CFG_TPLS into the relevant SAP transaction such as SE37 or SE80.
CALL FUNCTION 'ENQUEUE_ESRT_CFG_TPLS' "Request lock for object ESRT_CFG_TPLS
* EXPORTING
* mode_srt_cfg_tpls_dir = 'E' " enqmode Lock mode for table SRT_CFG_TPLS_DIR
* type = " srt_cfg_tpls_dir-type 01th enqueue argument
* name = " srt_cfg_tpls_dir-name 02th enqueue argument
* x_type = SPACE " Fill argument 01 with initial value?
* x_name = SPACE " Fill argument 02 with initial value?
* _collect = ' ' " ddenqcoll Initially only collect lock
EXCEPTIONS
FOREIGN_LOCK = 1 " Object already locked
SYSTEM_FAILURE = 2 " Internal error from enqueue server
. " ENQUEUE_ESRT_CFG_TPLS