SAP DEQUEUE_EHRECM00SALADJ Function Module for Release lock on object EHRECM00SALADJ









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

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



Function DEQUEUE_EHRECM00SALADJ 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_EHRECM00SALADJ'"Release lock on object EHRECM00SALADJ
EXPORTING
* MODE_T71JPR25 = 'E' "Lock mode for table T71JPR25
* X_SALADJVERS = ' ' "Fill argument 02 with initial value?
* X_MOLGA = ' ' "Fill argument 03 with initial value?
* X_SLTYP = ' ' "Fill argument 04 with initial value?
* X_SLREG = ' ' "Fill argument 05 with initial value?
* X_SLGRP = ' ' "Fill argument 06 with initial value?
* X_SLLVL = ' ' "Fill argument 07 with initial value?
* X_BEGDA = ' ' "Fill argument 08 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* MANDT = SY-MANDT "01th enqueue argument
* SALADJVERS = "02th enqueue argument
* MOLGA = "03th enqueue argument
* SLTYP = "04th enqueue argument
* SLREG = "05th enqueue argument
* SLGRP = "06th enqueue argument
* SLLVL = "07th enqueue argument
* BEGDA = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_EHRECM00SALADJ

MODE_T71JPR25 - Lock mode for table T71JPR25

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

X_SALADJVERS - Fill argument 02 with initial value?

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

X_MOLGA - Fill argument 03 with initial value?

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

X_SLTYP - Fill argument 04 with initial value?

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

X_SLREG - Fill argument 05 with initial value?

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

X_SLGRP - Fill argument 06 with initial value?

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

X_SLLVL - Fill argument 07 with initial value?

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

X_BEGDA - Fill argument 08 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)

MANDT - 01th enqueue argument

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

SALADJVERS - 02th enqueue argument

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

MOLGA - 03th enqueue argument

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

SLTYP - 04th enqueue argument

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

SLREG - 05th enqueue argument

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

SLGRP - 06th enqueue argument

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

SLLVL - 07th enqueue argument

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

BEGDA - 08th enqueue argument

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

Copy and paste ABAP code example for DEQUEUE_EHRECM00SALADJ 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_t71jpr25  TYPE ENQMODE, "   'E'
lv_x_saladjvers  TYPE ENQMODE, "   SPACE
lv_x_molga  TYPE ENQMODE, "   SPACE
lv_x_sltyp  TYPE ENQMODE, "   SPACE
lv_x_slreg  TYPE ENQMODE, "   SPACE
lv_x_slgrp  TYPE ENQMODE, "   SPACE
lv_x_sllvl  TYPE ENQMODE, "   SPACE
lv_x_begda  TYPE ENQMODE, "   SPACE
lv__scope  TYPE ENQMODE, "   '3'
lv__synchron  TYPE ENQMODE, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_mandt  TYPE T71JPR25-MANDT, "   SY-MANDT
lv_saladjvers  TYPE T71JPR25-SALADJVERS, "   
lv_molga  TYPE T71JPR25-MOLGA, "   
lv_sltyp  TYPE T71JPR25-SLTYP, "   
lv_slreg  TYPE T71JPR25-SLREG, "   
lv_slgrp  TYPE T71JPR25-SLGRP, "   
lv_sllvl  TYPE T71JPR25-SLLVL, "   
lv_begda  TYPE T71JPR25-BEGDA. "   

  CALL FUNCTION 'DEQUEUE_EHRECM00SALADJ'  "Release lock on object EHRECM00SALADJ
    EXPORTING
         MODE_T71JPR25 = lv_mode_t71jpr25
         X_SALADJVERS = lv_x_saladjvers
         X_MOLGA = lv_x_molga
         X_SLTYP = lv_x_sltyp
         X_SLREG = lv_x_slreg
         X_SLGRP = lv_x_slgrp
         X_SLLVL = lv_x_sllvl
         X_BEGDA = lv_x_begda
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         MANDT = lv_mandt
         SALADJVERS = lv_saladjvers
         MOLGA = lv_molga
         SLTYP = lv_sltyp
         SLREG = lv_slreg
         SLGRP = lv_slgrp
         SLLVL = lv_sllvl
         BEGDA = lv_begda
. " DEQUEUE_EHRECM00SALADJ




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_EHRECM00SALADJ

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_t71jpr25) = 'E'.
 
DATA(ld_x_saladjvers) = ' '.
 
DATA(ld_x_molga) = ' '.
 
DATA(ld_x_sltyp) = ' '.
 
DATA(ld_x_slreg) = ' '.
 
DATA(ld_x_slgrp) = ' '.
 
DATA(ld_x_sllvl) = ' '.
 
DATA(ld_x_begda) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single MANDT FROM T71JPR25 INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
"SELECT single SALADJVERS FROM T71JPR25 INTO @DATA(ld_saladjvers).
 
"SELECT single MOLGA FROM T71JPR25 INTO @DATA(ld_molga).
 
"SELECT single SLTYP FROM T71JPR25 INTO @DATA(ld_sltyp).
 
"SELECT single SLREG FROM T71JPR25 INTO @DATA(ld_slreg).
 
"SELECT single SLGRP FROM T71JPR25 INTO @DATA(ld_slgrp).
 
"SELECT single SLLVL FROM T71JPR25 INTO @DATA(ld_sllvl).
 
"SELECT single BEGDA FROM T71JPR25 INTO @DATA(ld_begda).
 


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!