SAP FIMA_ZINS_UND_TILG_BERECHNEN Function Module for
FIMA_ZINS_UND_TILG_BERECHNEN is a standard fima zins und tilg berechnen 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 fima zins und tilg berechnen FM, simply by entering the name FIMA_ZINS_UND_TILG_BERECHNEN into the relevant SAP transaction such as SE37 or SE38.
Function Group: FF13
Program Name: SAPLFF13
Main Program: SAPLFF13
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function FIMA_ZINS_UND_TILG_BERECHNEN 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 'FIMA_ZINS_UND_TILG_BERECHNEN'".
EXPORTING
* I_BITER = 0 "
* I_FLAG_LFZ = ' ' "
* I_FLAG_ACCRUED_INTEREST = ' ' "
* I_REF_FIMA_CALLBACK = "Calulate Amount to be Capitalized
* I_DATUM_BIS = '00000000' "
* I_INDEX_CONT = 0 "
* I_KZAHLUNG = 0 ".
* I_KZ_ITER = ' ' "
* I_RANTYP = ' ' "
* I_REINH = 0 "
* I_RTYPE = ' ' "
* I_STILGART = 0 "
IMPORTING
E_DELFZ = "
E_SINCLELFZ = "
E_DRSALDO = "
E_FLAG_EZITI = "
E_INDEX = "
E_IND_FEHLER = "
E_RSALDO = "
TABLES
* EBBAS = "
* IBBAS = "
IBEWE = "
EXCEPTIONS
NEGATIVE_TILGUNG_AUFGETRETEN = 1
IMPORTING Parameters details for FIMA_ZINS_UND_TILG_BERECHNEN
I_BITER -
Data type: VZZEFFZ-BITEROptional: Yes
Call by Reference: No ( called with pass by value option)
I_FLAG_LFZ -
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLAG_ACCRUED_INTEREST -
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_REF_FIMA_CALLBACK - Calulate Amount to be Capitalized
Data type: IF_FIMA_CALLBACKOptional: Yes
Call by Reference: Yes
I_DATUM_BIS -
Data type: VTBBEWE-DBERBISDefault: '00000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_INDEX_CONT -
Data type: SY-TABIXOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KZAHLUNG - .
Data type: PKONDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KZ_ITER -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_RANTYP -
Data type: TRFF_FLGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_REINH -
Data type: TRFF_TYPE_N_4Optional: Yes
Call by Reference: No ( called with pass by value option)
I_RTYPE -
Data type: VTBLEISTE-RTYPEDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_STILGART -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FIMA_ZINS_UND_TILG_BERECHNEN
E_DELFZ -
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
E_SINCLELFZ -
Data type: VTBBEWE-SINCLOptional: No
Call by Reference: No ( called with pass by value option)
E_DRSALDO -
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
E_FLAG_EZITI -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E_INDEX -
Data type: SY-INDEXOptional: No
Call by Reference: No ( called with pass by value option)
E_IND_FEHLER -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E_RSALDO -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FIMA_ZINS_UND_TILG_BERECHNEN
EBBAS -
Data type: VZZBBASOptional: Yes
Call by Reference: Yes
IBBAS -
Data type: VZZBBASOptional: Yes
Call by Reference: Yes
IBEWE -
Data type: VTBBEWEOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NEGATIVE_TILGUNG_AUFGETRETEN -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FIMA_ZINS_UND_TILG_BERECHNEN 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: | ||||
lt_ebbas | TYPE STANDARD TABLE OF VZZBBAS, " | |||
lv_e_delfz | TYPE SY-DATUM, " | |||
lv_i_biter | TYPE VZZEFFZ-BITER, " 0 | |||
lv_negative_tilgung_aufgetreten | TYPE VZZEFFZ, " | |||
lv_i_flag_lfz | TYPE VZZEFFZ, " ' ' | |||
lv_i_flag_accrued_interest | TYPE VZZEFFZ, " ' ' | |||
lv_i_ref_fima_callback | TYPE IF_FIMA_CALLBACK, " | |||
lt_ibbas | TYPE STANDARD TABLE OF VZZBBAS, " | |||
lv_e_sinclelfz | TYPE VTBBEWE-SINCL, " | |||
lv_i_datum_bis | TYPE VTBBEWE-DBERBIS, " '00000000' | |||
lt_ibewe | TYPE STANDARD TABLE OF VTBBEWE, " | |||
lv_e_drsaldo | TYPE SY-DATUM, " | |||
lv_i_index_cont | TYPE SY-TABIX, " 0 | |||
lv_i_kzahlung | TYPE PKOND, " 0 | |||
lv_e_flag_eziti | TYPE PKOND, " | |||
lv_e_index | TYPE SY-INDEX, " | |||
lv_i_kz_iter | TYPE SY, " SPACE | |||
lv_i_rantyp | TYPE TRFF_FLG, " SPACE | |||
lv_e_ind_fehler | TYPE TRFF_FLG, " | |||
lv_i_reinh | TYPE TRFF_TYPE_N_4, " 0 | |||
lv_e_rsaldo | TYPE TRFF_TYPE_N_4, " | |||
lv_i_rtype | TYPE VTBLEISTE-RTYPE, " ' ' | |||
lv_i_stilgart | TYPE VTBLEISTE. " 0 |
  CALL FUNCTION 'FIMA_ZINS_UND_TILG_BERECHNEN' " |
