SAP Function Modules

DEQUEUE_EFVIMI27 SAP Function module







DEQUEUE_EFVIMI27 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_EFVIMI27 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_EFVIMI27 - DEQUEUE EFVIMI27





CALL FUNCTION 'DEQUEUE_EFVIMI27' "
* EXPORTING
*   mode_vimi27 = 'E'           " dd26e-enqmode
*   mandt = SY-MANDT            " vimi27-mandt
*   sihma =                     " vimi27-sihma
*   aufnr =                     " vimi29-aufnr
*   bukrs =                     " vimi31-bukrs
*   swenr =                     " vimi31-swenr
*   smenr =                     " vimi31-smenr
*   ps_psp_pnr =                " vimi30-ps_psp_pnr
*   x_sihma = SPACE             "
*   x_aufnr = SPACE             "
*   x_bukrs = SPACE             "
*   x_swenr = SPACE             "
*   x_smenr = SPACE             "
*   x_ps_psp_pnr = SPACE        "
*   _scope = '3'                "
*   _synchron = SPACE           "
*   _collect = ' '              " ddenq_like-collect
    .  "  DEQUEUE_EFVIMI27

ABAP code example for Function Module DEQUEUE_EFVIMI27





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

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


SELECT single SIHMA
FROM VIMI27
INTO @DATA(ld_sihma).


SELECT single AUFNR
FROM VIMI29
INTO @DATA(ld_aufnr).


SELECT single BUKRS
FROM VIMI31
INTO @DATA(ld_bukrs).


SELECT single SWENR
FROM VIMI31
INTO @DATA(ld_swenr).


SELECT single SMENR
FROM VIMI31
INTO @DATA(ld_smenr).


SELECT single PS_PSP_PNR
FROM VIMI30
INTO @DATA(ld_ps_psp_pnr).

DATA(ld_x_sihma) = 'some text here'.
DATA(ld_x_aufnr) = 'some text here'.
DATA(ld_x_bukrs) = 'some text here'.
DATA(ld_x_swenr) = 'some text here'.
DATA(ld_x_smenr) = 'some text here'.
DATA(ld_x_ps_psp_pnr) = 'some text here'.
DATA(ld__scope) = 'some text here'.
DATA(ld__synchron) = 'some text here'.

DATA(ld__collect) = some text here . CALL FUNCTION 'DEQUEUE_EFVIMI27' * EXPORTING * mode_vimi27 = ld_mode_vimi27 * mandt = ld_mandt * sihma = ld_sihma * aufnr = ld_aufnr * bukrs = ld_bukrs * swenr = ld_swenr * smenr = ld_smenr * ps_psp_pnr = ld_ps_psp_pnr * x_sihma = ld_x_sihma * x_aufnr = ld_x_aufnr * x_bukrs = ld_x_bukrs * x_swenr = ld_x_swenr * x_smenr = ld_x_smenr * x_ps_psp_pnr = ld_x_ps_psp_pnr * _scope = ld__scope * _synchron = ld__synchron * _collect = ld__collect . " DEQUEUE_EFVIMI27
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_vimi27  TYPE DD26E-ENQMODE ,
ld_mandt  TYPE VIMI27-MANDT ,
ld_sihma  TYPE VIMI27-SIHMA ,
ld_aufnr  TYPE VIMI29-AUFNR ,
ld_bukrs  TYPE VIMI31-BUKRS ,
ld_swenr  TYPE VIMI31-SWENR ,
ld_smenr  TYPE VIMI31-SMENR ,
ld_ps_psp_pnr  TYPE VIMI30-PS_PSP_PNR ,
ld_x_sihma  TYPE STRING ,
ld_x_aufnr  TYPE STRING ,
ld_x_bukrs  TYPE STRING ,
ld_x_swenr  TYPE STRING ,
ld_x_smenr  TYPE STRING ,
ld_x_ps_psp_pnr  TYPE STRING ,
ld__scope  TYPE STRING ,
ld__synchron  TYPE STRING ,
ld__collect  TYPE DDENQ_LIKE-COLLECT .


ld_mode_vimi27 = some text here

SELECT single MANDT
FROM VIMI27
INTO ld_mandt.


SELECT single SIHMA
FROM VIMI27
INTO ld_sihma.


SELECT single AUFNR
FROM VIMI29
INTO ld_aufnr.


SELECT single BUKRS
FROM VIMI31
INTO ld_bukrs.


SELECT single SWENR
FROM VIMI31
INTO ld_swenr.


SELECT single SMENR
FROM VIMI31
INTO ld_smenr.


SELECT single PS_PSP_PNR
FROM VIMI30
INTO ld_ps_psp_pnr.

ld_x_sihma = 'some text here'.
ld_x_aufnr = 'some text here'.
ld_x_bukrs = 'some text here'.
ld_x_swenr = 'some text here'.
ld_x_smenr = 'some text here'.
ld_x_ps_psp_pnr = '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_EFVIMI27 or its description.