SAP Function Modules

DEQUEUE_EBAMUIDTL SAP Function module







DEQUEUE_EBAMUIDTL 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_EBAMUIDTL into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: DWBEN/SAPLBEN0000
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM DEQUEUE_EBAMUIDTL - DEQUEUE EBAMUIDTL





CALL FUNCTION 'DEQUEUE_EBAMUIDTL' "
* EXPORTING
*   mode_bamuidtl = 'E'         " dd26e-enqmode
*   appl =                      " bamuidtl-appl
*   grpid =                     " bamuidtl-grpid
*   objid =                     " bamuidtl-objid
*   profileno =                 " bamuidtl-profileno
*   x_appl = SPACE              "
*   x_grpid = SPACE             "
*   x_objid = SPACE             "
*   x_profileno = SPACE         "
*   _scope = '3'                "
*   _synchron = SPACE           "
*   _collect = ' '              " ddenq_like-collect
    .  "  DEQUEUE_EBAMUIDTL

ABAP code example for Function Module DEQUEUE_EBAMUIDTL





The ABAP code below is a full code listing to execute function module DEQUEUE_EBAMUIDTL 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_bamuidtl) = some text here

SELECT single APPL
FROM BAMUIDTL
INTO @DATA(ld_appl).


SELECT single GRPID
FROM BAMUIDTL
INTO @DATA(ld_grpid).


SELECT single OBJID
FROM BAMUIDTL
INTO @DATA(ld_objid).


SELECT single PROFILENO
FROM BAMUIDTL
INTO @DATA(ld_profileno).

DATA(ld_x_appl) = 'some text here'.
DATA(ld_x_grpid) = 'some text here'.
DATA(ld_x_objid) = 'some text here'.
DATA(ld_x_profileno) = 'some text here'.
DATA(ld__scope) = 'some text here'.
DATA(ld__synchron) = 'some text here'.

DATA(ld__collect) = some text here . CALL FUNCTION 'DEQUEUE_EBAMUIDTL' * EXPORTING * mode_bamuidtl = ld_mode_bamuidtl * appl = ld_appl * grpid = ld_grpid * objid = ld_objid * profileno = ld_profileno * x_appl = ld_x_appl * x_grpid = ld_x_grpid * x_objid = ld_x_objid * x_profileno = ld_x_profileno * _scope = ld__scope * _synchron = ld__synchron * _collect = ld__collect . " DEQUEUE_EBAMUIDTL
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_bamuidtl  TYPE DD26E-ENQMODE ,
ld_appl  TYPE BAMUIDTL-APPL ,
ld_grpid  TYPE BAMUIDTL-GRPID ,
ld_objid  TYPE BAMUIDTL-OBJID ,
ld_profileno  TYPE BAMUIDTL-PROFILENO ,
ld_x_appl  TYPE STRING ,
ld_x_grpid  TYPE STRING ,
ld_x_objid  TYPE STRING ,
ld_x_profileno  TYPE STRING ,
ld__scope  TYPE STRING ,
ld__synchron  TYPE STRING ,
ld__collect  TYPE DDENQ_LIKE-COLLECT .


ld_mode_bamuidtl = some text here

SELECT single APPL
FROM BAMUIDTL
INTO ld_appl.


SELECT single GRPID
FROM BAMUIDTL
INTO ld_grpid.


SELECT single OBJID
FROM BAMUIDTL
INTO ld_objid.


SELECT single PROFILENO
FROM BAMUIDTL
INTO ld_profileno.

ld_x_appl = 'some text here'.
ld_x_grpid = 'some text here'.
ld_x_objid = 'some text here'.
ld_x_profileno = '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_EBAMUIDTL or its description.