SAP FVD_CAPITAL_OL_CREATE_MODEL Function Module for Set Up Internal Model Account for Capitalization of Overdue Items
FVD_CAPITAL_OL_CREATE_MODEL is a standard fvd capital ol create model SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Set Up Internal Model Account for Capitalization of Overdue Items 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 capital ol create model FM, simply by entering the name FVD_CAPITAL_OL_CREATE_MODEL into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_CAPITAL_OL
Program Name: SAPLFVD_CAPITAL_OL
Main Program: SAPLFVD_CAPITAL_OL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FVD_CAPITAL_OL_CREATE_MODEL 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_CAPITAL_OL_CREATE_MODEL'"Set Up Internal Model Account for Capitalization of Overdue Items.
EXPORTING
I_STR_VDARL = "Loan
I_STR_RDEFCAP = "Oberflächenstruktur und Steuerdaten Stundung/Kapitalisierun
I_STR_VZZKOKO = "Condition header
I_TAB_VVZZKOPO = "Condition Items
I_TAB_VZZBEPP_NO_CAP = "Ursprünglicher Finanzstrom
I_TAB_ITEMS_LIST = "Offene Posten (inkl. Plansätze)
* I_FLG_END_OF_TERM_CALC = "Laufzeitende soll berechnet werden
* I_FLG_INST_AMT_CALC = "Leistungsrate soll berechnet werden
I_SKOGRP = "Condition Group
IMPORTING
E_STR_VDARL = "Loan
E_STR_VZZKOKO = "Table Type for Table VZZKOKO
E_TAB_VVZZKOPO = "Table Type for Table VVZZKOPO
E_TAB_VZZBEPP_DISB = "Disbursements
E_TAB_VZZBEPP_CLEARING = "Ausgleichbewegungen
E_STR_RDEFCAP = "Interface Structure and Ctrl Data - Deferral/Capitalization
EXCEPTIONS
CUSTOMIZING_ERROR = 1 INTERNAL_ERROR = 2
IMPORTING Parameters details for FVD_CAPITAL_OL_CREATE_MODEL
I_STR_VDARL - Loan
Data type: VDARLOptional: No
Call by Reference: Yes
I_STR_RDEFCAP - Oberflächenstruktur und Steuerdaten Stundung/Kapitalisierun
Data type: RDEFCAPOptional: No
Call by Reference: Yes
I_STR_VZZKOKO - Condition header
Data type: VZZKOKOOptional: No
Call by Reference: Yes
I_TAB_VVZZKOPO - Condition Items
Data type: TRTY_VVZZKOPOOptional: No
Call by Reference: Yes
I_TAB_VZZBEPP_NO_CAP - Ursprünglicher Finanzstrom
Data type: TRTY_VZZBEPPOptional: No
Call by Reference: Yes
I_TAB_ITEMS_LIST - Offene Posten (inkl. Plansätze)
Data type: TRTY_RVZZBEPPOptional: No
Call by Reference: Yes
I_FLG_END_OF_TERM_CALC - Laufzeitende soll berechnet werden
Data type: XFLAGOptional: Yes
Call by Reference: Yes
I_FLG_INST_AMT_CALC - Leistungsrate soll berechnet werden
Data type: XFLAGOptional: Yes
Call by Reference: Yes
I_SKOGRP - Condition Group
Data type: SKOGRPOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FVD_CAPITAL_OL_CREATE_MODEL
E_STR_VDARL - Loan
Data type: VDARLOptional: No
Call by Reference: Yes
E_STR_VZZKOKO - Table Type for Table VZZKOKO
Data type: VZZKOKOOptional: No
Call by Reference: Yes
E_TAB_VVZZKOPO - Table Type for Table VVZZKOPO
Data type: TRTY_VVZZKOPOOptional: No
Call by Reference: Yes
E_TAB_VZZBEPP_DISB - Disbursements
Data type: TRTY_VZZBEPPOptional: No
Call by Reference: Yes
E_TAB_VZZBEPP_CLEARING - Ausgleichbewegungen
Data type: TRTY_VZZBEPPOptional: No
Call by Reference: Yes
E_STR_RDEFCAP - Interface Structure and Ctrl Data - Deferral/Capitalization
Data type: RDEFCAPOptional: No
Call by Reference: Yes
EXCEPTIONS details
CUSTOMIZING_ERROR - Customizing errors
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR - Internal Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FVD_CAPITAL_OL_CREATE_MODEL 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_str_vdarl | TYPE VDARL, " | |||
| lv_i_str_vdarl | TYPE VDARL, " | |||
| lv_customizing_error | TYPE VDARL, " | |||
| lv_e_str_vzzkoko | TYPE VZZKOKO, " | |||
| lv_i_str_rdefcap | TYPE RDEFCAP, " | |||
| lv_internal_error | TYPE RDEFCAP, " | |||
| lv_i_str_vzzkoko | TYPE VZZKOKO, " | |||
| lv_e_tab_vvzzkopo | TYPE TRTY_VVZZKOPO, " | |||
| lv_i_tab_vvzzkopo | TYPE TRTY_VVZZKOPO, " | |||
| lv_e_tab_vzzbepp_disb | TYPE TRTY_VZZBEPP, " | |||
| lv_i_tab_vzzbepp_no_cap | TYPE TRTY_VZZBEPP, " | |||
| lv_e_tab_vzzbepp_clearing | TYPE TRTY_VZZBEPP, " | |||
| lv_e_str_rdefcap | TYPE RDEFCAP, " | |||
| lv_i_tab_items_list | TYPE TRTY_RVZZBEPP, " | |||
| lv_i_flg_end_of_term_calc | TYPE XFLAG, " | |||
| lv_i_flg_inst_amt_calc | TYPE XFLAG, " | |||
| lv_i_skogrp | TYPE SKOGRP. " |
|   CALL FUNCTION 'FVD_CAPITAL_OL_CREATE_MODEL' "Set Up Internal Model Account for Capitalization of Overdue Items |
| EXPORTING | ||
| I_STR_VDARL | = lv_i_str_vdarl | |
| I_STR_RDEFCAP | = lv_i_str_rdefcap | |
| I_STR_VZZKOKO | = lv_i_str_vzzkoko | |
| I_TAB_VVZZKOPO | = lv_i_tab_vvzzkopo | |
| I_TAB_VZZBEPP_NO_CAP | = lv_i_tab_vzzbepp_no_cap | |
| I_TAB_ITEMS_LIST | = lv_i_tab_items_list | |
| I_FLG_END_OF_TERM_CALC | = lv_i_flg_end_of_term_calc | |
| I_FLG_INST_AMT_CALC | = lv_i_flg_inst_amt_calc | |
| I_SKOGRP | = lv_i_skogrp | |
| IMPORTING | ||
| E_STR_VDARL | = lv_e_str_vdarl | |
| E_STR_VZZKOKO | = lv_e_str_vzzkoko | |
| E_TAB_VVZZKOPO | = lv_e_tab_vvzzkopo | |
| E_TAB_VZZBEPP_DISB | = lv_e_tab_vzzbepp_disb | |
| E_TAB_VZZBEPP_CLEARING | = lv_e_tab_vzzbepp_clearing | |
| E_STR_RDEFCAP | = lv_e_str_rdefcap | |
| EXCEPTIONS | ||
| CUSTOMIZING_ERROR = 1 | ||
| INTERNAL_ERROR = 2 | ||
| . " FVD_CAPITAL_OL_CREATE_MODEL | ||
ABAP code using 7.40 inline data declarations to call FM FVD_CAPITAL_OL_CREATE_MODEL
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