SAP FVD_MODEL_CHCK_UPDT_CONDITIONS Function Module for Model Calculation: Price Check and Condition Update
FVD_MODEL_CHCK_UPDT_CONDITIONS is a standard fvd model chck updt conditions SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Model Calculation: Price Check and Condition Update 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 fvd model chck updt conditions FM, simply by entering the name FVD_MODEL_CHCK_UPDT_CONDITIONS into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_MODEL_CONTROL
Program Name: SAPLFVD_MODEL_CONTROL
Main Program: SAPLFVD_MODEL_CONTROL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FVD_MODEL_CHCK_UPDT_CONDITIONS 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 'FVD_MODEL_CHCK_UPDT_CONDITIONS'"Model Calculation: Price Check and Condition Update.
EXPORTING
I_ACTIVITY_REQUEST = "Model Calculation: Data Element for [' ' / X] - (Yes/No)
I_MODEL_CONTROL = "Model Calculation: Transfer Structure for Iteration Control
I_TAB_KOPOSET = "Model Calculation: Work Structure for KOPOSET for Model
I_LOG_HANDLE = "Application Log: Log Handle
IMPORTING
E_COND_CHECK_OK = "Model Calculation: Data Element for [' ' / X] - (Yes/No)
E_COND_UPDATE_OK = "Model Calculation: Data Element for [' ' / X] - (Yes/No)
E_TAB_FIN_AMOUNT = "Table for Amounts Included in Loan
E_RC = "Return Value, Return Value after ABAP Statements
CHANGING
C_VZZKOKO = "Arbeitsstruktur für Tabelle VZZKOKO
C_TAB_VVZZKOPO = "Table Type for Table VVZZKOPO
EXCEPTIONS
MANUAL_VALUE_NOT_IN_CONTAB_RNG = 1
IMPORTING Parameters details for FVD_MODEL_CHCK_UPDT_CONDITIONS
I_ACTIVITY_REQUEST - Model Calculation: Data Element for [SPACE / X] - (Yes/No)
Data type: TB_MODEL_PROCESS_PASSOptional: No
Call by Reference: Yes
I_MODEL_CONTROL - Model Calculation: Transfer Structure for Iteration Control
Data type: RMODEL_CONTROLOptional: No
Call by Reference: Yes
I_TAB_KOPOSET - Model Calculation: Work Structure for KOPOSET for Model
Data type: TRTY_MODEL_KOPOSETOptional: No
Call by Reference: Yes
I_LOG_HANDLE - Application Log: Log Handle
Data type: BALLOGHNDLOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FVD_MODEL_CHCK_UPDT_CONDITIONS
E_COND_CHECK_OK - Model Calculation: Data Element for [SPACE / X] - (Yes/No)
Data type: TB_MODEL_Y_OR_NOptional: No
Call by Reference: Yes
E_COND_UPDATE_OK - Model Calculation: Data Element for [SPACE / X] - (Yes/No)
Data type: TB_MODEL_Y_OR_NOptional: No
Call by Reference: Yes
E_TAB_FIN_AMOUNT - Table for Amounts Included in Loan
Data type: TRTY_MODEL_FINANCED_AMOUNTOptional: No
Call by Reference: Yes
E_RC - Return Value, Return Value after ABAP Statements
Data type: SY-SUBRCOptional: No
Call by Reference: Yes
CHANGING Parameters details for FVD_MODEL_CHCK_UPDT_CONDITIONS
C_VZZKOKO - Arbeitsstruktur für Tabelle VZZKOKO
Data type: VZZKOKOOptional: No
Call by Reference: Yes
C_TAB_VVZZKOPO - Table Type for Table VVZZKOPO
Data type: TRTY_VVZZKOPOOptional: No
Call by Reference: Yes
EXCEPTIONS details
MANUAL_VALUE_NOT_IN_CONTAB_RNG - Manueller Wert nicht im vorgegebenen Rahmen
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FVD_MODEL_CHCK_UPDT_CONDITIONS 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_c_vzzkoko | TYPE VZZKOKO, " | |||
| lv_e_cond_check_ok | TYPE TB_MODEL_Y_OR_N, " | |||
| lv_i_activity_request | TYPE TB_MODEL_PROCESS_PASS, " | |||
| lv_manual_value_not_in_contab_rng | TYPE TB_MODEL_PROCESS_PASS, " | |||
| lv_c_tab_vvzzkopo | TYPE TRTY_VVZZKOPO, " | |||
| lv_i_model_control | TYPE RMODEL_CONTROL, " | |||
| lv_e_cond_update_ok | TYPE TB_MODEL_Y_OR_N, " | |||
| lv_i_tab_koposet | TYPE TRTY_MODEL_KOPOSET, " | |||
| lv_e_tab_fin_amount | TYPE TRTY_MODEL_FINANCED_AMOUNT, " | |||
| lv_e_rc | TYPE SY-SUBRC, " | |||
| lv_i_log_handle | TYPE BALLOGHNDL. " |
|   CALL FUNCTION 'FVD_MODEL_CHCK_UPDT_CONDITIONS' "Model Calculation: Price Check and Condition Update |
| EXPORTING | ||
| I_ACTIVITY_REQUEST | = lv_i_activity_request | |
| I_MODEL_CONTROL | = lv_i_model_control | |
| I_TAB_KOPOSET | = lv_i_tab_koposet | |
| I_LOG_HANDLE | = lv_i_log_handle | |
| IMPORTING | ||
| E_COND_CHECK_OK | = lv_e_cond_check_ok | |
| E_COND_UPDATE_OK | = lv_e_cond_update_ok | |
| E_TAB_FIN_AMOUNT | = lv_e_tab_fin_amount | |
| E_RC | = lv_e_rc | |
| CHANGING | ||
| C_VZZKOKO | = lv_c_vzzkoko | |
| C_TAB_VVZZKOPO | = lv_c_tab_vvzzkopo | |
| EXCEPTIONS | ||
| MANUAL_VALUE_NOT_IN_CONTAB_RNG = 1 | ||
| . " FVD_MODEL_CHCK_UPDT_CONDITIONS | ||
ABAP code using 7.40 inline data declarations to call FM FVD_MODEL_CHCK_UPDT_CONDITIONS
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.| "SELECT single SUBRC FROM SY INTO @DATA(ld_e_rc). | ||||
Search for further information about these or an SAP related objects