SAP Function Modules

SE_DUNN_EB_PREP SAP Function module







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

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


Pattern for FM SE_DUNN_EB_PREP - SE DUNN EB PREP





CALL FUNCTION 'SE_DUNN_EB_PREP' "
  EXPORTING
    i_febko_ext =               " febkoxt_bf
    i_febep_ext =               " febepxt_bf
    i_febko_int =               " febkoin_bf
    i_febep_int =               " febepin_bf
  IMPORTING
    e_register_area_1 =         " boole-boole
    e_register_area_2 =         " boole-boole
    e_suppr_std_area_1 =        " boole-boole
    e_suppr_std_area_2 =        " boole-boole
  TABLES
    t_febre =                   " febre_bf
    t_febcl =                   " febcl_bf
    .  "  SE_DUNN_EB_PREP

ABAP code example for Function Module SE_DUNN_EB_PREP





The ABAP code below is a full code listing to execute function module SE_DUNN_EB_PREP 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_e_register_area_1  TYPE BOOLE-BOOLE ,
ld_e_register_area_2  TYPE BOOLE-BOOLE ,
ld_e_suppr_std_area_1  TYPE BOOLE-BOOLE ,
ld_e_suppr_std_area_2  TYPE BOOLE-BOOLE ,
it_t_febre  TYPE STANDARD TABLE OF FEBRE_BF,"TABLES PARAM
wa_t_febre  LIKE LINE OF it_t_febre ,
it_t_febcl  TYPE STANDARD TABLE OF FEBCL_BF,"TABLES PARAM
wa_t_febcl  LIKE LINE OF it_t_febcl .

DATA(ld_i_febko_ext) = 'Check type of data required'.
DATA(ld_i_febep_ext) = 'Check type of data required'.
DATA(ld_i_febko_int) = 'Check type of data required'.
DATA(ld_i_febep_int) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_febre to it_t_febre.

"populate fields of struture and append to itab
append wa_t_febcl to it_t_febcl. . CALL FUNCTION 'SE_DUNN_EB_PREP' EXPORTING i_febko_ext = ld_i_febko_ext i_febep_ext = ld_i_febep_ext i_febko_int = ld_i_febko_int i_febep_int = ld_i_febep_int IMPORTING e_register_area_1 = ld_e_register_area_1 e_register_area_2 = ld_e_register_area_2 e_suppr_std_area_1 = ld_e_suppr_std_area_1 e_suppr_std_area_2 = ld_e_suppr_std_area_2 TABLES t_febre = it_t_febre t_febcl = it_t_febcl . " SE_DUNN_EB_PREP
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_e_register_area_1  TYPE BOOLE-BOOLE ,
ld_i_febko_ext  TYPE FEBKOXT_BF ,
it_t_febre  TYPE STANDARD TABLE OF FEBRE_BF ,
wa_t_febre  LIKE LINE OF it_t_febre,
ld_e_register_area_2  TYPE BOOLE-BOOLE ,
ld_i_febep_ext  TYPE FEBEPXT_BF ,
it_t_febcl  TYPE STANDARD TABLE OF FEBCL_BF ,
wa_t_febcl  LIKE LINE OF it_t_febcl,
ld_e_suppr_std_area_1  TYPE BOOLE-BOOLE ,
ld_i_febko_int  TYPE FEBKOIN_BF ,
ld_e_suppr_std_area_2  TYPE BOOLE-BOOLE ,
ld_i_febep_int  TYPE FEBEPIN_BF .

ld_i_febko_ext = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_febre to it_t_febre.
ld_i_febep_ext = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_febcl to it_t_febcl.
ld_i_febko_int = 'Check type of data required'.
ld_i_febep_int = 'Check type of data required'.

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