SAP FICO_FORMULA_MAINTAIN Function Module for









FICO_FORMULA_MAINTAIN is a standard fico formula maintain SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fico formula maintain FM, simply by entering the name FICO_FORMULA_MAINTAIN into the relevant SAP transaction such as SE37 or SE38.

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



Function FICO_FORMULA_MAINTAIN 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 'FICO_FORMULA_MAINTAIN'"
EXPORTING
I_FORMULA = "Current Formula
IS_FORMULA_CNTRL = "
* IT_FORMULA_ALLOWED = "Permitted Formulas
* I_XCOND = "Description of Condition

IMPORTING
E_FORMULA = "Formula Reference
E_DATA_CHANGES = "Indicator: Data Changed
E_FLG_CANCEL = "Indicator: Action Canceled

CHANGING
CT_AMTPOSEXP = "Transfer Table: Edit Formula
.



IMPORTING Parameters details for FICO_FORMULA_MAINTAIN

I_FORMULA - Current Formula

Data type: TB_XFORMBE
Optional: No
Call by Reference: No ( called with pass by value option)

IS_FORMULA_CNTRL -

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

IT_FORMULA_ALLOWED - Permitted Formulas

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

I_XCOND - Description of Condition

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

EXPORTING Parameters details for FICO_FORMULA_MAINTAIN

E_FORMULA - Formula Reference

Data type: TB_XFORMBE
Optional: No
Call by Reference: No ( called with pass by value option)

E_DATA_CHANGES - Indicator: Data Changed

Data type: TRFF_FLG
Optional: No
Call by Reference: No ( called with pass by value option)

E_FLG_CANCEL - Indicator: Action Canceled

Data type: TRFF_FLG
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for FICO_FORMULA_MAINTAIN

CT_AMTPOSEXP - Transfer Table: Edit Formula

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

Copy and paste ABAP code example for FICO_FORMULA_MAINTAIN 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_formula  TYPE TB_XFORMBE, "   
lv_i_formula  TYPE TB_XFORMBE, "   
lv_ct_amtposexp  TYPE FICO_TYP_TAB_AMTPOSEXP, "   
lv_e_data_changes  TYPE TRFF_FLG, "   
lv_is_formula_cntrl  TYPE FICOS_FORMULA_CONTROL, "   
lv_e_flg_cancel  TYPE TRFF_FLG, "   
lv_it_formula_allowed  TYPE FICO_TYP_TAB_FORMULA_ALLOWED, "   
lv_i_xcond  TYPE FICO_XCOND. "   

  CALL FUNCTION 'FICO_FORMULA_MAINTAIN'  "
    EXPORTING
         I_FORMULA = lv_i_formula
         IS_FORMULA_CNTRL = lv_is_formula_cntrl
         IT_FORMULA_ALLOWED = lv_it_formula_allowed
         I_XCOND = lv_i_xcond
    IMPORTING
         E_FORMULA = lv_e_formula
         E_DATA_CHANGES = lv_e_data_changes
         E_FLG_CANCEL = lv_e_flg_cancel
    CHANGING
         CT_AMTPOSEXP = lv_ct_amtposexp
. " FICO_FORMULA_MAINTAIN




ABAP code using 7.40 inline data declarations to call FM FICO_FORMULA_MAINTAIN

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!