SAP DEQUEUE_EJ_3RGTD_INVMAT Function Module for Release lock on object EJ_3RGTD_INVMAT









DEQUEUE_EJ_3RGTD_INVMAT is a standard dequeue ej 3rgtd invmat 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_3RGTD_INVMAT 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 3rgtd invmat FM, simply by entering the name DEQUEUE_EJ_3RGTD_INVMAT into the relevant SAP transaction such as SE37 or SE38.

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



Function DEQUEUE_EJ_3RGTD_INVMAT 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_3RGTD_INVMAT'"Release lock on object EJ_3RGTD_INVMAT
EXPORTING
* MODE_J_3RFGTD_MSGOBJECT = 'E' "Lock mode for table J_3RFGTD_MSGOBJECT
* GTDDATE = "09th enqueue argument
* GTDNUMBER = "10th enqueue argument
* GTDTYPEGTD = "11th enqueue argument
* LIFNRGTD = "12th enqueue argument
* POSNRGTD = "13th enqueue argument
* X_VBELN = ' ' "Fill argument 01 with initial value?
* X_POSNR = ' ' "Fill argument 02 with initial value?
* X_MBLNR = ' ' "Fill argument 03 with initial value?
* X_MJAHR = ' ' "Fill argument 04 with initial value?
* X_ZEILE = ' ' "Fill argument 05 with initial value?
* VBELN = "01th enqueue argument
* X_BUKRSGTD = ' ' "Fill argument 07 with initial value?
* X_CUSTOMS = ' ' "Fill argument 08 with initial value?
* X_GTDDATE = ' ' "Fill argument 09 with initial value?
* X_GTDNUMBER = ' ' "Fill argument 10 with initial value?
* X_GTDTYPEGTD = ' ' "Fill argument 11 with initial value?
* X_LIFNRGTD = ' ' "Fill argument 12 with initial value?
* X_POSNRGTD = ' ' "Fill argument 13 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* POSNR = "02th enqueue argument
* MBLNR = "03th enqueue argument
* MJAHR = "04th enqueue argument
* ZEILE = "05th enqueue argument
* MANDTGTD = SY-MANDT "06th enqueue argument
* BUKRSGTD = "07th enqueue argument
* CUSTOMS = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_EJ_3RGTD_INVMAT

MODE_J_3RFGTD_MSGOBJECT - Lock mode for table J_3RFGTD_MSGOBJECT

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

GTDDATE - 09th enqueue argument

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

GTDNUMBER - 10th enqueue argument

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

GTDTYPEGTD - 11th enqueue argument

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

LIFNRGTD - 12th enqueue argument

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

POSNRGTD - 13th enqueue argument

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

X_VBELN - Fill argument 01 with initial value?

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

X_POSNR - Fill argument 02 with initial value?

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

X_MBLNR - Fill argument 03 with initial value?

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

X_MJAHR - Fill argument 04 with initial value?

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

X_ZEILE - Fill argument 05 with initial value?

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

VBELN - 01th enqueue argument

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

X_BUKRSGTD - Fill argument 07 with initial value?

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

X_CUSTOMS - Fill argument 08 with initial value?

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

X_GTDDATE - Fill argument 09 with initial value?

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

X_GTDNUMBER - Fill argument 10 with initial value?

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

X_GTDTYPEGTD - Fill argument 11 with initial value?

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

X_LIFNRGTD - Fill argument 12 with initial value?

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

X_POSNRGTD - Fill argument 13 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)

_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)

POSNR - 02th enqueue argument

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

MBLNR - 03th enqueue argument

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

MJAHR - 04th enqueue argument

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

ZEILE - 05th enqueue argument

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

MANDTGTD - 06th enqueue argument

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

BUKRSGTD - 07th enqueue argument

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

CUSTOMS - 08th enqueue argument

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

