SAP DEQUEUE_EJ_3RKKR0 Function Module for Release lock on object EJ_3RKKR0









DEQUEUE_EJ_3RKKR0 is a standard dequeue ej 3rkkr0 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Release lock on object EJ_3RKKR0 processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for dequeue ej 3rkkr0 FM, simply by entering the name DEQUEUE_EJ_3RKKR0 into the relevant SAP transaction such as SE37 or SE38.

Function Group: /1BCDWBEN/JEN0001
Program Name: /1BCDWBEN/SAPLJEN0001
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function DEQUEUE_EJ_3RKKR0 pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'DEQUEUE_EJ_3RKKR0'"Release lock on object EJ_3RKKR0
EXPORTING
* MODE_J_3RKKR0 = 'E' "Lock mode for table J_3RKKR0
* HWAER = "09th enqueue argument
* X_BUKRS = ' ' "Fill argument 02 with initial value?
* X_GJAHR = ' ' "Fill argument 03 with initial value?
* X_DEBET = ' ' "Fill argument 04 with initial value?
* X_GSBERD = ' ' "Fill argument 05 with initial value?
* X_KREDIT = ' ' "Fill argument 06 with initial value?
* X_GSBERK = ' ' "Fill argument 07 with initial value?
* X_WAERS = ' ' "Fill argument 08 with initial value?
* X_HWAER = ' ' "Fill argument 09 with initial value?
* _SCOPE = '3' "
* MANDT = SY-MANDT "01th enqueue argument
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* BUKRS = "02th enqueue argument
* GJAHR = "03th enqueue argument
* DEBET = "04th enqueue argument
* GSBERD = "05th enqueue argument
* KREDIT = "06th enqueue argument
* GSBERK = "07th enqueue argument
* WAERS = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_EJ_3RKKR0

MODE_J_3RKKR0 - Lock mode for table J_3RKKR0

Data type: ENQMODE
Default: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)

HWAER - 09th enqueue argument

Data type: J_3RKKR0-HWAER
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_BUKRS - Fill argument 02 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_GJAHR - Fill argument 03 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_DEBET - Fill argument 04 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_GSBERD - Fill argument 05 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_KREDIT - Fill argument 06 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_GSBERK - Fill argument 07 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_WAERS - Fill argument 08 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_HWAER - Fill argument 09 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

_SCOPE -

Data type:
Default: '3'
Optional: Yes
Call by Reference: No ( called with pass by value option)

MANDT - 01th enqueue argument

Data type: J_3RKKR0-MANDT
Default: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

_SYNCHRON - Synchonous unlock

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

_COLLECT - Initially only collect lock

Data type: DDENQCOLL
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

BUKRS - 02th enqueue argument

Data type: J_3RKKR0-BUKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

GJAHR - 03th enqueue argument

Data type: J_3RKKR0-GJAHR
Optional: Yes
Call by Reference: No ( called with pass by value option)

DEBET - 04th enqueue argument

Data type: J_3RKKR0-DEBET
Optional: Yes
Call by Reference: No ( called with pass by value option)

GSBERD - 05th enqueue argument

Data type: J_3RKKR0-GSBERD
Optional: Yes
Call by Reference: No ( called with pass by value option)

KREDIT - 06th enqueue argument

Data type: J_3RKKR0-KREDIT
Optional: Yes
Call by Reference: No ( called with pass by value option)

GSBERK - 07th enqueue argument

Data type: J_3RKKR0-GSBERK
Optional: Yes
Call by Reference: No ( called with pass by value option)

WAERS - 08th enqueue argument

Data type: J_3RKKR0-WAERS
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for DEQUEUE_EJ_3RKKR0 Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_mode_j_3rkkr0  TYPE ENQMODE, "   'E'
lv_hwaer  TYPE J_3RKKR0-HWAER, "   
lv_x_bukrs  TYPE J_3RKKR0, "   SPACE
lv_x_gjahr  TYPE J_3RKKR0, "   SPACE
lv_x_debet  TYPE J_3RKKR0, "   SPACE
lv_x_gsberd  TYPE J_3RKKR0, "   SPACE
lv_x_kredit  TYPE J_3RKKR0, "   SPACE
lv_x_gsberk  TYPE J_3RKKR0, "   SPACE
lv_x_waers  TYPE J_3RKKR0, "   SPACE
lv_x_hwaer  TYPE J_3RKKR0, "   SPACE
lv__scope  TYPE J_3RKKR0, "   '3'
lv_mandt  TYPE J_3RKKR0-MANDT, "   SY-MANDT
lv__synchron  TYPE J_3RKKR0, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_bukrs  TYPE J_3RKKR0-BUKRS, "   
lv_gjahr  TYPE J_3RKKR0-GJAHR, "   
lv_debet  TYPE J_3RKKR0-DEBET, "   
lv_gsberd  TYPE J_3RKKR0-GSBERD, "   
lv_kredit  TYPE J_3RKKR0-KREDIT, "   
lv_gsberk  TYPE J_3RKKR0-GSBERK, "   
lv_waers  TYPE J_3RKKR0-WAERS. "   

  CALL FUNCTION 'DEQUEUE_EJ_3RKKR0'  "Release lock on object EJ_3RKKR0
    EXPORTING
         MODE_J_3RKKR0 = lv_mode_j_3rkkr0
         HWAER = lv_hwaer
         X_BUKRS = lv_x_bukrs
         X_GJAHR = lv_x_gjahr
         X_DEBET = lv_x_debet
         X_GSBERD = lv_x_gsberd
         X_KREDIT = lv_x_kredit
         X_GSBERK = lv_x_gsberk
         X_WAERS = lv_x_waers
         X_HWAER = lv_x_hwaer
         _SCOPE = lv__scope
         MANDT = lv_mandt
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         BUKRS = lv_bukrs
         GJAHR = lv_gjahr
         DEBET = lv_debet
         GSBERD = lv_gsberd
         KREDIT = lv_kredit
         GSBERK = lv_gsberk
         WAERS = lv_waers
. " DEQUEUE_EJ_3RKKR0




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_EJ_3RKKR0

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

DATA(ld_mode_j_3rkkr0) = 'E'.
 
"SELECT single HWAER FROM J_3RKKR0 INTO @DATA(ld_hwaer).
 
DATA(ld_x_bukrs) = ' '.
 
DATA(ld_x_gjahr) = ' '.
 
DATA(ld_x_debet) = ' '.
 
DATA(ld_x_gsberd) = ' '.
 
DATA(ld_x_kredit) = ' '.
 
DATA(ld_x_gsberk) = ' '.
 
DATA(ld_x_waers) = ' '.
 
DATA(ld_x_hwaer) = ' '.
 
DATA(ld__scope) = '3'.
 
"SELECT single MANDT FROM J_3RKKR0 INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single BUKRS FROM J_3RKKR0 INTO @DATA(ld_bukrs).
 
"SELECT single GJAHR FROM J_3RKKR0 INTO @DATA(ld_gjahr).
 
"SELECT single DEBET FROM J_3RKKR0 INTO @DATA(ld_debet).
 
"SELECT single GSBERD FROM J_3RKKR0 INTO @DATA(ld_gsberd).
 
"SELECT single KREDIT FROM J_3RKKR0 INTO @DATA(ld_kredit).
 
"SELECT single GSBERK FROM J_3RKKR0 INTO @DATA(ld_gsberk).
 
"SELECT single WAERS FROM J_3RKKR0 INTO @DATA(ld_waers).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!