SAP DEQUEUE_E_RSTT_TBEX2 Function Module for Release lock on object E_RSTT_TBEX2









DEQUEUE_E_RSTT_TBEX2 is a standard dequeue e rstt tbex2 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 E_RSTT_TBEX2 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 e rstt tbex2 FM, simply by entering the name DEQUEUE_E_RSTT_TBEX2 into the relevant SAP transaction such as SE37 or SE38.

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



Function DEQUEUE_E_RSTT_TBEX2 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_E_RSTT_TBEX2'"Release lock on object E_RSTT_TBEX2
EXPORTING
* MODE_RSTT_LOCK_TBEX2 = 'E' "Lock mode for table RSTT_LOCK_TBEX2
* X_TSOBJNM = ' ' "Fill argument 03 with initial value?
* X_PVARCODE = ' ' "Fill argument 04 with initial value?
* X_TRACEGUID = ' ' "Fill argument 05 with initial value?
* X_LOGGUID = ' ' "Fill argument 06 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* TOBJTYPE = "01th enqueue argument
* TOBJNM = "02th enqueue argument
* TSOBJNM = "03th enqueue argument
* PVARCODE = "04th enqueue argument
* TRACEGUID = "05th enqueue argument
* LOGGUID = "06th enqueue argument
* X_TOBJTYPE = ' ' "Fill argument 01 with initial value?
* X_TOBJNM = ' ' "Fill argument 02 with initial value?
.



IMPORTING Parameters details for DEQUEUE_E_RSTT_TBEX2

MODE_RSTT_LOCK_TBEX2 - Lock mode for table RSTT_LOCK_TBEX2

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

X_TSOBJNM - Fill argument 03 with initial value?

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

X_PVARCODE - Fill argument 04 with initial value?

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

X_TRACEGUID - Fill argument 05 with initial value?

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

X_LOGGUID - Fill argument 06 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)

TOBJTYPE - 01th enqueue argument

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

TOBJNM - 02th enqueue argument

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

TSOBJNM - 03th enqueue argument

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

PVARCODE - 04th enqueue argument

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

TRACEGUID - 05th enqueue argument

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

LOGGUID - 06th enqueue argument

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

X_TOBJTYPE - Fill argument 01 with initial value?

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

X_TOBJNM - Fill argument 02 with initial value?

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

Copy and paste ABAP code example for DEQUEUE_E_RSTT_TBEX2 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_rstt_lock_tbex2  TYPE ENQMODE, "   'E'
lv_x_tsobjnm  TYPE ENQMODE, "   SPACE
lv_x_pvarcode  TYPE ENQMODE, "   SPACE
lv_x_traceguid  TYPE ENQMODE, "   SPACE
lv_x_logguid  TYPE ENQMODE, "   SPACE
lv__scope  TYPE ENQMODE, "   '3'
lv__synchron  TYPE ENQMODE, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_tobjtype  TYPE RSTT_LOCK_TBEX2-TOBJTYPE, "   
lv_tobjnm  TYPE RSTT_LOCK_TBEX2-TOBJNM, "   
lv_tsobjnm  TYPE RSTT_LOCK_TBEX2-TSOBJNM, "   
lv_pvarcode  TYPE RSTT_LOCK_TBEX2-PVARCODE, "   
lv_traceguid  TYPE RSTT_LOCK_TBEX2-TRACEGUID, "   
lv_logguid  TYPE RSTT_LOCK_TBEX2-LOGGUID, "   
lv_x_tobjtype  TYPE RSTT_LOCK_TBEX2, "   SPACE
lv_x_tobjnm  TYPE RSTT_LOCK_TBEX2. "   SPACE

  CALL FUNCTION 'DEQUEUE_E_RSTT_TBEX2'  "Release lock on object E_RSTT_TBEX2
    EXPORTING
         MODE_RSTT_LOCK_TBEX2 = lv_mode_rstt_lock_tbex2
         X_TSOBJNM = lv_x_tsobjnm
         X_PVARCODE = lv_x_pvarcode
         X_TRACEGUID = lv_x_traceguid
         X_LOGGUID = lv_x_logguid
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         TOBJTYPE = lv_tobjtype
         TOBJNM = lv_tobjnm
         TSOBJNM = lv_tsobjnm
         PVARCODE = lv_pvarcode
         TRACEGUID = lv_traceguid
         LOGGUID = lv_logguid
         X_TOBJTYPE = lv_x_tobjtype
         X_TOBJNM = lv_x_tobjnm
. " DEQUEUE_E_RSTT_TBEX2




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_E_RSTT_TBEX2

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_rstt_lock_tbex2) = 'E'.
 
DATA(ld_x_tsobjnm) = ' '.
 
DATA(ld_x_pvarcode) = ' '.
 
DATA(ld_x_traceguid) = ' '.
 
DATA(ld_x_logguid) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single TOBJTYPE FROM RSTT_LOCK_TBEX2 INTO @DATA(ld_tobjtype).
 
"SELECT single TOBJNM FROM RSTT_LOCK_TBEX2 INTO @DATA(ld_tobjnm).
 
"SELECT single TSOBJNM FROM RSTT_LOCK_TBEX2 INTO @DATA(ld_tsobjnm).
 
"SELECT single PVARCODE FROM RSTT_LOCK_TBEX2 INTO @DATA(ld_pvarcode).
 
"SELECT single TRACEGUID FROM RSTT_LOCK_TBEX2 INTO @DATA(ld_traceguid).
 
"SELECT single LOGGUID FROM RSTT_LOCK_TBEX2 INTO @DATA(ld_logguid).
 
DATA(ld_x_tobjtype) = ' '.
 
DATA(ld_x_tobjnm) = ' '.
 


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!