SAP FRML301_FORMULAS_EXPLOSION Function Module for NOTRANSL: RMS-FRM: Auflösen von Formulas









FRML301_FORMULAS_EXPLOSION is a standard frml301 formulas explosion SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: RMS-FRM: Auflösen von Formulas processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for frml301 formulas explosion FM, simply by entering the name FRML301_FORMULAS_EXPLOSION into the relevant SAP transaction such as SE37 or SE38.

Function Group: FRML301
Program Name: SAPLFRML301
Main Program: SAPLFRML301
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FRML301_FORMULAS_EXPLOSION pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'FRML301_FORMULAS_EXPLOSION'"NOTRANSL: RMS-FRM: Auflösen von Formulas
EXPORTING
I_SCENARIO = "
I_VALDAT = "
I_EXPL_PANEL = "
* I_FURTHER_SETTINGS = "
* IS_LISTCOMP_DEF_USG = "Default Usage
* IO_MODEL = "Data for Modeling Runs

IMPORTING
E_FLG_LOG = "
E_API_LISTCOMP_TAB = "Table Type for Specifications, Compositions
E_FLG_NTR_OOPS_DEFUSAGE = "Explosion of Nutrit. Values via Ingredients with Std. React.
E_FLG_NTROOPS_1STAGE = "

TABLES
* I_KEYNR_TAB = "
* I_RCP_FRML_TAB = "
* I_EXPL_SCOPE_TAB = "
* E_API_COMP_TAB = "
* E_API_AGGR_TAB = "
* E_API_MATRIX_TAB = "
* E_API_EXPL_TAB = "
* E_RCP_FRML_TAB = "
* E_API_EVAL_TAB = "

EXCEPTIONS
PARAMETER_ERROR = 1 DIALOG_ERROR = 2 INTERNAL_ERROR = 3 CANNOT_PROVIDE_LISTCOMP = 4
.



IMPORTING Parameters details for FRML301_FORMULAS_EXPLOSION

I_SCENARIO -

Data type: FRM31_SCENARIO_TYPE
Optional: No
Call by Reference: Yes

I_VALDAT -

Data type: FRM31_DATE_TYPE
Optional: No
Call by Reference: Yes

I_EXPL_PANEL -

Data type: FRM31_EXPL_PANEL_TYPE
Optional: No
Call by Reference: Yes

I_FURTHER_SETTINGS -

Data type: FRM31_FURTHER_SETTINGS_TYPE
Optional: Yes
Call by Reference: Yes

IS_LISTCOMP_DEF_USG - Default Usage

Data type: FRMLS_USAGE
Optional: Yes
Call by Reference: Yes

IO_MODEL - Data for Modeling Runs

Data type: CL_FRML_MODEL
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FRML301_FORMULAS_EXPLOSION

E_FLG_LOG -

Data type: FLAG
Optional: No
Call by Reference: Yes

E_API_LISTCOMP_TAB - Table Type for Specifications, Compositions

Data type: FRMLTY_SPECCOMP
Optional: No
Call by Reference: Yes

E_FLG_NTR_OOPS_DEFUSAGE - Explosion of Nutrit. Values via Ingredients with Std. React.

Data type: FRMLE_FLG_NTR_OOPS_EXPLOSION
Optional: No
Call by Reference: Yes

E_FLG_NTROOPS_1STAGE -

Data type: FRMLE_FLG
Optional: No
Call by Reference: Yes

TABLES Parameters details for FRML301_FORMULAS_EXPLOSION

I_KEYNR_TAB -

Data type: FRM31_KEY_TAB_TYPE
Optional: Yes
Call by Reference: Yes

I_RCP_FRML_TAB -

Data type: FRM31_RCP_FRML_TAB_TYPE
Optional: Yes
Call by Reference: Yes

I_EXPL_SCOPE_TAB -

Data type: FRM31_EXPL_SCOPE_TAB_TYPE
Optional: Yes
Call by Reference: Yes

E_API_COMP_TAB -

Data type: FRM31_EXPL_COMP_TAB_TYPE
Optional: Yes
Call by Reference: Yes

E_API_AGGR_TAB -

Data type: FRM31_AGGR_TAB_TYPE
Optional: Yes
Call by Reference: Yes

E_API_MATRIX_TAB -

Data type: FRM31_MATRIX_TAB_TYPE
Optional: Yes
Call by Reference: Yes

E_API_EXPL_TAB -

Data type: FRM31_EXPL_TAB_TYPE
Optional: Yes
Call by Reference: Yes

E_RCP_FRML_TAB -

Data type: FRM31_RCP_FRML_TAB_TYPE
Optional: Yes
Call by Reference: Yes

E_API_EVAL_TAB -

