SAP Function Modules

DEQUEUE_E_TXW_IDXW SAP Function module







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

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


Pattern for FM DEQUEUE_E_TXW_IDXW - DEQUEUE E TXW IDXW





CALL FUNCTION 'DEQUEUE_E_TXW_IDXW' "
* EXPORTING
*   mode_txw_index = 'E'        " dd26e-enqmode
*   index_id =                  " txw_index-index_id
*   comp_code =                 " txw_index-comp_code
*   period =                    " txw_index-period
*   index_key =                 " txw_index-index_key
*   vol_id =                    " txw_index-vol_id
*   address =                   " txw_index-address
*   x_index_id = SPACE          "
*   x_comp_code = SPACE         "
*   x_period = SPACE            "
*   x_index_key = SPACE         "
*   x_vol_id = SPACE            "
*   x_address = SPACE           "
*   _scope = '3'                "
*   _synchron = SPACE           "
*   _collect = ' '              " ddenq_like-collect
    .  "  DEQUEUE_E_TXW_IDXW

ABAP code example for Function Module DEQUEUE_E_TXW_IDXW





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

SELECT single INDEX_ID
FROM TXW_INDEX
INTO @DATA(ld_index_id).


SELECT single COMP_CODE
FROM TXW_INDEX
INTO @DATA(ld_comp_code).


SELECT single PERIOD
FROM TXW_INDEX
INTO @DATA(ld_period).


SELECT single INDEX_KEY
FROM TXW_INDEX
INTO @DATA(ld_index_key).


SELECT single VOL_ID
FROM TXW_INDEX
INTO @DATA(ld_vol_id).


SELECT single ADDRESS
FROM TXW_INDEX
INTO @DATA(ld_address).

DATA(ld_x_index_id) = 'some text here'.
DATA(ld_x_comp_code) = 'some text here'.
DATA(ld_x_period) = 'some text here'.
DATA(ld_x_index_key) = 'some text here'.
DATA(ld_x_vol_id) = 'some text here'.
DATA(ld_x_address) = '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_TXW_IDXW' * EXPORTING * mode_txw_index = ld_mode_txw_index * index_id = ld_index_id * comp_code = ld_comp_code * period = ld_period * index_key = ld_index_key * vol_id = ld_vol_id * address = ld_address * x_index_id = ld_x_index_id * x_comp_code = ld_x_comp_code * x_period = ld_x_period * x_index_key = ld_x_index_key * x_vol_id = ld_x_vol_id * x_address = ld_x_address * _scope = ld__scope * _synchron = ld__synchron * _collect = ld__collect . " DEQUEUE_E_TXW_IDXW
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_txw_index  TYPE DD26E-ENQMODE ,
ld_index_id  TYPE TXW_INDEX-INDEX_ID ,
ld_comp_code  TYPE TXW_INDEX-COMP_CODE ,
ld_period  TYPE TXW_INDEX-PERIOD ,
ld_index_key  TYPE TXW_INDEX-INDEX_KEY ,
ld_vol_id  TYPE TXW_INDEX-VOL_ID ,
ld_address  TYPE TXW_INDEX-ADDRESS ,
ld_x_index_id  TYPE STRING ,
ld_x_comp_code  TYPE STRING ,
ld_x_period  TYPE STRING ,
ld_x_index_key  TYPE STRING ,
ld_x_vol_id  TYPE STRING ,
ld_x_address  TYPE STRING ,
ld__scope  TYPE STRING ,
ld__synchron  TYPE STRING ,
ld__collect  TYPE DDENQ_LIKE-COLLECT .


ld_mode_txw_index = some text here

SELECT single INDEX_ID
FROM TXW_INDEX
INTO ld_index_id.


SELECT single COMP_CODE
FROM TXW_INDEX
INTO ld_comp_code.


SELECT single PERIOD
FROM TXW_INDEX
INTO ld_period.


SELECT single INDEX_KEY
FROM TXW_INDEX
INTO ld_index_key.


SELECT single VOL_ID
FROM TXW_INDEX
INTO ld_vol_id.


SELECT single ADDRESS
FROM TXW_INDEX
INTO ld_address.

ld_x_index_id = 'some text here'.
ld_x_comp_code = 'some text here'.
ld_x_period = 'some text here'.
ld_x_index_key = 'some text here'.
ld_x_vol_id = 'some text here'.
ld_x_address = '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_TXW_IDXW or its description.