SAP DEQUEUE_E_OIUREP_ADJ_PAS Function Module for Release lock on object E_OIUREP_ADJ_PAS
DEQUEUE_E_OIUREP_ADJ_PAS is a standard dequeue e oiurep adj pas 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_ADJ_PAS 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 adj pas FM, simply by entering the name DEQUEUE_E_OIUREP_ADJ_PAS into the relevant SAP transaction such as SE37 or SE38.
Function Group: /1BCDWBEN/OEN0006
Program Name: /1BCDWBEN/SAPLOEN0006
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DEQUEUE_E_OIUREP_ADJ_PAS 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_ADJ_PAS'"Release lock on object E_OIUREP_ADJ_PAS.
EXPORTING
* MODE_OIUREP_ADJ_PASR = 'E' "Lock mode for table OIUREP_ADJ_PASR
* VER_NO = "09th enqueue argument
* X_AGENCY = ' ' "Fill argument 02 with initial value?
* X_REP_NAME = ' ' "Fill argument 03 with initial value?
* X_REG_NUMBER = ' ' "Fill argument 04 with initial value?
* X_HEAD_SEQNR = ' ' "Fill argument 05 with initial value?
* X_REC_TYPE = ' ' "Fill argument 06 with initial value?
* X_LINE_NBR = ' ' "Fill argument 07 with initial value?
* X_ACTION_CD = ' ' "Fill argument 08 with initial value?
* X_VER_NO = ' ' "Fill argument 09 with initial value?
* _SCOPE = '3' "
* MANDT = SY-MANDT "01th enqueue argument
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* AGENCY = "02th enqueue argument
* REP_NAME = "03th enqueue argument
* REG_NUMBER = "04th enqueue argument
* HEAD_SEQNR = "05th enqueue argument
* REC_TYPE = "06th enqueue argument
* LINE_NBR = "07th enqueue argument
* ACTION_CD = "08th enqueue argument
IMPORTING Parameters details for DEQUEUE_E_OIUREP_ADJ_PAS
MODE_OIUREP_ADJ_PASR - Lock mode for table OIUREP_ADJ_PASR
Data type: ENQMODEDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
VER_NO - 09th enqueue argument
Data type: OIUREP_ADJ_PASR-VER_NOOptional: 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_REG_NUMBER - Fill argument 04 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_HEAD_SEQNR - Fill argument 05 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_REC_TYPE - Fill argument 06 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_LINE_NBR - Fill argument 07 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_ACTION_CD - Fill argument 08 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_VER_NO - 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: OIUREP_ADJ_PASR-MANDTDefault: 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: DDENQCOLLDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
AGENCY - 02th enqueue argument
Data type: OIUREP_ADJ_PASR-AGENCYOptional: Yes
Call by Reference: No ( called with pass by value option)
REP_NAME - 03th enqueue argument
Data type: OIUREP_ADJ_PASR-REP_NAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
REG_NUMBER - 04th enqueue argument
Data type: OIUREP_ADJ_PASR-REG_NUMBEROptional: Yes
Call by Reference: No ( called with pass by value option)
HEAD_SEQNR - 05th enqueue argument
Data type: OIUREP_ADJ_PASR-HEAD_SEQNROptional: Yes
Call by Reference: No ( called with pass by value option)
REC_TYPE - 06th enqueue argument
Data type: OIUREP_ADJ_PASR-REC_TYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
LINE_NBR - 07th enqueue argument
Data type: OIUREP_ADJ_PASR-LINE_NBROptional: Yes
Call by Reference: No ( called with pass by value option)
ACTION_CD - 08th enqueue argument
Data type: OIUREP_ADJ_PASR-ACTION_CDOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DEQUEUE_E_OIUREP_ADJ_PAS 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_adj_pasr | TYPE ENQMODE, " 'E' | |||
| lv_ver_no | TYPE OIUREP_ADJ_PASR-VER_NO, " | |||
| lv_x_agency | TYPE OIUREP_ADJ_PASR, " SPACE | |||
| lv_x_rep_name | TYPE OIUREP_ADJ_PASR, " SPACE | |||
| lv_x_reg_number | TYPE OIUREP_ADJ_PASR, " SPACE | |||
| lv_x_head_seqnr | TYPE OIUREP_ADJ_PASR, " SPACE | |||
| lv_x_rec_type | TYPE OIUREP_ADJ_PASR, " SPACE | |||
| lv_x_line_nbr | TYPE OIUREP_ADJ_PASR, " SPACE | |||
| lv_x_action_cd | TYPE OIUREP_ADJ_PASR, " SPACE | |||
| lv_x_ver_no | TYPE OIUREP_ADJ_PASR, " SPACE | |||
| lv__scope | TYPE OIUREP_ADJ_PASR, " '3' | |||
| lv_mandt | TYPE OIUREP_ADJ_PASR-MANDT, " SY-MANDT | |||
| lv__synchron | TYPE OIUREP_ADJ_PASR, " SPACE | |||
| lv__collect | TYPE DDENQCOLL, " ' ' | |||
| lv_agency | TYPE OIUREP_ADJ_PASR-AGENCY, " | |||
| lv_rep_name | TYPE OIUREP_ADJ_PASR-REP_NAME, " | |||
| lv_reg_number | TYPE OIUREP_ADJ_PASR-REG_NUMBER, " | |||
| lv_head_seqnr | TYPE OIUREP_ADJ_PASR-HEAD_SEQNR, " | |||
| lv_rec_type | TYPE OIUREP_ADJ_PASR-REC_TYPE, " | |||
| lv_line_nbr | TYPE OIUREP_ADJ_PASR-LINE_NBR, " | |||
| lv_action_cd | TYPE OIUREP_ADJ_PASR-ACTION_CD. " |
|   CALL FUNCTION 'DEQUEUE_E_OIUREP_ADJ_PAS' "Release lock on object E_OIUREP_ADJ_PAS |
| EXPORTING | ||
| MODE_OIUREP_ADJ_PASR | = lv_mode_oiurep_adj_pasr | |
| VER_NO | = lv_ver_no | |
| X_AGENCY | = lv_x_agency | |
| X_REP_NAME | = lv_x_rep_name | |
| X_REG_NUMBER | = lv_x_reg_number | |
| X_HEAD_SEQNR | = lv_x_head_seqnr | |
| X_REC_TYPE | = lv_x_rec_type | |
| X_LINE_NBR | = lv_x_line_nbr | |
| X_ACTION_CD | = lv_x_action_cd | |
| X_VER_NO | = lv_x_ver_no | |
| _SCOPE | = lv__scope | |
| MANDT | = lv_mandt | |
| _SYNCHRON | = lv__synchron | |
| _COLLECT | = lv__collect | |
| AGENCY | = lv_agency | |
| REP_NAME | = lv_rep_name | |
| REG_NUMBER | = lv_reg_number | |
| HEAD_SEQNR | = lv_head_seqnr | |
| REC_TYPE | = lv_rec_type | |
| LINE_NBR | = lv_line_nbr | |
| ACTION_CD | = lv_action_cd | |
| . " DEQUEUE_E_OIUREP_ADJ_PAS | ||
ABAP code using 7.40 inline data declarations to call FM DEQUEUE_E_OIUREP_ADJ_PAS
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_adj_pasr) | = 'E'. | |||
| "SELECT single VER_NO FROM OIUREP_ADJ_PASR INTO @DATA(ld_ver_no). | ||||
| DATA(ld_x_agency) | = ' '. | |||
| DATA(ld_x_rep_name) | = ' '. | |||
| DATA(ld_x_reg_number) | = ' '. | |||
| DATA(ld_x_head_seqnr) | = ' '. | |||
| DATA(ld_x_rec_type) | = ' '. | |||
| DATA(ld_x_line_nbr) | = ' '. | |||
| DATA(ld_x_action_cd) | = ' '. | |||
| DATA(ld_x_ver_no) | = ' '. | |||
| DATA(ld__scope) | = '3'. | |||
| "SELECT single MANDT FROM OIUREP_ADJ_PASR INTO @DATA(ld_mandt). | ||||
| DATA(ld_mandt) | = SY-MANDT. | |||
| DATA(ld__synchron) | = ' '. | |||
| DATA(ld__collect) | = ' '. | |||
| "SELECT single AGENCY FROM OIUREP_ADJ_PASR INTO @DATA(ld_agency). | ||||
| "SELECT single REP_NAME FROM OIUREP_ADJ_PASR INTO @DATA(ld_rep_name). | ||||
| "SELECT single REG_NUMBER FROM OIUREP_ADJ_PASR INTO @DATA(ld_reg_number). | ||||
| "SELECT single HEAD_SEQNR FROM OIUREP_ADJ_PASR INTO @DATA(ld_head_seqnr). | ||||
| "SELECT single REC_TYPE FROM OIUREP_ADJ_PASR INTO @DATA(ld_rec_type). | ||||
| "SELECT single LINE_NBR FROM OIUREP_ADJ_PASR INTO @DATA(ld_line_nbr). | ||||
| "SELECT single ACTION_CD FROM OIUREP_ADJ_PASR INTO @DATA(ld_action_cd). | ||||
Search for further information about these or an SAP related objects