Data type: FRM31_API_FRM_EVAL_TAB
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

PARAMETER_ERROR -

Data type:
Optional: No
Call by Reference: Yes

DIALOG_ERROR -

Data type:
Optional: No
Call by Reference: Yes

INTERNAL_ERROR - Internal error

Data type:
Optional: No
Call by Reference: Yes

CANNOT_PROVIDE_LISTCOMP -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FRML301_FORMULAS_EXPLOSION Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_e_flg_log  TYPE FLAG, "   
lv_i_scenario  TYPE FRM31_SCENARIO_TYPE, "   
lt_i_keynr_tab  TYPE STANDARD TABLE OF FRM31_KEY_TAB_TYPE, "   
lv_parameter_error  TYPE FRM31_KEY_TAB_TYPE, "   
lv_i_valdat  TYPE FRM31_DATE_TYPE, "   
lv_dialog_error  TYPE FRM31_DATE_TYPE, "   
lt_i_rcp_frml_tab  TYPE STANDARD TABLE OF FRM31_RCP_FRML_TAB_TYPE, "   
lv_e_api_listcomp_tab  TYPE FRMLTY_SPECCOMP, "   
lv_i_expl_panel  TYPE FRM31_EXPL_PANEL_TYPE, "   
lv_internal_error  TYPE FRM31_EXPL_PANEL_TYPE, "   
lt_i_expl_scope_tab  TYPE STANDARD TABLE OF FRM31_EXPL_SCOPE_TAB_TYPE, "   
lv_e_flg_ntr_oops_defusage  TYPE FRMLE_FLG_NTR_OOPS_EXPLOSION, "   
lt_e_api_comp_tab  TYPE STANDARD TABLE OF FRM31_EXPL_COMP_TAB_TYPE, "   
lv_i_further_settings  TYPE FRM31_FURTHER_SETTINGS_TYPE, "   
lv_e_flg_ntroops_1stage  TYPE FRMLE_FLG, "   
lv_cannot_provide_listcomp  TYPE FRMLE_FLG, "   
lt_e_api_aggr_tab  TYPE STANDARD TABLE OF FRM31_AGGR_TAB_TYPE, "   
lv_is_listcomp_def_usg  TYPE FRMLS_USAGE, "   
lv_io_model  TYPE CL_FRML_MODEL, "   
lt_e_api_matrix_tab  TYPE STANDARD TABLE OF FRM31_MATRIX_TAB_TYPE, "   
lt_e_api_expl_tab  TYPE STANDARD TABLE OF FRM31_EXPL_TAB_TYPE, "   
lt_e_rcp_frml_tab  TYPE STANDARD TABLE OF FRM31_RCP_FRML_TAB_TYPE, "   
lt_e_api_eval_tab  TYPE STANDARD TABLE OF FRM31_API_FRM_EVAL_TAB. "   

  CALL FUNCTION 'FRML301_FORMULAS_EXPLOSION'  "NOTRANSL: RMS-FRM: Auflösen von Formulas
    EXPORTING
         I_SCENARIO = lv_i_scenario
         I_VALDAT = lv_i_valdat
         I_EXPL_PANEL = lv_i_expl_panel
         I_FURTHER_SETTINGS = lv_i_further_settings
         IS_LISTCOMP_DEF_USG = lv_is_listcomp_def_usg
         IO_MODEL = lv_io_model
    IMPORTING
         E_FLG_LOG = lv_e_flg_log
         E_API_LISTCOMP_TAB = lv_e_api_listcomp_tab
         E_FLG_NTR_OOPS_DEFUSAGE = lv_e_flg_ntr_oops_defusage
         E_FLG_NTROOPS_1STAGE = lv_e_flg_ntroops_1stage
    TABLES
         I_KEYNR_TAB = lt_i_keynr_tab
         I_RCP_FRML_TAB = lt_i_rcp_frml_tab
         I_EXPL_SCOPE_TAB = lt_i_expl_scope_tab
         E_API_COMP_TAB = lt_e_api_comp_tab
         E_API_AGGR_TAB = lt_e_api_aggr_tab
         E_API_MATRIX_TAB = lt_e_api_matrix_tab
         E_API_EXPL_TAB = lt_e_api_expl_tab
         E_RCP_FRML_TAB = lt_e_rcp_frml_tab
         E_API_EVAL_TAB = lt_e_api_eval_tab
    EXCEPTIONS
        PARAMETER_ERROR = 1
        DIALOG_ERROR = 2
        INTERNAL_ERROR = 3
        CANNOT_PROVIDE_LISTCOMP = 4
. " FRML301_FORMULAS_EXPLOSION




ABAP code using 7.40 inline data declarations to call FM FRML301_FORMULAS_EXPLOSION

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!