SAP Function Modules

FRML374_MODELING_BUFFER SAP Function module







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

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


Pattern for FM FRML374_MODELING_BUFFER - FRML374 MODELING BUFFER





CALL FUNCTION 'FRML374_MODELING_BUFFER' "
* EXPORTING
*   is_stat_ascope =            " frmls_stat_ascope
*   it_mod_opt =                " frmlty_mod_opt
*   it_expl_api =               " frm31_expl_tab_type
*   its_stage =                 " frm35_ty_ts_stage
*   i_stage =                   " i
  IMPORTING
    ets_frm_stat_ascope =       " frmltys_stat_ascope
    et_mod_opt =                " frmlty_mod_opt
    et_expl_api =               " frm31_expl_tab_type
    ets_stage =                 " frm35_ty_ts_stage
    e_stage =                   " i
    .  "  FRML374_MODELING_BUFFER

ABAP code example for Function Module FRML374_MODELING_BUFFER





The ABAP code below is a full code listing to execute function module FRML374_MODELING_BUFFER 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_ets_frm_stat_ascope  TYPE FRMLTYS_STAT_ASCOPE ,
ld_et_mod_opt  TYPE FRMLTY_MOD_OPT ,
ld_et_expl_api  TYPE FRM31_EXPL_TAB_TYPE ,
ld_ets_stage  TYPE FRM35_TY_TS_STAGE ,
ld_e_stage  TYPE I .

DATA(ld_is_stat_ascope) = 'Check type of data required'.
DATA(ld_it_mod_opt) = 'Check type of data required'.
DATA(ld_it_expl_api) = 'Check type of data required'.
DATA(ld_its_stage) = 'Check type of data required'.
DATA(ld_i_stage) = 'Check type of data required'. . CALL FUNCTION 'FRML374_MODELING_BUFFER' * EXPORTING * is_stat_ascope = ld_is_stat_ascope * it_mod_opt = ld_it_mod_opt * it_expl_api = ld_it_expl_api * its_stage = ld_its_stage * i_stage = ld_i_stage IMPORTING ets_frm_stat_ascope = ld_ets_frm_stat_ascope et_mod_opt = ld_et_mod_opt et_expl_api = ld_et_expl_api ets_stage = ld_ets_stage e_stage = ld_e_stage . " FRML374_MODELING_BUFFER
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_ets_frm_stat_ascope  TYPE FRMLTYS_STAT_ASCOPE ,
ld_is_stat_ascope  TYPE FRMLS_STAT_ASCOPE ,
ld_et_mod_opt  TYPE FRMLTY_MOD_OPT ,
ld_it_mod_opt  TYPE FRMLTY_MOD_OPT ,
ld_et_expl_api  TYPE FRM31_EXPL_TAB_TYPE ,
ld_it_expl_api  TYPE FRM31_EXPL_TAB_TYPE ,
ld_ets_stage  TYPE FRM35_TY_TS_STAGE ,
ld_its_stage  TYPE FRM35_TY_TS_STAGE ,
ld_e_stage  TYPE I ,
ld_i_stage  TYPE I .

ld_is_stat_ascope = 'Check type of data required'.
ld_it_mod_opt = 'Check type of data required'.
ld_it_expl_api = 'Check type of data required'.
ld_its_stage = 'Check type of data required'.
ld_i_stage = '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 FRML374_MODELING_BUFFER or its description.