SAP DEQUEUE_ESSOSU Function Module for









DEQUEUE_ESSOSU is a standard dequeue essosu SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 essosu FM, simply by entering the name DEQUEUE_ESSOSU into the relevant SAP transaction such as SE37 or SE38.

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



Function DEQUEUE_ESSOSU 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_ESSOSU'"
EXPORTING
* MODE_SOSU = 'E' "Lock mode for table SOSU
* X_USRTP = ' ' "Fill argument 02 with initial value?
* X_USRYR = ' ' "Fill argument 03 with initial value?
* X_USRNO = ' ' "Fill argument 04 with initial value?
* X_SUBTP = ' ' "Fill argument 05 with initial value?
* X_SUBYR = ' ' "Fill argument 06 with initial value?
* X_SUBNO = ' ' "Fill argument 07 with initial value?
* X_SUCNT = ' ' "Fill argument 08 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* MANDT = SY-MANDT "01th enqueue argument
* USRTP = "02th enqueue argument
* USRYR = "03th enqueue argument
* USRNO = "04th enqueue argument
* SUBTP = "05th enqueue argument
* SUBYR = "06th enqueue argument
* SUBNO = "07th enqueue argument
* SUCNT = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_ESSOSU

MODE_SOSU - Lock mode for table SOSU

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

X_USRTP - Fill argument 02 with initial value?

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

X_USRYR - Fill argument 03 with initial value?

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

X_USRNO - Fill argument 04 with initial value?

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

X_SUBTP - Fill argument 05 with initial value?

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

X_SUBYR - Fill argument 06 with initial value?

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

X_SUBNO - Fill argument 07 with initial value?

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

X_SUCNT - 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: DDENQ_LIKE-COLLECT
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

MANDT - 01th enqueue argument

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

USRTP - 02th enqueue argument

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

USRYR - 03th enqueue argument

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

USRNO - 04th enqueue argument

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

SUBTP - 05th enqueue argument

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

SUBYR - 06th enqueue argument

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

SUBNO - 07th enqueue argument

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

SUCNT - 08th enqueue argument

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

Copy and paste ABAP code example for DEQUEUE_ESSOSU 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_sosu  TYPE DD26E-ENQMODE, "   'E'
lv_x_usrtp  TYPE DD26E, "   SPACE
lv_x_usryr  TYPE DD26E, "   SPACE
lv_x_usrno  TYPE DD26E, "   SPACE
lv_x_subtp  TYPE DD26E, "   SPACE
lv_x_subyr  TYPE DD26E, "   SPACE
lv_x_subno  TYPE DD26E, "   SPACE
lv_x_sucnt  TYPE DD26E, "   SPACE
lv__scope  TYPE DD26E, "   '3'
lv__synchron  TYPE DD26E, "   SPACE
lv__collect  TYPE DDENQ_LIKE-COLLECT, "   ' '
lv_mandt  TYPE SOSU-MANDT, "   SY-MANDT
lv_usrtp  TYPE SOSU-USRTP, "   
lv_usryr  TYPE SOSU-USRYR, "   
lv_usrno  TYPE SOSU-USRNO, "   
lv_subtp  TYPE SOSU-SUBTP, "   
lv_subyr  TYPE SOSU-SUBYR, "   
lv_subno  TYPE SOSU-SUBNO, "   
lv_sucnt  TYPE SOSU-SUCNT. "   

  CALL FUNCTION 'DEQUEUE_ESSOSU'  "
    EXPORTING
         MODE_SOSU = lv_mode_sosu
         X_USRTP = lv_x_usrtp
         X_USRYR = lv_x_usryr
         X_USRNO = lv_x_usrno
         X_SUBTP = lv_x_subtp
         X_SUBYR = lv_x_subyr
         X_SUBNO = lv_x_subno
         X_SUCNT = lv_x_sucnt
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         MANDT = lv_mandt
         USRTP = lv_usrtp
         USRYR = lv_usryr
         USRNO = lv_usrno
         SUBTP = lv_subtp
         SUBYR = lv_subyr
         SUBNO = lv_subno
         SUCNT = lv_sucnt
. " DEQUEUE_ESSOSU




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_ESSOSU

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.

"SELECT single ENQMODE FROM DD26E INTO @DATA(ld_mode_sosu).
DATA(ld_mode_sosu) = 'E'.
 
DATA(ld_x_usrtp) = ' '.
 
DATA(ld_x_usryr) = ' '.
 
DATA(ld_x_usrno) = ' '.
 
DATA(ld_x_subtp) = ' '.
 
DATA(ld_x_subyr) = ' '.
 
DATA(ld_x_subno) = ' '.
 
DATA(ld_x_sucnt) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
"SELECT single COLLECT FROM DDENQ_LIKE INTO @DATA(ld__collect).
DATA(ld__collect) = ' '.
 
"SELECT single MANDT FROM SOSU INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
"SELECT single USRTP FROM SOSU INTO @DATA(ld_usrtp).
 
"SELECT single USRYR FROM SOSU INTO @DATA(ld_usryr).
 
"SELECT single USRNO FROM SOSU INTO @DATA(ld_usrno).
 
"SELECT single SUBTP FROM SOSU INTO @DATA(ld_subtp).
 
"SELECT single SUBYR FROM SOSU INTO @DATA(ld_subyr).
 
"SELECT single SUBNO FROM SOSU INTO @DATA(ld_subno).
 
"SELECT single SUCNT FROM SOSU INTO @DATA(ld_sucnt).
 


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!