SAP FVD_INTEREST_FLOWS_PREPARE Function Module for Calculate Cash Flow Without Planned Repayments









FVD_INTEREST_FLOWS_PREPARE is a standard fvd interest flows prepare SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Calculate Cash Flow Without Planned Repayments 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 interest flows prepare FM, simply by entering the name FVD_INTEREST_FLOWS_PREPARE into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_INTEREST_FLOWS_PREPARE 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_INTEREST_FLOWS_PREPARE'"Calculate Cash Flow Without Planned Repayments
EXPORTING
I_KOKO = "Table Condition Header
I_VDARL = "Loan
IT_KOPO = "Table Type for Table VVZZKOPO

CHANGING
CT_CFLOW = "Finanzstrom eines Darlehens

EXCEPTIONS
KEINE_TILGUNGSKONDITIONEN = 1 LAUFZEITENDE_FEHLT = 2 LAUFZEITENDE_NICHT_ERMITTELBAR = 3 LAUFZEIT_ODER_RATE_FEHLT = 4 NEGATIVE_TILGUNG_AUFGETRETEN = 5 BCD_FIELD_OVERFLOW = 6 NEW_FIMA_NOT_POSSIBLE = 7 UNKNOWN_ERROR = 8
.



IMPORTING Parameters details for FVD_INTEREST_FLOWS_PREPARE

I_KOKO - Table Condition Header

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

I_VDARL - Loan

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

IT_KOPO - Table Type for Table VVZZKOPO

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

CHANGING Parameters details for FVD_INTEREST_FLOWS_PREPARE

CT_CFLOW - Finanzstrom eines Darlehens

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

EXCEPTIONS details

KEINE_TILGUNGSKONDITIONEN -

Data type:
Optional: No
Call by Reference: Yes

LAUFZEITENDE_FEHLT -

Data type:
Optional: No
Call by Reference: Yes

LAUFZEITENDE_NICHT_ERMITTELBAR -

Data type:
Optional: No
Call by Reference: Yes

LAUFZEIT_ODER_RATE_FEHLT -

Data type:
Optional: No
Call by Reference: Yes

NEGATIVE_TILGUNG_AUFGETRETEN -

Data type:
Optional: No
Call by Reference: Yes

BCD_FIELD_OVERFLOW -

Data type:
Optional: No
Call by Reference: Yes

NEW_FIMA_NOT_POSSIBLE - Anbindung an neue FiMa kann nicht genutzt werden

Data type:
Optional: No
Call by Reference: Yes

UNKNOWN_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FVD_INTEREST_FLOWS_PREPARE 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_i_koko  TYPE VZZKOKO, "   
lv_ct_cflow  TYPE TRTY_VZZBEPP, "   
lv_keine_tilgungskonditionen  TYPE TRTY_VZZBEPP, "   
lv_i_vdarl  TYPE VDARL, "   
lv_laufzeitende_fehlt  TYPE VDARL, "   
lv_it_kopo  TYPE TRTY_VVZZKOPO, "   
lv_laufzeitende_nicht_ermittelbar  TYPE TRTY_VVZZKOPO, "   
lv_laufzeit_oder_rate_fehlt  TYPE TRTY_VVZZKOPO, "   
lv_negative_tilgung_aufgetreten  TYPE TRTY_VVZZKOPO, "   
lv_bcd_field_overflow  TYPE TRTY_VVZZKOPO, "   
lv_new_fima_not_possible  TYPE TRTY_VVZZKOPO, "   
lv_unknown_error  TYPE TRTY_VVZZKOPO. "   

  CALL FUNCTION 'FVD_INTEREST_FLOWS_PREPARE'  "Calculate Cash Flow Without Planned Repayments
    EXPORTING
         I_KOKO = lv_i_koko
         I_VDARL = lv_i_vdarl
         IT_KOPO = lv_it_kopo
    CHANGING
         CT_CFLOW = lv_ct_cflow
    EXCEPTIONS
        KEINE_TILGUNGSKONDITIONEN = 1
        LAUFZEITENDE_FEHLT = 2
        LAUFZEITENDE_NICHT_ERMITTELBAR = 3
        LAUFZEIT_ODER_RATE_FEHLT = 4
        NEGATIVE_TILGUNG_AUFGETRETEN = 5
        BCD_FIELD_OVERFLOW = 6
        NEW_FIMA_NOT_POSSIBLE = 7
        UNKNOWN_ERROR = 8
. " FVD_INTEREST_FLOWS_PREPARE




ABAP code using 7.40 inline data declarations to call FM FVD_INTEREST_FLOWS_PREPARE

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!