SAP FVD_EFFINT_EFFECT_INT_ADAPT_4 Function Module for Adapt Effective Interest Calculation for Bus. Operation: Repayment
FVD_EFFINT_EFFECT_INT_ADAPT_4 is a standard fvd effint effect int adapt 4 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Adapt Effective Interest Calculation for Bus. Operation: Repayment 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 effint effect int adapt 4 FM, simply by entering the name FVD_EFFINT_EFFECT_INT_ADAPT_4 into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_EFFINT
Program Name: SAPLFVD_EFFINT
Main Program: SAPLFVD_EFFINT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FVD_EFFINT_EFFECT_INT_ADAPT_4 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_EFFINT_EFFECT_INT_ADAPT_4'"Adapt Effective Interest Calculation for Bus. Operation: Repayment.
EXPORTING
I_TAB_CURRENT_CASH_FLOW = "Current Cash Flow for Existing Contract
I_EFFECTIVE_FROM_DATE = "
I_TAB_ADD_TRANSACTIONS = "Additional Flows Relevant for Effective Interest Rate
IMPORTING
E_TAB_DISBURSEMENTS = "Table Type for Structure VZZBEPP
E_TAB_ADD_TRANSACTIONS = "Additional Flows Relevant for Effective Interest Rate
CHANGING
IO_STR_VZZKOKO = "Table Condition Header
IO_STR_VDARL = "Loan
EXCEPTIONS
READING_COMPANY_CODE_FAILED = 1 NO_DISBURSEMENTS = 2 LOAN_AMOUNT_CALCULATION_FAILED = 3 NEGATIVE_DISBURSEMENT_AMOUNT = 4 EFFECTIVE_INTEREST_RATE_ZERO = 5 TRANSACTION_TYPE_NOT_FOUND = 6
IMPORTING Parameters details for FVD_EFFINT_EFFECT_INT_ADAPT_4
I_TAB_CURRENT_CASH_FLOW - Current Cash Flow for Existing Contract
Data type: TRTY_VZZBEPPOptional: No
Call by Reference: Yes
I_EFFECTIVE_FROM_DATE -
Data type: DATSOptional: No
Call by Reference: Yes
I_TAB_ADD_TRANSACTIONS - Additional Flows Relevant for Effective Interest Rate
Data type: TRTY_VZZBEPPOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FVD_EFFINT_EFFECT_INT_ADAPT_4
E_TAB_DISBURSEMENTS - Table Type for Structure VZZBEPP
Data type: TRTY_VZZBEPPOptional: No
Call by Reference: Yes
E_TAB_ADD_TRANSACTIONS - Additional Flows Relevant for Effective Interest Rate
Data type: TRTY_VZZBEPPOptional: No
Call by Reference: Yes
CHANGING Parameters details for FVD_EFFINT_EFFECT_INT_ADAPT_4
IO_STR_VZZKOKO - Table Condition Header
Data type: VZZKOKOOptional: No
Call by Reference: Yes
IO_STR_VDARL - Loan
Data type: VDARLOptional: No
Call by Reference: Yes
EXCEPTIONS details
READING_COMPANY_CODE_FAILED - Buchungskreisdaten konnten nicht ermittelt werden
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_DISBURSEMENTS - Keine simulativen Auszahlungen vorhanden
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
LOAN_AMOUNT_CALCULATION_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NEGATIVE_DISBURSEMENT_AMOUNT - simulative Auszahlung mit negativem Betrag
Data type:Optional: No
Call by Reference: Yes
EFFECTIVE_INTEREST_RATE_ZERO - Berechnung abbrechen, Effektivzins ist Null
Data type:Optional: No
Call by Reference: Yes
TRANSACTION_TYPE_NOT_FOUND - Bewegungsart konnte nicht ermittelt werden
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FVD_EFFINT_EFFECT_INT_ADAPT_4 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_io_str_vzzkoko | TYPE VZZKOKO, " | |||
| lv_e_tab_disbursements | TYPE TRTY_VZZBEPP, " | |||
| lv_i_tab_current_cash_flow | TYPE TRTY_VZZBEPP, " | |||
| lv_reading_company_code_failed | TYPE TRTY_VZZBEPP, " | |||
| lv_io_str_vdarl | TYPE VDARL, " | |||
| lv_no_disbursements | TYPE VDARL, " | |||
| lv_i_effective_from_date | TYPE DATS, " | |||
| lv_e_tab_add_transactions | TYPE TRTY_VZZBEPP, " | |||
| lv_i_tab_add_transactions | TYPE TRTY_VZZBEPP, " | |||
| lv_loan_amount_calculation_failed | TYPE TRTY_VZZBEPP, " | |||
| lv_negative_disbursement_amount | TYPE TRTY_VZZBEPP, " | |||
| lv_effective_interest_rate_zero | TYPE TRTY_VZZBEPP, " | |||
| lv_transaction_type_not_found | TYPE TRTY_VZZBEPP. " |
|   CALL FUNCTION 'FVD_EFFINT_EFFECT_INT_ADAPT_4' "Adapt Effective Interest Calculation for Bus. Operation: Repayment |
| EXPORTING | ||
| I_TAB_CURRENT_CASH_FLOW | = lv_i_tab_current_cash_flow | |
| I_EFFECTIVE_FROM_DATE | = lv_i_effective_from_date | |
| I_TAB_ADD_TRANSACTIONS | = lv_i_tab_add_transactions | |
| IMPORTING | ||
| E_TAB_DISBURSEMENTS | = lv_e_tab_disbursements | |
| E_TAB_ADD_TRANSACTIONS | = lv_e_tab_add_transactions | |
| CHANGING | ||
| IO_STR_VZZKOKO | = lv_io_str_vzzkoko | |
| IO_STR_VDARL | = lv_io_str_vdarl | |
| EXCEPTIONS | ||
| READING_COMPANY_CODE_FAILED = 1 | ||
| NO_DISBURSEMENTS = 2 | ||
| LOAN_AMOUNT_CALCULATION_FAILED = 3 | ||
| NEGATIVE_DISBURSEMENT_AMOUNT = 4 | ||
| EFFECTIVE_INTEREST_RATE_ZERO = 5 | ||
| TRANSACTION_TYPE_NOT_FOUND = 6 | ||
| . " FVD_EFFINT_EFFECT_INT_ADAPT_4 | ||
ABAP code using 7.40 inline data declarations to call FM FVD_EFFINT_EFFECT_INT_ADAPT_4
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