ENQUEUE_E_BDS_BAR_EX is a standard SAP function module that performs Request lock for object E_BDS_BAR_EX 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_BDS_BAR_EX into the relevant SAP transaction such as SE37 or SE80.
CALL FUNCTION 'ENQUEUE_E_BDS_BAR_EX' "Request lock for object E_BDS_BAR_EX
* EXPORTING
* mode_bds_bar_ex = 'E' " enqmode Lock mode for table BDS_BAR_EX
* barcode = " bds_bar_ex-barcode 01th enqueue argument
* contrep = " bds_bar_ex-contrep 02th enqueue argument
* ex_doc_id = " bds_bar_ex-ex_doc_id 03th enqueue argument
* x_barcode = SPACE " Fill argument 01 with initial value?
* x_contrep = SPACE " Fill argument 02 with initial value?
* x_ex_doc_id = 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_BDS_BAR_EX