SAP DEQUEUE_EHRPAY99RU_REPAT Function Module for Release lock on object EHRPAY99RU_REPAT
DEQUEUE_EHRPAY99RU_REPAT is a standard dequeue ehrpay99ru repat 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 EHRPAY99RU_REPAT 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 ehrpay99ru repat FM, simply by entering the name DEQUEUE_EHRPAY99RU_REPAT into the relevant SAP transaction such as SE37 or SE38.
Function Group: /1BCDWBEN/PEN0005
Program Name: /1BCDWBEN/SAPLPEN0005
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DEQUEUE_EHRPAY99RU_REPAT 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_EHRPAY99RU_REPAT'"Release lock on object EHRPAY99RU_REPAT.
EXPORTING
* MODE_HR99RU_RMS_D_RAT = 'E' "Lock mode for table HR99RU_RMS_D_RAT
* OPERA = "Enqueue argument 09
* ATVER = "Enqueue argument 10
* X_MOLGA = ' ' "Fill argument 02 with initial value?
* X_REPTY = ' ' "Fill argument 03 with initial value?
* X_EFDTE = ' ' "Fill argument 04 with initial value?
* X_RUNIT = ' ' "Fill argument 05 with initial value?
* X_GRUER = ' ' "Fill argument 06 with initial value?
* X_ESEQN = ' ' "Fill argument 07 with initial value?
* X_STATS = ' ' "Fill argument 08 with initial value?
* X_OPERA = ' ' "Fill argument 09 with initial value?
* MANDT = SY-MANDT "Enqueue argument 01
* X_ATVER = ' ' "Fill argument 10 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* MOLGA = "Enqueue argument 02
* REPTY = "Enqueue argument 03
* EFDTE = "Enqueue argument 04
* RUNIT = "Enqueue argument 05
* GRUER = "Enqueue argument 06
* ESEQN = "Enqueue argument 07
* STATS = "Enqueue argument 08
IMPORTING Parameters details for DEQUEUE_EHRPAY99RU_REPAT
MODE_HR99RU_RMS_D_RAT - Lock mode for table HR99RU_RMS_D_RAT
Data type: ENQMODEDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
OPERA - Enqueue argument 09
Data type: HR99RU_RMS_D_RAT-OPERAOptional: Yes
Call by Reference: No ( called with pass by value option)
ATVER - Enqueue argument 10
Data type: HR99RU_RMS_D_RAT-ATVEROptional: Yes
Call by Reference: No ( called with pass by value option)
X_MOLGA - Fill argument 02 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_REPTY - Fill argument 03 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_EFDTE - Fill argument 04 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_RUNIT - Fill argument 05 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_GRUER - Fill argument 06 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_ESEQN - Fill argument 07 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_STATS - Fill argument 08 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_OPERA - Fill argument 09 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
MANDT - Enqueue argument 01
Data type: HR99RU_RMS_D_RAT-MANDTDefault: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_ATVER - 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: DDENQCOLLDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
MOLGA - Enqueue argument 02
Data type: HR99RU_RMS_D_RAT-MOLGAOptional: Yes
Call by Reference: No ( called with pass by value option)
REPTY - Enqueue argument 03
Data type: HR99RU_RMS_D_RAT-REPTYOptional: Yes
Call by Reference: No ( called with pass by value option)
EFDTE - Enqueue argument 04
Data type: HR99RU_RMS_D_RAT-EFDTEOptional: Yes
Call by Reference: No ( called with pass by value option)
RUNIT - Enqueue argument 05
Data type: HR99RU_RMS_D_RAT-RUNITOptional: Yes
Call by Reference: No ( called with pass by value option)
GRUER - Enqueue argument 06
Data type: HR99RU_RMS_D_RAT-GRUEROptional: Yes
Call by Reference: No ( called with pass by value option)
ESEQN - Enqueue argument 07
Data type: HR99RU_RMS_D_RAT-ESEQNOptional: Yes
Call by Reference: No ( called with pass by value option)
STATS - Enqueue argument 08
Data type: HR99RU_RMS_D_RAT-STATSOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DEQUEUE_EHRPAY99RU_REPAT 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_hr99ru_rms_d_rat | TYPE ENQMODE, " 'E' | |||
| lv_opera | TYPE HR99RU_RMS_D_RAT-OPERA, " | |||
| lv_atver | TYPE HR99RU_RMS_D_RAT-ATVER, " | |||
| lv_x_molga | TYPE HR99RU_RMS_D_RAT, " SPACE | |||
| lv_x_repty | TYPE HR99RU_RMS_D_RAT, " SPACE | |||
| lv_x_efdte | TYPE HR99RU_RMS_D_RAT, " SPACE | |||
| lv_x_runit | TYPE HR99RU_RMS_D_RAT, " SPACE | |||
| lv_x_gruer | TYPE HR99RU_RMS_D_RAT, " SPACE | |||
| lv_x_eseqn | TYPE HR99RU_RMS_D_RAT, " SPACE | |||
| lv_x_stats | TYPE HR99RU_RMS_D_RAT, " SPACE | |||
| lv_x_opera | TYPE HR99RU_RMS_D_RAT, " SPACE | |||
| lv_mandt | TYPE HR99RU_RMS_D_RAT-MANDT, " SY-MANDT | |||
| lv_x_atver | TYPE HR99RU_RMS_D_RAT, " SPACE | |||
| lv__scope | TYPE HR99RU_RMS_D_RAT, " '3' | |||
| lv__synchron | TYPE HR99RU_RMS_D_RAT, " SPACE | |||
| lv__collect | TYPE DDENQCOLL, " ' ' | |||
| lv_molga | TYPE HR99RU_RMS_D_RAT-MOLGA, " | |||
| lv_repty | TYPE HR99RU_RMS_D_RAT-REPTY, " | |||
| lv_efdte | TYPE HR99RU_RMS_D_RAT-EFDTE, " | |||
| lv_runit | TYPE HR99RU_RMS_D_RAT-RUNIT, " | |||
| lv_gruer | TYPE HR99RU_RMS_D_RAT-GRUER, " | |||
| lv_eseqn | TYPE HR99RU_RMS_D_RAT-ESEQN, " | |||
| lv_stats | TYPE HR99RU_RMS_D_RAT-STATS. " |
|   CALL FUNCTION 'DEQUEUE_EHRPAY99RU_REPAT' "Release lock on object EHRPAY99RU_REPAT |
| EXPORTING | ||
| MODE_HR99RU_RMS_D_RAT | = lv_mode_hr99ru_rms_d_rat | |
| OPERA | = lv_opera | |
| ATVER | = lv_atver | |
| X_MOLGA | = lv_x_molga | |
| X_REPTY | = lv_x_repty | |
| X_EFDTE | = lv_x_efdte | |
| X_RUNIT | = lv_x_runit | |
| X_GRUER | = lv_x_gruer | |
| X_ESEQN | = lv_x_eseqn | |
| X_STATS | = lv_x_stats | |
| X_OPERA | = lv_x_opera | |
| MANDT | = lv_mandt | |
| X_ATVER | = lv_x_atver | |
| _SCOPE | = lv__scope | |
| _SYNCHRON | = lv__synchron | |
| _COLLECT | = lv__collect | |
| MOLGA | = lv_molga | |
| REPTY | = lv_repty | |
| EFDTE | = lv_efdte | |
| RUNIT | = lv_runit | |
| GRUER | = lv_gruer | |
| ESEQN | = lv_eseqn | |
| STATS | = lv_stats | |
| . " DEQUEUE_EHRPAY99RU_REPAT | ||
ABAP code using 7.40 inline data declarations to call FM DEQUEUE_EHRPAY99RU_REPAT
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_hr99ru_rms_d_rat) | = 'E'. | |||
| "SELECT single OPERA FROM HR99RU_RMS_D_RAT INTO @DATA(ld_opera). | ||||
| "SELECT single ATVER FROM HR99RU_RMS_D_RAT INTO @DATA(ld_atver). | ||||
| DATA(ld_x_molga) | = ' '. | |||
| DATA(ld_x_repty) | = ' '. | |||
| DATA(ld_x_efdte) | = ' '. | |||
| DATA(ld_x_runit) | = ' '. | |||
| DATA(ld_x_gruer) | = ' '. | |||
| DATA(ld_x_eseqn) | = ' '. | |||
| DATA(ld_x_stats) | = ' '. | |||
| DATA(ld_x_opera) | = ' '. | |||
| "SELECT single MANDT FROM HR99RU_RMS_D_RAT INTO @DATA(ld_mandt). | ||||
| DATA(ld_mandt) | = SY-MANDT. | |||
| DATA(ld_x_atver) | = ' '. | |||
| DATA(ld__scope) | = '3'. | |||
| DATA(ld__synchron) | = ' '. | |||
| DATA(ld__collect) | = ' '. | |||
| "SELECT single MOLGA FROM HR99RU_RMS_D_RAT INTO @DATA(ld_molga). | ||||
| "SELECT single REPTY FROM HR99RU_RMS_D_RAT INTO @DATA(ld_repty). | ||||
| "SELECT single EFDTE FROM HR99RU_RMS_D_RAT INTO @DATA(ld_efdte). | ||||
| "SELECT single RUNIT FROM HR99RU_RMS_D_RAT INTO @DATA(ld_runit). | ||||
| "SELECT single GRUER FROM HR99RU_RMS_D_RAT INTO @DATA(ld_gruer). | ||||
| "SELECT single ESEQN FROM HR99RU_RMS_D_RAT INTO @DATA(ld_eseqn). | ||||
| "SELECT single STATS FROM HR99RU_RMS_D_RAT INTO @DATA(ld_stats). | ||||
Search for further information about these or an SAP related objects