ENQUEUE_E_SRMHLELEML is a standard SAP function module that performs Request lock for object E_SRMHLELEML 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_SRMHLELEML into the relevant SAP transaction such as SE37 or SE80.
CALL FUNCTION 'ENQUEUE_E_SRMHLELEML' "Request lock for object E_SRMHLELEML
* EXPORTING
* mode_srmhleleml = 'E' " enqmode Lock mode for table SRMHLELEML
* mandt = SY-MANDT " srmhleleml-mandt 01th enqueue argument
* list_type = " srmhleleml-list_type 02th enqueue argument
* list_name = " srmhleleml-list_name 03th enqueue argument
* x_list_type = SPACE " Fill argument 02 with initial value?
* x_list_name = SPACE " Fill argument 03 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_SRMHLELEML