EXPORTING | ||
I_BITER | = lv_i_biter | |
I_FLAG_LFZ | = lv_i_flag_lfz | |
I_FLAG_ACCRUED_INTEREST | = lv_i_flag_accrued_interest | |
I_REF_FIMA_CALLBACK | = lv_i_ref_fima_callback | |
I_DATUM_BIS | = lv_i_datum_bis | |
I_INDEX_CONT | = lv_i_index_cont | |
I_KZAHLUNG | = lv_i_kzahlung | |
I_KZ_ITER | = lv_i_kz_iter | |
I_RANTYP | = lv_i_rantyp | |
I_REINH | = lv_i_reinh | |
I_RTYPE | = lv_i_rtype | |
I_STILGART | = lv_i_stilgart | |
IMPORTING | ||
E_DELFZ | = lv_e_delfz | |
E_SINCLELFZ | = lv_e_sinclelfz | |
E_DRSALDO | = lv_e_drsaldo | |
E_FLAG_EZITI | = lv_e_flag_eziti | |
E_INDEX | = lv_e_index | |
E_IND_FEHLER | = lv_e_ind_fehler | |
E_RSALDO | = lv_e_rsaldo | |
TABLES | ||
EBBAS | = lt_ebbas | |
IBBAS | = lt_ibbas | |
IBEWE | = lt_ibewe | |
EXCEPTIONS | ||
NEGATIVE_TILGUNG_AUFGETRETEN = 1 | ||
. " FIMA_ZINS_UND_TILG_BERECHNEN |
ABAP code using 7.40 inline data declarations to call FM FIMA_ZINS_UND_TILG_BERECHNEN
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 DATUM FROM SY INTO @DATA(ld_e_delfz). | ||||
"SELECT single BITER FROM VZZEFFZ INTO @DATA(ld_i_biter). | ||||
DATA(ld_i_flag_lfz) | = ' '. | |||
DATA(ld_i_flag_accrued_interest) | = ' '. | |||
"SELECT single SINCL FROM VTBBEWE INTO @DATA(ld_e_sinclelfz). | ||||
"SELECT single DBERBIS FROM VTBBEWE INTO @DATA(ld_i_datum_bis). | ||||
DATA(ld_i_datum_bis) | = '00000000'. | |||
"SELECT single DATUM FROM SY INTO @DATA(ld_e_drsaldo). | ||||
"SELECT single TABIX FROM SY INTO @DATA(ld_i_index_cont). | ||||
"SELECT single INDEX FROM SY INTO @DATA(ld_e_index). | ||||
DATA(ld_i_kz_iter) | = ' '. | |||
DATA(ld_i_rantyp) | = ' '. | |||
"SELECT single RTYPE FROM VTBLEISTE INTO @DATA(ld_i_rtype). | ||||
DATA(ld_i_rtype) | = ' '. | |||
Search for further information about these or an SAP related objects