ENQUEUE_E_ILM_STOR_CMS is a standard SAP function module that performs Request lock for object E_ILM_STOR_CMS 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_E_ILM_STOR_CMS into the relevant SAP transaction such as SE37 or SE80.
CALL FUNCTION 'ENQUEUE_E_ILM_STOR_CMS' "Request lock for object E_ILM_STOR_CMS
* EXPORTING
* mode_ilm_stor_s_cms_lock = 'E' " enqmode Lock mode for table ILM_STOR_S_CMS_LOCK
* crep_id = " ilm_stor_s_cms_lock-crep_id 01th enqueue argument
* doc_id = " ilm_stor_s_cms_lock-doc_id 02th enqueue argument
* x_crep_id = SPACE " Fill argument 01 with initial value?
* x_doc_id = 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_E_ILM_STOR_CMS