DEQUEUE_EBKK8RK is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name DEQUEUE_EBKK8RK into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
DWBEN/SAPLFEN0005
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'DEQUEUE_EBKK8RK' "Release lock on object EBKK8RK
* EXPORTING
* mode_bkk8rk = 'E' " enqmode Lock mode for table BKK8RK
* mandt = SY-MANDT " bkk8rk-mandt 01th enqueue argument
* condarea = " bkk8rk-condarea 02th enqueue argument
* condgr_cat = " bkk8rk-condgr_cat 03th enqueue argument
* condgr = " bkk8rk-condgr 04th enqueue argument
* condcatg = " bkk8rk-condcatg 05th enqueue argument
* cond = " bkk8rk-cond 06th enqueue argument
* x_condarea = SPACE " Fill argument 02 with initial value?
* x_condgr_cat = SPACE " Fill argument 03 with initial value?
* x_condgr = SPACE " Fill argument 04 with initial value?
* x_condcatg = SPACE " Fill argument 05 with initial value?
* x_cond = SPACE " Fill argument 06 with initial value?
* _scope = '3' "
* _synchron = SPACE " Synchonous unlock
* _collect = ' ' " ddenqcoll Initially only collect lock
. " DEQUEUE_EBKK8RK
The ABAP code below is a full code listing to execute function module DEQUEUE_EBKK8RK including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
DATA(ld_mode_bkk8rk) = 'Check type of data required'.
SELECT single MANDT
FROM BKK8RK
INTO @DATA(ld_mandt).
SELECT single CONDAREA
FROM BKK8RK
INTO @DATA(ld_condarea).
SELECT single CONDGR_CAT
FROM BKK8RK
INTO @DATA(ld_condgr_cat).
SELECT single CONDGR
FROM BKK8RK
INTO @DATA(ld_condgr).
SELECT single CONDCATG
FROM BKK8RK
INTO @DATA(ld_condcatg).
SELECT single COND
FROM BKK8RK
INTO @DATA(ld_cond).
DATA(ld_x_condarea) = 'some text here'.
DATA(ld_x_condgr_cat) = 'some text here'.
DATA(ld_x_condgr) = 'some text here'.
DATA(ld_x_condcatg) = 'some text here'.
DATA(ld_x_cond) = 'some text here'.
DATA(ld__scope) = 'some text here'.
DATA(ld__synchron) = 'some text here'.
DATA(ld__collect) = 'Check type of data required'. . CALL FUNCTION 'DEQUEUE_EBKK8RK' * EXPORTING * mode_bkk8rk = ld_mode_bkk8rk * mandt = ld_mandt * condarea = ld_condarea * condgr_cat = ld_condgr_cat * condgr = ld_condgr * condcatg = ld_condcatg * cond = ld_cond * x_condarea = ld_x_condarea * x_condgr_cat = ld_x_condgr_cat * x_condgr = ld_x_condgr * x_condcatg = ld_x_condcatg * x_cond = ld_x_cond * _scope = ld__scope * _synchron = ld__synchron * _collect = ld__collect . " DEQUEUE_EBKK8RK
IF SY-SUBRC EQ 0. "All OK ENDIF.
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_mode_bkk8rk | TYPE ENQMODE , |
| ld_mandt | TYPE BKK8RK-MANDT , |
| ld_condarea | TYPE BKK8RK-CONDAREA , |
| ld_condgr_cat | TYPE BKK8RK-CONDGR_CAT , |
| ld_condgr | TYPE BKK8RK-CONDGR , |
| ld_condcatg | TYPE BKK8RK-CONDCATG , |
| ld_cond | TYPE BKK8RK-COND , |
| ld_x_condarea | TYPE STRING , |
| ld_x_condgr_cat | TYPE STRING , |
| ld_x_condgr | TYPE STRING , |
| ld_x_condcatg | TYPE STRING , |
| ld_x_cond | TYPE STRING , |
| ld__scope | TYPE STRING , |
| ld__synchron | TYPE STRING , |
| ld__collect | TYPE DDENQCOLL . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name DEQUEUE_EBKK8RK or its description.