SAP DEQUEUE_EHENV_ADEF_ALOG Function Module for Release lock on object EHENV_ADEF_ALOG









DEQUEUE_EHENV_ADEF_ALOG is a standard dequeue ehenv adef alog 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 EHENV_ADEF_ALOG 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 ehenv adef alog FM, simply by entering the name DEQUEUE_EHENV_ADEF_ALOG into the relevant SAP transaction such as SE37 or SE38.

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



Function DEQUEUE_EHENV_ADEF_ALOG 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_EHENV_ADEF_ALOG'"Release lock on object EHENV_ADEF_ALOG
EXPORTING
* MODE_EHENVD_ADEF_ALOG = 'X' "Lock mode for table EHENVD_ADEF_ALOG
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* MANDT = SY-MANDT "Enqueue argument 01
* CREATION_TIMEST = "Enqueue argument 02
* AGGREGATION = "Enqueue argument 03
* AMOUNT_KEY = "Enqueue argument 04
* X_CREATION_TIMEST = ' ' "Fill argument 02 with initial value?
* X_AGGREGATION = ' ' "Fill argument 03 with initial value?
* X_AMOUNT_KEY = ' ' "Fill argument 04 with initial value?
* _SCOPE = '3' "
.



IMPORTING Parameters details for DEQUEUE_EHENV_ADEF_ALOG

MODE_EHENVD_ADEF_ALOG - Lock mode for table EHENVD_ADEF_ALOG

Data type: ENQMODE
Default: 'X'
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)

MANDT - Enqueue argument 01

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

CREATION_TIMEST - Enqueue argument 02

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

AGGREGATION - Enqueue argument 03

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

AMOUNT_KEY - Enqueue argument 04

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

X_CREATION_TIMEST - Fill argument 02 with initial value?

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

X_AGGREGATION - Fill argument 03 with initial value?

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

X_AMOUNT_KEY - Fill argument 04 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)

Copy and paste ABAP code example for DEQUEUE_EHENV_ADEF_ALOG 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_ehenvd_adef_alog  TYPE ENQMODE, "   'X'
lv__synchron  TYPE ENQMODE, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_mandt  TYPE EHENVD_ADEF_ALOG-MANDT, "   SY-MANDT
lv_creation_timest  TYPE EHENVD_ADEF_ALOG-CREATION_TIMESTAMP, "   
lv_aggregation  TYPE EHENVD_ADEF_ALOG-AGGREGATION, "   
lv_amount_key  TYPE EHENVD_ADEF_ALOG-AMOUNT_KEY, "   
lv_x_creation_timest  TYPE EHENVD_ADEF_ALOG, "   SPACE
lv_x_aggregation  TYPE EHENVD_ADEF_ALOG, "   SPACE
lv_x_amount_key  TYPE EHENVD_ADEF_ALOG, "   SPACE
lv__scope  TYPE EHENVD_ADEF_ALOG. "   '3'

  CALL FUNCTION 'DEQUEUE_EHENV_ADEF_ALOG'  "Release lock on object EHENV_ADEF_ALOG
    EXPORTING
         MODE_EHENVD_ADEF_ALOG = lv_mode_ehenvd_adef_alog
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         MANDT = lv_mandt
         CREATION_TIMEST = lv_creation_timest
         AGGREGATION = lv_aggregation
         AMOUNT_KEY = lv_amount_key
         X_CREATION_TIMEST = lv_x_creation_timest
         X_AGGREGATION = lv_x_aggregation
         X_AMOUNT_KEY = lv_x_amount_key
         _SCOPE = lv__scope
. " DEQUEUE_EHENV_ADEF_ALOG




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_EHENV_ADEF_ALOG

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_ehenvd_adef_alog) = 'X'.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single MANDT FROM EHENVD_ADEF_ALOG INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
"SELECT single CREATION_TIMESTAMP FROM EHENVD_ADEF_ALOG INTO @DATA(ld_creation_timest).
 
"SELECT single AGGREGATION FROM EHENVD_ADEF_ALOG INTO @DATA(ld_aggregation).
 
"SELECT single AMOUNT_KEY FROM EHENVD_ADEF_ALOG INTO @DATA(ld_amount_key).
 
DATA(ld_x_creation_timest) = ' '.
 
DATA(ld_x_aggregation) = ' '.
 
DATA(ld_x_amount_key) = ' '.
 
DATA(ld__scope) = '3'.
 


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!