ENQUEUE_ERSBPCB_INST is a standard SAP function module that performs Request lock for object ERSBPCB_INST 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_ERSBPCB_INST into the relevant SAP transaction such as SE37 or SE80.
CALL FUNCTION 'ENQUEUE_ERSBPCB_INST' "Request lock for object ERSBPCB_INST
* EXPORTING
* mode_rsbpcb_inst = 'E' " enqmode Lock mode for table RSBPCB_INST
* appset_id = " rsbpcb_inst-appset_id 01th enqueue argument
* tmpl_id = " rsbpcb_inst-tmpl_id 02th enqueue argument
* tmpl_version = " rsbpcb_inst-tmpl_version 03th enqueue argument
* objvers = " rsbpcb_inst-objvers 04th enqueue argument
* instance_id = " rsbpcb_inst-instance_id 05th enqueue argument
* x_appset_id = SPACE " Fill argument 01 with initial value?
* x_tmpl_id = SPACE " Fill argument 02 with initial value?
* x_tmpl_version = SPACE " Fill argument 03 with initial value?
* x_objvers = SPACE " Fill argument 04 with initial value?
* x_instance_id = SPACE " Fill argument 05 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_ERSBPCB_INST