Copy and paste ABAP code example for DEQUEUE_EJ_3RGTD_INVMAT 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_3rfgtd_msgobject  TYPE ENQMODE, "   'E'
lv_gtddate  TYPE J_3RFGTD_MSGOBJECT-GTDDATE, "   
lv_gtdnumber  TYPE J_3RFGTD_MSGOBJECT-GTDNUMBER, "   
lv_gtdtypegtd  TYPE J_3RFGTD_MSGOBJECT-GTDTYPEGTD, "   
lv_lifnrgtd  TYPE J_3RFGTD_MSGOBJECT-LIFNRGTD, "   
lv_posnrgtd  TYPE J_3RFGTD_MSGOBJECT-POSNRGTD, "   
lv_x_vbeln  TYPE J_3RFGTD_MSGOBJECT, "   SPACE
lv_x_posnr  TYPE J_3RFGTD_MSGOBJECT, "   SPACE
lv_x_mblnr  TYPE J_3RFGTD_MSGOBJECT, "   SPACE
lv_x_mjahr  TYPE J_3RFGTD_MSGOBJECT, "   SPACE
lv_x_zeile  TYPE J_3RFGTD_MSGOBJECT, "   SPACE
lv_vbeln  TYPE J_3RFGTD_MSGOBJECT-VBELN, "   
lv_x_bukrsgtd  TYPE J_3RFGTD_MSGOBJECT, "   SPACE
lv_x_customs  TYPE J_3RFGTD_MSGOBJECT, "   SPACE
lv_x_gtddate  TYPE J_3RFGTD_MSGOBJECT, "   SPACE
lv_x_gtdnumber  TYPE J_3RFGTD_MSGOBJECT, "   SPACE
lv_x_gtdtypegtd  TYPE J_3RFGTD_MSGOBJECT, "   SPACE
lv_x_lifnrgtd  TYPE J_3RFGTD_MSGOBJECT, "   SPACE
lv_x_posnrgtd  TYPE J_3RFGTD_MSGOBJECT, "   SPACE
lv__scope  TYPE J_3RFGTD_MSGOBJECT, "   '3'
lv__synchron  TYPE J_3RFGTD_MSGOBJECT, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_posnr  TYPE J_3RFGTD_MSGOBJECT-POSNR, "   
lv_mblnr  TYPE J_3RFGTD_MSGOBJECT-MBLNR, "   
lv_mjahr  TYPE J_3RFGTD_MSGOBJECT-MJAHR, "   
lv_zeile  TYPE J_3RFGTD_MSGOBJECT-ZEILE, "   
lv_mandtgtd  TYPE J_3RFGTD_MSGOBJECT-MANDTGTD, "   SY-MANDT
lv_bukrsgtd  TYPE J_3RFGTD_MSGOBJECT-BUKRSGTD, "   
lv_customs  TYPE J_3RFGTD_MSGOBJECT-CUSTOMS. "   

  CALL FUNCTION 'DEQUEUE_EJ_3RGTD_INVMAT'  "Release lock on object EJ_3RGTD_INVMAT
    EXPORTING
         MODE_J_3RFGTD_MSGOBJECT = lv_mode_j_3rfgtd_msgobject
         GTDDATE = lv_gtddate
         GTDNUMBER = lv_gtdnumber
         GTDTYPEGTD = lv_gtdtypegtd
         LIFNRGTD = lv_lifnrgtd
         POSNRGTD = lv_posnrgtd
         X_VBELN = lv_x_vbeln
         X_POSNR = lv_x_posnr
         X_MBLNR = lv_x_mblnr
         X_MJAHR = lv_x_mjahr
         X_ZEILE = lv_x_zeile
         VBELN = lv_vbeln
         X_BUKRSGTD = lv_x_bukrsgtd
         X_CUSTOMS = lv_x_customs
         X_GTDDATE = lv_x_gtddate
         X_GTDNUMBER = lv_x_gtdnumber
         X_GTDTYPEGTD = lv_x_gtdtypegtd
         X_LIFNRGTD = lv_x_lifnrgtd
         X_POSNRGTD = lv_x_posnrgtd
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         POSNR = lv_posnr
         MBLNR = lv_mblnr
         MJAHR = lv_mjahr
         ZEILE = lv_zeile
         MANDTGTD = lv_mandtgtd
         BUKRSGTD = lv_bukrsgtd
         CUSTOMS = lv_customs
. " DEQUEUE_EJ_3RGTD_INVMAT




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_EJ_3RGTD_INVMAT

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_3rfgtd_msgobject) = 'E'.
 
"SELECT single GTDDATE FROM J_3RFGTD_MSGOBJECT INTO @DATA(ld_gtddate).
 
"SELECT single GTDNUMBER FROM J_3RFGTD_MSGOBJECT INTO @DATA(ld_gtdnumber).
 
"SELECT single GTDTYPEGTD FROM J_3RFGTD_MSGOBJECT INTO @DATA(ld_gtdtypegtd).
 
"SELECT single LIFNRGTD FROM J_3RFGTD_MSGOBJECT INTO @DATA(ld_lifnrgtd).
 
"SELECT single POSNRGTD FROM J_3RFGTD_MSGOBJECT INTO @DATA(ld_posnrgtd).
 
DATA(ld_x_vbeln) = ' '.
 
DATA(ld_x_posnr) = ' '.
 
DATA(ld_x_mblnr) = ' '.
 
DATA(ld_x_mjahr) = ' '.
 
DATA(ld_x_zeile) = ' '.
 
"SELECT single VBELN FROM J_3RFGTD_MSGOBJECT INTO @DATA(ld_vbeln).
 
DATA(ld_x_bukrsgtd) = ' '.
 
DATA(ld_x_customs) = ' '.
 
DATA(ld_x_gtddate) = ' '.
 
DATA(ld_x_gtdnumber) = ' '.
 
DATA(ld_x_gtdtypegtd) = ' '.
 
DATA(ld_x_lifnrgtd) = ' '.
 
DATA(ld_x_posnrgtd) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single POSNR FROM J_3RFGTD_MSGOBJECT INTO @DATA(ld_posnr).
 
"SELECT single MBLNR FROM J_3RFGTD_MSGOBJECT INTO @DATA(ld_mblnr).
 
"SELECT single MJAHR FROM J_3RFGTD_MSGOBJECT INTO @DATA(ld_mjahr).
 
"SELECT single ZEILE FROM J_3RFGTD_MSGOBJECT INTO @DATA(ld_zeile).
 
"SELECT single MANDTGTD FROM J_3RFGTD_MSGOBJECT INTO @DATA(ld_mandtgtd).
DATA(ld_mandtgtd) = SY-MANDT.
 
"SELECT single BUKRSGTD FROM J_3RFGTD_MSGOBJECT INTO @DATA(ld_bukrsgtd).
 
"SELECT single CUSTOMS FROM J_3RFGTD_MSGOBJECT INTO @DATA(ld_customs).
 


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!