SAP Function Modules

DEQUEUE_ECKML_RUN_CREATE SAP Function module







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

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


Pattern for FM DEQUEUE_ECKML_RUN_CREATE - DEQUEUE ECKML RUN CREATE





CALL FUNCTION 'DEQUEUE_ECKML_RUN_CREATE' "
* EXPORTING
*   mode_ckmlrunplant = 'E'     " dd26e-enqmode
*   mandt = SY-MANDT            " ckmlrunplant-mandt
*   werks =                     " ckmlrunplant-werks
*   last_day =                  " ckmlrunplant-last_day
*   appl =                      " ckmlrunplant-appl
*   version =                   " ckmlrunplant-version
*   x_werks = SPACE             "
*   x_last_day = SPACE          "
*   x_appl = SPACE              "
*   x_version = SPACE           "
*   _scope = '3'                "
*   _synchron = SPACE           "
*   _collect = ' '              " ddenq_like-collect
    .  "  DEQUEUE_ECKML_RUN_CREATE

ABAP code example for Function Module DEQUEUE_ECKML_RUN_CREATE





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

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


SELECT single WERKS
FROM CKMLRUNPLANT
INTO @DATA(ld_werks).


SELECT single LAST_DAY
FROM CKMLRUNPLANT
INTO @DATA(ld_last_day).


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


SELECT single VERSION
FROM CKMLRUNPLANT
INTO @DATA(ld_version).

DATA(ld_x_werks) = 'some text here'.
DATA(ld_x_last_day) = 'some text here'.
DATA(ld_x_appl) = 'some text here'.
DATA(ld_x_version) = 'some text here'.
DATA(ld__scope) = 'some text here'.
DATA(ld__synchron) = 'some text here'.

DATA(ld__collect) = some text here . CALL FUNCTION 'DEQUEUE_ECKML_RUN_CREATE' * EXPORTING * mode_ckmlrunplant = ld_mode_ckmlrunplant * mandt = ld_mandt * werks = ld_werks * last_day = ld_last_day * appl = ld_appl * version = ld_version * x_werks = ld_x_werks * x_last_day = ld_x_last_day * x_appl = ld_x_appl * x_version = ld_x_version * _scope = ld__scope * _synchron = ld__synchron * _collect = ld__collect . " DEQUEUE_ECKML_RUN_CREATE
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_ckmlrunplant  TYPE DD26E-ENQMODE ,
ld_mandt  TYPE CKMLRUNPLANT-MANDT ,
ld_werks  TYPE CKMLRUNPLANT-WERKS ,
ld_last_day  TYPE CKMLRUNPLANT-LAST_DAY ,
ld_appl  TYPE CKMLRUNPLANT-APPL ,
ld_version  TYPE CKMLRUNPLANT-VERSION ,
ld_x_werks  TYPE STRING ,
ld_x_last_day  TYPE STRING ,
ld_x_appl  TYPE STRING ,
ld_x_version  TYPE STRING ,
ld__scope  TYPE STRING ,
ld__synchron  TYPE STRING ,
ld__collect  TYPE DDENQ_LIKE-COLLECT .


ld_mode_ckmlrunplant = some text here

SELECT single MANDT
FROM CKMLRUNPLANT
INTO ld_mandt.


SELECT single WERKS
FROM CKMLRUNPLANT
INTO ld_werks.


SELECT single LAST_DAY
FROM CKMLRUNPLANT
INTO ld_last_day.


SELECT single APPL
FROM CKMLRUNPLANT
INTO ld_appl.


SELECT single VERSION
FROM CKMLRUNPLANT
INTO ld_version.

ld_x_werks = 'some text here'.
ld_x_last_day = 'some text here'.
ld_x_appl = 'some text here'.
ld_x_version = '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_ECKML_RUN_CREATE or its description.