SAP Function Modules

DEQUEUE_E_TF605 SAP Function module







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

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


Pattern for FM DEQUEUE_E_TF605 - DEQUEUE E TF605





CALL FUNCTION 'DEQUEUE_E_TF605' "
* EXPORTING
*   mode_tf605 = 'E'            " dd26e-enqmode
*   mandt = SY-MANDT            " tf605-mandt
*   dimen =                     " tf605-dimen
*   coivs =                     " tf605-coivs
*   strvs =                     " tf605-strvs
*   invvs =                     " tf605-invvs
*   congr =                     " tf605-congr
*   bunit =                     " tf605-bunit
*   yearper =                   " tf605-yearper
*   x_dimen = SPACE             "
*   x_coivs = SPACE             "
*   x_strvs = SPACE             "
*   x_invvs = SPACE             "
*   x_congr = SPACE             "
*   x_bunit = SPACE             "
*   x_yearper = SPACE           "
*   _scope = '3'                "
*   _synchron = SPACE           "
*   _collect = ' '              " ddenq_like-collect
    .  "  DEQUEUE_E_TF605

ABAP code example for Function Module DEQUEUE_E_TF605





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

SELECT single MANDT
FROM TF605
INTO @DATA(ld_mandt).


SELECT single DIMEN
FROM TF605
INTO @DATA(ld_dimen).


SELECT single COIVS
FROM TF605
INTO @DATA(ld_coivs).


SELECT single STRVS
FROM TF605
INTO @DATA(ld_strvs).


SELECT single INVVS
FROM TF605
INTO @DATA(ld_invvs).


SELECT single CONGR
FROM TF605
INTO @DATA(ld_congr).


SELECT single BUNIT
FROM TF605
INTO @DATA(ld_bunit).


SELECT single YEARPER
FROM TF605
INTO @DATA(ld_yearper).

DATA(ld_x_dimen) = 'some text here'.
DATA(ld_x_coivs) = 'some text here'.
DATA(ld_x_strvs) = 'some text here'.
DATA(ld_x_invvs) = 'some text here'.
DATA(ld_x_congr) = 'some text here'.
DATA(ld_x_bunit) = 'some text here'.
DATA(ld_x_yearper) = 'some text here'.
DATA(ld__scope) = 'some text here'.
DATA(ld__synchron) = 'some text here'.

DATA(ld__collect) = some text here . CALL FUNCTION 'DEQUEUE_E_TF605' * EXPORTING * mode_tf605 = ld_mode_tf605 * mandt = ld_mandt * dimen = ld_dimen * coivs = ld_coivs * strvs = ld_strvs * invvs = ld_invvs * congr = ld_congr * bunit = ld_bunit * yearper = ld_yearper * x_dimen = ld_x_dimen * x_coivs = ld_x_coivs * x_strvs = ld_x_strvs * x_invvs = ld_x_invvs * x_congr = ld_x_congr * x_bunit = ld_x_bunit * x_yearper = ld_x_yearper * _scope = ld__scope * _synchron = ld__synchron * _collect = ld__collect . " DEQUEUE_E_TF605
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_tf605  TYPE DD26E-ENQMODE ,
ld_mandt  TYPE TF605-MANDT ,
ld_dimen  TYPE TF605-DIMEN ,
ld_coivs  TYPE TF605-COIVS ,
ld_strvs  TYPE TF605-STRVS ,
ld_invvs  TYPE TF605-INVVS ,
ld_congr  TYPE TF605-CONGR ,
ld_bunit  TYPE TF605-BUNIT ,
ld_yearper  TYPE TF605-YEARPER ,
ld_x_dimen  TYPE STRING ,
ld_x_coivs  TYPE STRING ,
ld_x_strvs  TYPE STRING ,
ld_x_invvs  TYPE STRING ,
ld_x_congr  TYPE STRING ,
ld_x_bunit  TYPE STRING ,
ld_x_yearper  TYPE STRING ,
ld__scope  TYPE STRING ,
ld__synchron  TYPE STRING ,
ld__collect  TYPE DDENQ_LIKE-COLLECT .


ld_mode_tf605 = some text here

SELECT single MANDT
FROM TF605
INTO ld_mandt.


SELECT single DIMEN
FROM TF605
INTO ld_dimen.


SELECT single COIVS
FROM TF605
INTO ld_coivs.


SELECT single STRVS
FROM TF605
INTO ld_strvs.


SELECT single INVVS
FROM TF605
INTO ld_invvs.


SELECT single CONGR
FROM TF605
INTO ld_congr.


SELECT single BUNIT
FROM TF605
INTO ld_bunit.


SELECT single YEARPER
FROM TF605
INTO ld_yearper.

ld_x_dimen = 'some text here'.
ld_x_coivs = 'some text here'.
ld_x_strvs = 'some text here'.
ld_x_invvs = 'some text here'.
ld_x_congr = 'some text here'.
ld_x_bunit = 'some text here'.
ld_x_yearper = '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_E_TF605 or its description.