SAP DEQUEUE_E_OIUREP_RRST Function Module for Release lock on object E_OIUREP_RRST









DEQUEUE_E_OIUREP_RRST is a standard dequeue e oiurep rrst 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_OIUREP_RRST 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 oiurep rrst FM, simply by entering the name DEQUEUE_E_OIUREP_RRST into the relevant SAP transaction such as SE37 or SE38.

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



Function DEQUEUE_E_OIUREP_RRST 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_OIUREP_RRST'"Release lock on object E_OIUREP_RRST
EXPORTING
* MODE_OIUREP_RRST = 'E' "Lock mode for table OIUREP_RRST
* REP_MONTH = "09th enqueue argument
* AC_INDICATOR = "10th enqueue argument
* X_AGENCY = ' ' "Fill argument 02 with initial value?
* X_REP_NAME = ' ' "Fill argument 03 with initial value?
* X_ORG1 = ' ' "Fill argument 04 with initial value?
* X_ORG2 = ' ' "Fill argument 05 with initial value?
* X_ORG3 = ' ' "Fill argument 06 with initial value?
* X_ORG4 = ' ' "Fill argument 07 with initial value?
* X_REP_YEAR = ' ' "Fill argument 08 with initial value?
* X_REP_MONTH = ' ' "Fill argument 09 with initial value?
* MANDT = SY-MANDT "01th enqueue argument
* X_AC_INDICATOR = ' ' "Fill argument 10 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* AGENCY = "02th enqueue argument
* REP_NAME = "03th enqueue argument
* ORG1 = "04th enqueue argument
* ORG2 = "05th enqueue argument
* ORG3 = "06th enqueue argument
* ORG4 = "07th enqueue argument
* REP_YEAR = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_E_OIUREP_RRST

MODE_OIUREP_RRST - Lock mode for table OIUREP_RRST

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

REP_MONTH - 09th enqueue argument

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

AC_INDICATOR - 10th enqueue argument

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

X_AGENCY - Fill argument 02 with initial value?

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

X_REP_NAME - Fill argument 03 with initial value?

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

X_ORG1 - Fill argument 04 with initial value?

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

X_ORG2 - Fill argument 05 with initial value?

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

X_ORG3 - Fill argument 06 with initial value?

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

X_ORG4 - Fill argument 07 with initial value?

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

X_REP_YEAR - Fill argument 08 with initial value?

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

X_REP_MONTH - Fill argument 09 with initial value?

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

MANDT - 01th enqueue argument

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

X_AC_INDICATOR - Fill argument 10 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)

AGENCY - 02th enqueue argument

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

REP_NAME - 03th enqueue argument

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

ORG1 - 04th enqueue argument

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

ORG2 - 05th enqueue argument

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

ORG3 - 06th enqueue argument

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

ORG4 - 07th enqueue argument

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

REP_YEAR - 08th enqueue argument

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

Copy and paste ABAP code example for DEQUEUE_E_OIUREP_RRST 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_oiurep_rrst  TYPE ENQMODE, "   'E'
lv_rep_month  TYPE OIUREP_RRST-REP_MONTH, "   
lv_ac_indicator  TYPE OIUREP_RRST-AC_INDICATOR, "   
lv_x_agency  TYPE OIUREP_RRST, "   SPACE
lv_x_rep_name  TYPE OIUREP_RRST, "   SPACE
lv_x_org1  TYPE OIUREP_RRST, "   SPACE
lv_x_org2  TYPE OIUREP_RRST, "   SPACE
lv_x_org3  TYPE OIUREP_RRST, "   SPACE
lv_x_org4  TYPE OIUREP_RRST, "   SPACE
lv_x_rep_year  TYPE OIUREP_RRST, "   SPACE
lv_x_rep_month  TYPE OIUREP_RRST, "   SPACE
lv_mandt  TYPE OIUREP_RRST-MANDT, "   SY-MANDT
lv_x_ac_indicator  TYPE OIUREP_RRST, "   SPACE
lv__scope  TYPE OIUREP_RRST, "   '3'
lv__synchron  TYPE OIUREP_RRST, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_agency  TYPE OIUREP_RRST-AGENCY, "   
lv_rep_name  TYPE OIUREP_RRST-REP_NAME, "   
lv_org1  TYPE OIUREP_RRST-ORG1, "   
lv_org2  TYPE OIUREP_RRST-ORG2, "   
lv_org3  TYPE OIUREP_RRST-ORG3, "   
lv_org4  TYPE OIUREP_RRST-ORG4, "   
lv_rep_year  TYPE OIUREP_RRST-REP_YEAR. "   

  CALL FUNCTION 'DEQUEUE_E_OIUREP_RRST'  "Release lock on object E_OIUREP_RRST
    EXPORTING
         MODE_OIUREP_RRST = lv_mode_oiurep_rrst
         REP_MONTH = lv_rep_month
         AC_INDICATOR = lv_ac_indicator
         X_AGENCY = lv_x_agency
         X_REP_NAME = lv_x_rep_name
         X_ORG1 = lv_x_org1
         X_ORG2 = lv_x_org2
         X_ORG3 = lv_x_org3
         X_ORG4 = lv_x_org4
         X_REP_YEAR = lv_x_rep_year
         X_REP_MONTH = lv_x_rep_month
         MANDT = lv_mandt
         X_AC_INDICATOR = lv_x_ac_indicator
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         AGENCY = lv_agency
         REP_NAME = lv_rep_name
         ORG1 = lv_org1
         ORG2 = lv_org2
         ORG3 = lv_org3
         ORG4 = lv_org4
         REP_YEAR = lv_rep_year
. " DEQUEUE_E_OIUREP_RRST




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_E_OIUREP_RRST

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_oiurep_rrst) = 'E'.
 
"SELECT single REP_MONTH FROM OIUREP_RRST INTO @DATA(ld_rep_month).
 
"SELECT single AC_INDICATOR FROM OIUREP_RRST INTO @DATA(ld_ac_indicator).
 
DATA(ld_x_agency) = ' '.
 
DATA(ld_x_rep_name) = ' '.
 
DATA(ld_x_org1) = ' '.
 
DATA(ld_x_org2) = ' '.
 
DATA(ld_x_org3) = ' '.
 
DATA(ld_x_org4) = ' '.
 
DATA(ld_x_rep_year) = ' '.
 
DATA(ld_x_rep_month) = ' '.
 
"SELECT single MANDT FROM OIUREP_RRST INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
DATA(ld_x_ac_indicator) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single AGENCY FROM OIUREP_RRST INTO @DATA(ld_agency).
 
"SELECT single REP_NAME FROM OIUREP_RRST INTO @DATA(ld_rep_name).
 
"SELECT single ORG1 FROM OIUREP_RRST INTO @DATA(ld_org1).
 
"SELECT single ORG2 FROM OIUREP_RRST INTO @DATA(ld_org2).
 
"SELECT single ORG3 FROM OIUREP_RRST INTO @DATA(ld_org3).
 
"SELECT single ORG4 FROM OIUREP_RRST INTO @DATA(ld_org4).
 
"SELECT single REP_YEAR FROM OIUREP_RRST INTO @DATA(ld_rep_year).
 


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!