SAP Function Modules

EPIC_DMEE_EXIT_EMAIL SAP Function module - DMEE: Customer e-mail







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

Associated Function Group: EPIC_DMEE_EXIT
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM EPIC_DMEE_EXIT_EMAIL - EPIC DMEE EXIT EMAIL





CALL FUNCTION 'EPIC_DMEE_EXIT_EMAIL' "DMEE: Customer e-mail
  EXPORTING
    i_tree_type =               " dmee_treetype_aba  DMEE: tree type
    i_tree_id =                 " dmee_treeid_aba  DMEE:  ID for a DMEE format tree
    i_item =                    "               Record (type stored in IF_TYPE)
    i_param =                   "               Parameter (type stored in IF_PARAM)
    i_uparam =                  "               User parameter (type stored in PARAM_STRUC)
  IMPORTING
    o_value =                   "               Output return value
    c_value =                   "               Return value of type C
    n_value =                   "               Return value of type N
    p_value =                   "               Return value of type P
  TABLES
    i_tab =                     "               Internal table (type stored in IF_TAB)
    .  "  EPIC_DMEE_EXIT_EMAIL

ABAP code example for Function Module EPIC_DMEE_EXIT_EMAIL





The ABAP code below is a full code listing to execute function module EPIC_DMEE_EXIT_EMAIL 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_o_value  TYPE STRING ,
ld_c_value  TYPE STRING ,
ld_n_value  TYPE STRING ,
ld_p_value  TYPE STRING ,
it_i_tab  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_i_tab  LIKE LINE OF it_i_tab .

DATA(ld_i_tree_type) = 'Check type of data required'.
DATA(ld_i_tree_id) = 'Check type of data required'.
DATA(ld_i_item) = 'some text here'.
DATA(ld_i_param) = 'some text here'.
DATA(ld_i_uparam) = 'some text here'.

"populate fields of struture and append to itab
append wa_i_tab to it_i_tab. . CALL FUNCTION 'EPIC_DMEE_EXIT_EMAIL' EXPORTING i_tree_type = ld_i_tree_type i_tree_id = ld_i_tree_id i_item = ld_i_item i_param = ld_i_param i_uparam = ld_i_uparam IMPORTING o_value = ld_o_value c_value = ld_c_value n_value = ld_n_value p_value = ld_p_value TABLES i_tab = it_i_tab . " EPIC_DMEE_EXIT_EMAIL
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_o_value  TYPE STRING ,
ld_i_tree_type  TYPE DMEE_TREETYPE_ABA ,
it_i_tab  TYPE STANDARD TABLE OF STRING ,
wa_i_tab  LIKE LINE OF it_i_tab,
ld_c_value  TYPE STRING ,
ld_i_tree_id  TYPE DMEE_TREEID_ABA ,
ld_n_value  TYPE STRING ,
ld_i_item  TYPE STRING ,
ld_p_value  TYPE STRING ,
ld_i_param  TYPE STRING ,
ld_i_uparam  TYPE STRING .

ld_i_tree_type = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_i_tab to it_i_tab.
ld_i_tree_id = 'Check type of data required'.
ld_i_item = 'some text here'.
ld_i_param = 'some text here'.
ld_i_uparam = 'some text here'.

SAP Documentation for FM EPIC_DMEE_EXIT_EMAIL


This module serves as a template for creating an exit module for the Data Medium Exchange ...See here for full SAP fm documentation

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 EPIC_DMEE_EXIT_EMAIL or its description.