DEQUEUE_EJ_3GABEST 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_EJ_3GABEST into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
DWBEN/SAPLJEN0006
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'DEQUEUE_EJ_3GABEST' "Release lock on object EJ_3GABEST
* EXPORTING
* mode_j_3gabest = 'E' " enqmode Lock mode for table J_3GABEST
* mandt = SY-MANDT " j_3gabest-mandt 01th enqueue argument
* j_3gempfae = " j_3gabest-j_3gempfae 02th enqueue argument
* j_3gagext = " j_3gabest-j_3gagext 03th enqueue argument
* j_3gweext = " j_3gabest-j_3gweext 04th enqueue argument
* j_3grestyp = " j_3gabest-j_3grestyp 05th enqueue argument
* j_3gressou = " j_3gabest-j_3gressou 06th enqueue argument
* j_3glvart = " j_3gabest-j_3glvart 07th enqueue argument
* x_j_3gempfae = SPACE " Fill argument 02 with initial value?
* x_j_3gagext = SPACE " Fill argument 03 with initial value?
* x_j_3gweext = SPACE " Fill argument 04 with initial value?
* x_j_3grestyp = SPACE " Fill argument 05 with initial value?
* x_j_3gressou = SPACE " Fill argument 06 with initial value?
* x_j_3glvart = SPACE " Fill argument 07 with initial value?
* _scope = '3' "
* _synchron = SPACE " Synchonous unlock
* _collect = ' ' " ddenqcoll Initially only collect lock
. " DEQUEUE_EJ_3GABEST
The ABAP code below is a full code listing to execute function module DEQUEUE_EJ_3GABEST 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_j_3gabest) = 'Check type of data required'.
SELECT single MANDT
FROM J_3GABEST
INTO @DATA(ld_mandt).
SELECT single J_3GEMPFAE
FROM J_3GABEST
INTO @DATA(ld_j_3gempfae).
SELECT single J_3GAGEXT
FROM J_3GABEST
INTO @DATA(ld_j_3gagext).
SELECT single J_3GWEEXT
FROM J_3GABEST
INTO @DATA(ld_j_3gweext).
SELECT single J_3GRESTYP
FROM J_3GABEST
INTO @DATA(ld_j_3grestyp).
SELECT single J_3GRESSOU
FROM J_3GABEST
INTO @DATA(ld_j_3gressou).
SELECT single J_3GLVART
FROM J_3GABEST
INTO @DATA(ld_j_3glvart).
DATA(ld_x_j_3gempfae) = 'some text here'.
DATA(ld_x_j_3gagext) = 'some text here'.
DATA(ld_x_j_3gweext) = 'some text here'.
DATA(ld_x_j_3grestyp) = 'some text here'.
DATA(ld_x_j_3gressou) = 'some text here'.
DATA(ld_x_j_3glvart) = '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_EJ_3GABEST' * EXPORTING * mode_j_3gabest = ld_mode_j_3gabest * mandt = ld_mandt * j_3gempfae = ld_j_3gempfae * j_3gagext = ld_j_3gagext * j_3gweext = ld_j_3gweext * j_3grestyp = ld_j_3grestyp * j_3gressou = ld_j_3gressou * j_3glvart = ld_j_3glvart * x_j_3gempfae = ld_x_j_3gempfae * x_j_3gagext = ld_x_j_3gagext * x_j_3gweext = ld_x_j_3gweext * x_j_3grestyp = ld_x_j_3grestyp * x_j_3gressou = ld_x_j_3gressou * x_j_3glvart = ld_x_j_3glvart * _scope = ld__scope * _synchron = ld__synchron * _collect = ld__collect . " DEQUEUE_EJ_3GABEST
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_j_3gabest | TYPE ENQMODE , |
| ld_mandt | TYPE J_3GABEST-MANDT , |
| ld_j_3gempfae | TYPE J_3GABEST-J_3GEMPFAE , |
| ld_j_3gagext | TYPE J_3GABEST-J_3GAGEXT , |
| ld_j_3gweext | TYPE J_3GABEST-J_3GWEEXT , |
| ld_j_3grestyp | TYPE J_3GABEST-J_3GRESTYP , |
| ld_j_3gressou | TYPE J_3GABEST-J_3GRESSOU , |
| ld_j_3glvart | TYPE J_3GABEST-J_3GLVART , |
| ld_x_j_3gempfae | TYPE STRING , |
| ld_x_j_3gagext | TYPE STRING , |
| ld_x_j_3gweext | TYPE STRING , |
| ld_x_j_3grestyp | TYPE STRING , |
| ld_x_j_3gressou | TYPE STRING , |
| ld_x_j_3glvart | 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_EJ_3GABEST or its description.
DEQUEUE_EJ_3GABEST - Release lock on object EJ_3GABEST DEQUEUE_EJ_2GLPEP3 - Release lock on object EJ_2GLPEP3 DEQUEUE_EJ_2GLPELEGDOC - Release lock on object EJ_2GLPELEGDOC DEQUEUE_EJ_2GLPEDOCSFI - Release lock on object EJ_2GLPEDOCSFI DEQUEUE_EJ_2GLPDSD - Release lock on object EJ_2GLPDSD DEQUEUE_EJ_1SZEB_S - Release lock on object EJ_1SZEB_S