SAP Function Modules

DEQUEUE_E_OIUE2_RUN_HDR SAP Function module - Release lock on object E_OIUE2_RUN_HDR







DEQUEUE_E_OIUE2_RUN_HDR is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name DEQUEUE_E_OIUE2_RUN_HDR into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: DWBEN/SAPLOEN0006
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM DEQUEUE_E_OIUE2_RUN_HDR - DEQUEUE E OIUE2 RUN HDR





CALL FUNCTION 'DEQUEUE_E_OIUE2_RUN_HDR' "Release lock on object E_OIUE2_RUN_HDR
* EXPORTING
*   mode_roiue2_run_hdr_lock_obj00 = 'E'  " enqmode  Lock mode for table ROIUE2_RUN_HDR_LOCK_OBJECT_KEY
*   mandt = SY-MANDT            " roiue2_run_hdr_lock_object_key-mandt  01th enqueue argument
*   proc_id =                   " roiue2_run_hdr_lock_object_key-proc_id  02th enqueue argument
*   proc_grp =                  " roiue2_run_hdr_lock_object_key-proc_grp  03th enqueue argument
*   land1 =                     " roiue2_run_hdr_lock_object_key-land1  04th enqueue argument
*   pri_geo_loc =               " roiue2_run_hdr_lock_object_key-pri_geo_loc  05th enqueue argument
*   eff_from_dt =               " roiue2_run_hdr_lock_object_key-eff_from_dt  06th enqueue argument
*   eff_to_dt =                 " roiue2_run_hdr_lock_object_key-eff_to_dt  07th enqueue argument
*   ac_ind =                    " roiue2_run_hdr_lock_object_key-ac_ind  08th enqueue argument
*   x_proc_id = SPACE           " ddenqxpar     Fill argument 02 with initial value?
*   x_proc_grp = SPACE          " ddenqxpar     Fill argument 03 with initial value?
*   x_land1 = SPACE             " ddenqxpar     Fill argument 04 with initial value?
*   x_pri_geo_loc = SPACE       " ddenqxpar     Fill argument 05 with initial value?
*   x_eff_from_dt = SPACE       " ddenqxpar     Fill argument 06 with initial value?
*   x_eff_to_dt = SPACE         " ddenqxpar     Fill argument 07 with initial value?
*   x_ac_ind = SPACE            " ddenqxpar     Fill argument 08 with initial value?
*   _scope = '3'                " ddenqscope
*   _synchron = SPACE           " ddenqsync     Synchonous unlock
*   _collect = ' '              " ddenqcoll     Initially only collect lock
    .  "  DEQUEUE_E_OIUE2_RUN_HDR

ABAP code example for Function Module DEQUEUE_E_OIUE2_RUN_HDR





The ABAP code below is a full code listing to execute function module DEQUEUE_E_OIUE2_RUN_HDR including all data declarations. The code uses 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 original method of declaring data variables up front. 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).


DATA(ld_mode_roiue2_run_hdr_lock_obj00) = 'Check type of data required'.

DATA(ld_mandt) = Check type of data required

DATA(ld_proc_id) = some text here

DATA(ld_proc_grp) = some text here

DATA(ld_land1) = some text here

DATA(ld_pri_geo_loc) = some text here

DATA(ld_eff_from_dt) = 20210129

DATA(ld_eff_to_dt) = 20210129

DATA(ld_ac_ind) = some text here
DATA(ld_x_proc_id) = 'Check type of data required'.
DATA(ld_x_proc_grp) = 'Check type of data required'.
DATA(ld_x_land1) = 'Check type of data required'.
DATA(ld_x_pri_geo_loc) = 'Check type of data required'.
DATA(ld_x_eff_from_dt) = 'Check type of data required'.
DATA(ld_x_eff_to_dt) = 'Check type of data required'.
DATA(ld_x_ac_ind) = 'Check type of data required'.
DATA(ld__scope) = 'Check type of data required'.
DATA(ld__synchron) = 'some text here'.
DATA(ld__collect) = 'some text here'. . CALL FUNCTION 'DEQUEUE_E_OIUE2_RUN_HDR' * EXPORTING * mode_roiue2_run_hdr_lock_obj00 = ld_mode_roiue2_run_hdr_lock_obj00 * mandt = ld_mandt * proc_id = ld_proc_id * proc_grp = ld_proc_grp * land1 = ld_land1 * pri_geo_loc = ld_pri_geo_loc * eff_from_dt = ld_eff_from_dt * eff_to_dt = ld_eff_to_dt * ac_ind = ld_ac_ind * x_proc_id = ld_x_proc_id * x_proc_grp = ld_x_proc_grp * x_land1 = ld_x_land1 * x_pri_geo_loc = ld_x_pri_geo_loc * x_eff_from_dt = ld_x_eff_from_dt * x_eff_to_dt = ld_x_eff_to_dt * x_ac_ind = ld_x_ac_ind * _scope = ld__scope * _synchron = ld__synchron * _collect = ld__collect . " DEQUEUE_E_OIUE2_RUN_HDR
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_mode_roiue2_run_hdr_lock_obj00  TYPE ENQMODE ,
ld_mandt  TYPE ROIUE2_RUN_HDR_LOCK_OBJECT_KEY-MANDT ,
ld_proc_id  TYPE ROIUE2_RUN_HDR_LOCK_OBJECT_KEY-PROC_ID ,
ld_proc_grp  TYPE ROIUE2_RUN_HDR_LOCK_OBJECT_KEY-PROC_GRP ,
ld_land1  TYPE ROIUE2_RUN_HDR_LOCK_OBJECT_KEY-LAND1 ,
ld_pri_geo_loc  TYPE ROIUE2_RUN_HDR_LOCK_OBJECT_KEY-PRI_GEO_LOC ,
ld_eff_from_dt  TYPE ROIUE2_RUN_HDR_LOCK_OBJECT_KEY-EFF_FROM_DT ,
ld_eff_to_dt  TYPE ROIUE2_RUN_HDR_LOCK_OBJECT_KEY-EFF_TO_DT ,
ld_ac_ind  TYPE ROIUE2_RUN_HDR_LOCK_OBJECT_KEY-AC_IND ,
ld_x_proc_id  TYPE DDENQXPAR ,
ld_x_proc_grp  TYPE DDENQXPAR ,
ld_x_land1  TYPE DDENQXPAR ,
ld_x_pri_geo_loc  TYPE DDENQXPAR ,
ld_x_eff_from_dt  TYPE DDENQXPAR ,
ld_x_eff_to_dt  TYPE DDENQXPAR ,
ld_x_ac_ind  TYPE DDENQXPAR ,
ld__scope  TYPE DDENQSCOPE ,
ld__synchron  TYPE DDENQSYNC ,
ld__collect  TYPE DDENQCOLL .

ld_mode_roiue2_run_hdr_lock_obj00 = 'some text here'.

ld_mandt = Check type of data required

ld_proc_id = some text here

ld_proc_grp = some text here

ld_land1 = some text here

ld_pri_geo_loc = some text here

ld_eff_from_dt = 20210129

ld_eff_to_dt = 20210129

ld_ac_ind = some text here
ld_x_proc_id = 'some text here'.
ld_x_proc_grp = 'some text here'.
ld_x_land1 = 'some text here'.
ld_x_pri_geo_loc = 'some text here'.
ld_x_eff_from_dt = 'some text here'.
ld_x_eff_to_dt = 'some text here'.
ld_x_ac_ind = 'some text here'.
ld__scope = 'some text here'.
ld__synchron = 'some text here'.
ld__collect = 'some text here'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name DEQUEUE_E_OIUE2_RUN_HDR or its description.