SAP DEQUEUE_EHS02QUEST Function Module for Release lock on object EHS02QUEST









DEQUEUE_EHS02QUEST is a standard dequeue ehs02quest 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 EHS02QUEST 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 ehs02quest FM, simply by entering the name DEQUEUE_EHS02QUEST into the relevant SAP transaction such as SE37 or SE38.

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



Function DEQUEUE_EHS02QUEST 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_EHS02QUEST'"Release lock on object EHS02QUEST
EXPORTING
* MODE_T7EHS00_QUEST = 'E' "Lock mode for table T7EHS00_QUEST
* X_Q_ID = ' ' "Fill argument 02 with initial value?
* X_SPRAS = ' ' "Fill argument 03 with initial value?
* X_QUEST_QCATALOG = ' ' "Fill argument 04 with initial value?
* X_QUEST_GROUP = ' ' "Fill argument 05 with initial value?
* X_QUEST_ID = ' ' "Fill argument 06 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* MODE_T7EHS00_QUESTT = 'E' "Lock mode for table T7EHS00_QUESTT
* MODE_T7EHS00_QUESTQ = 'E' "Lock mode for table T7EHS00_QUESTQ
* MANDT = SY-MANDT "01th enqueue argument
* Q_ID = "02th enqueue argument
* SPRAS = "03th enqueue argument
* QUEST_QCATALOG = "04th enqueue argument
* QUEST_GROUP = "05th enqueue argument
* QUEST_ID = "06th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_EHS02QUEST

MODE_T7EHS00_QUEST - Lock mode for table T7EHS00_QUEST

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

X_Q_ID - Fill argument 02 with initial value?

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

X_SPRAS - Fill argument 03 with initial value?

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

X_QUEST_QCATALOG - Fill argument 04 with initial value?

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

X_QUEST_GROUP - Fill argument 05 with initial value?

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

X_QUEST_ID - 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)

MODE_T7EHS00_QUESTT - Lock mode for table T7EHS00_QUESTT

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

MODE_T7EHS00_QUESTQ - Lock mode for table T7EHS00_QUESTQ

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

MANDT - 01th enqueue argument

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

Q_ID - 02th enqueue argument

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

SPRAS - 03th enqueue argument

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

QUEST_QCATALOG - 04th enqueue argument

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

QUEST_GROUP - 05th enqueue argument

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

QUEST_ID - 06th enqueue argument

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

Copy and paste ABAP code example for DEQUEUE_EHS02QUEST 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_t7ehs00_quest  TYPE ENQMODE, "   'E'
lv_x_q_id  TYPE ENQMODE, "   SPACE
lv_x_spras  TYPE ENQMODE, "   SPACE
lv_x_quest_qcatalog  TYPE ENQMODE, "   SPACE
lv_x_quest_group  TYPE ENQMODE, "   SPACE
lv_x_quest_id  TYPE ENQMODE, "   SPACE
lv__scope  TYPE ENQMODE, "   '3'
lv__synchron  TYPE ENQMODE, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_mode_t7ehs00_questt  TYPE ENQMODE, "   'E'
lv_mode_t7ehs00_questq  TYPE ENQMODE, "   'E'
lv_mandt  TYPE T7EHS00_QUEST-MANDT, "   SY-MANDT
lv_q_id  TYPE T7EHS00_QUEST-Q_ID, "   
lv_spras  TYPE T7EHS00_QUESTT-SPRAS, "   
lv_quest_qcatalog  TYPE T7EHS00_QUESTQ-QUEST_QCATALOG, "   
lv_quest_group  TYPE T7EHS00_QUESTQ-QUEST_GROUP, "   
lv_quest_id  TYPE T7EHS00_QUESTQ-QUEST_ID. "   

  CALL FUNCTION 'DEQUEUE_EHS02QUEST'  "Release lock on object EHS02QUEST
    EXPORTING
         MODE_T7EHS00_QUEST = lv_mode_t7ehs00_quest
         X_Q_ID = lv_x_q_id
         X_SPRAS = lv_x_spras
         X_QUEST_QCATALOG = lv_x_quest_qcatalog
         X_QUEST_GROUP = lv_x_quest_group
         X_QUEST_ID = lv_x_quest_id
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         MODE_T7EHS00_QUESTT = lv_mode_t7ehs00_questt
         MODE_T7EHS00_QUESTQ = lv_mode_t7ehs00_questq
         MANDT = lv_mandt
         Q_ID = lv_q_id
         SPRAS = lv_spras
         QUEST_QCATALOG = lv_quest_qcatalog
         QUEST_GROUP = lv_quest_group
         QUEST_ID = lv_quest_id
. " DEQUEUE_EHS02QUEST




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_EHS02QUEST

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_t7ehs00_quest) = 'E'.
 
DATA(ld_x_q_id) = ' '.
 
DATA(ld_x_spras) = ' '.
 
DATA(ld_x_quest_qcatalog) = ' '.
 
DATA(ld_x_quest_group) = ' '.
 
DATA(ld_x_quest_id) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
DATA(ld_mode_t7ehs00_questt) = 'E'.
 
DATA(ld_mode_t7ehs00_questq) = 'E'.
 
"SELECT single MANDT FROM T7EHS00_QUEST INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
"SELECT single Q_ID FROM T7EHS00_QUEST INTO @DATA(ld_q_id).
 
"SELECT single SPRAS FROM T7EHS00_QUESTT INTO @DATA(ld_spras).
 
"SELECT single QUEST_QCATALOG FROM T7EHS00_QUESTQ INTO @DATA(ld_quest_qcatalog).
 
"SELECT single QUEST_GROUP FROM T7EHS00_QUESTQ INTO @DATA(ld_quest_group).
 
"SELECT single QUEST_ID FROM T7EHS00_QUESTQ INTO @DATA(ld_quest_id).
 


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!