SAP FIMA_INTEREST_RATE_CONVERT Function Module for









FIMA_INTEREST_RATE_CONVERT is a standard fima interest rate convert 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 interest rate convert FM, simply by entering the name FIMA_INTEREST_RATE_CONVERT into the relevant SAP transaction such as SE37 or SE38.

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



Function FIMA_INTEREST_RATE_CONVERT 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_INTEREST_RATE_CONVERT'"
EXPORTING
I_ZINSSATZ = "
* I_AMMRHYZV_VON = '12' "
* I_KZ_EXPO_NACH = ' ' "
* I_AMMRHYZV_NACH = '12' "
I_SZBMETH_VON = "
* I_SKALID_VON = ' ' "
I_SZBMETH_NACH = "
* I_SKALID_NACH = ' ' "
I_DATUM_VON = "
* I_KZ_EXCL_VON = '0' "
* I_KZ_ULT_VON = ' ' "
I_DATUM_BIS = "
* I_KZ_INCL_BIS = '0' "
* I_KZ_ULT_BIS = ' ' "
* I_AMMRHY = '000' "
* I_KZ_EXPO_VON = ' ' "

IMPORTING
E_ZINSSATZ = "
.



IMPORTING Parameters details for FIMA_INTEREST_RATE_CONVERT

I_ZINSSATZ -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

I_AMMRHYZV_VON -

Data type: TFM_AMMRHYZV
Default: '12'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_KZ_EXPO_NACH -

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_AMMRHYZV_NACH -

Data type: TFM_AMMRHYZV
Default: '12'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SZBMETH_VON -

Data type: VTBBEWE-SZBMETH
Optional: No
Call by Reference: No ( called with pass by value option)

I_SKALID_VON -

Data type: VTBBEWE-SKALIDWT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SZBMETH_NACH -

Data type: VTBBEWE-SZBMETH
Optional: No
Call by Reference: No ( called with pass by value option)

I_SKALID_NACH -

Data type: VTBBEWE-SKALIDWT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DATUM_VON -

Data type: VTBBEWE-DBERVON
Optional: No
Call by Reference: No ( called with pass by value option)

I_KZ_EXCL_VON -

Data type: VTBBEWE-SEXCLVON
Default: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_KZ_ULT_VON -

Data type: VTBBEWE-SULTVON
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DATUM_BIS -

Data type: VTBBEWE-DBERBIS
Optional: No
Call by Reference: No ( called with pass by value option)

I_KZ_INCL_BIS -

Data type: VTBBEWE-SINCLBIS
Default: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_KZ_ULT_BIS -

Data type: VTBBEWE-SULTBIS
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_AMMRHY -

Data type: AMMRHY
Default: '000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_KZ_EXPO_VON -

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FIMA_INTEREST_RATE_CONVERT

E_ZINSSATZ -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FIMA_INTEREST_RATE_CONVERT 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_zinssatz  TYPE STRING, "   
lv_i_zinssatz  TYPE STRING, "   
lv_i_ammrhyzv_von  TYPE TFM_AMMRHYZV, "   '12'
lv_i_kz_expo_nach  TYPE TFM_AMMRHYZV, "   SPACE
lv_i_ammrhyzv_nach  TYPE TFM_AMMRHYZV, "   '12'
lv_i_szbmeth_von  TYPE VTBBEWE-SZBMETH, "   
lv_i_skalid_von  TYPE VTBBEWE-SKALIDWT, "   SPACE
lv_i_szbmeth_nach  TYPE VTBBEWE-SZBMETH, "   
lv_i_skalid_nach  TYPE VTBBEWE-SKALIDWT, "   SPACE
lv_i_datum_von  TYPE VTBBEWE-DBERVON, "   
lv_i_kz_excl_von  TYPE VTBBEWE-SEXCLVON, "   '0'
lv_i_kz_ult_von  TYPE VTBBEWE-SULTVON, "   SPACE
lv_i_datum_bis  TYPE VTBBEWE-DBERBIS, "   
lv_i_kz_incl_bis  TYPE VTBBEWE-SINCLBIS, "   '0'
lv_i_kz_ult_bis  TYPE VTBBEWE-SULTBIS, "   SPACE
lv_i_ammrhy  TYPE AMMRHY, "   '000'
lv_i_kz_expo_von  TYPE AMMRHY. "   SPACE

  CALL FUNCTION 'FIMA_INTEREST_RATE_CONVERT'  "
    EXPORTING
         I_ZINSSATZ = lv_i_zinssatz
         I_AMMRHYZV_VON = lv_i_ammrhyzv_von
         I_KZ_EXPO_NACH = lv_i_kz_expo_nach
         I_AMMRHYZV_NACH = lv_i_ammrhyzv_nach
         I_SZBMETH_VON = lv_i_szbmeth_von
         I_SKALID_VON = lv_i_skalid_von
         I_SZBMETH_NACH = lv_i_szbmeth_nach
         I_SKALID_NACH = lv_i_skalid_nach
         I_DATUM_VON = lv_i_datum_von
         I_KZ_EXCL_VON = lv_i_kz_excl_von
         I_KZ_ULT_VON = lv_i_kz_ult_von
         I_DATUM_BIS = lv_i_datum_bis
         I_KZ_INCL_BIS = lv_i_kz_incl_bis
         I_KZ_ULT_BIS = lv_i_kz_ult_bis
         I_AMMRHY = lv_i_ammrhy
         I_KZ_EXPO_VON = lv_i_kz_expo_von
    IMPORTING
         E_ZINSSATZ = lv_e_zinssatz
. " FIMA_INTEREST_RATE_CONVERT




ABAP code using 7.40 inline data declarations to call FM FIMA_INTEREST_RATE_CONVERT

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.

 
 
DATA(ld_i_ammrhyzv_von) = '12'.
 
DATA(ld_i_kz_expo_nach) = ' '.
 
DATA(ld_i_ammrhyzv_nach) = '12'.
 
"SELECT single SZBMETH FROM VTBBEWE INTO @DATA(ld_i_szbmeth_von).
 
"SELECT single SKALIDWT FROM VTBBEWE INTO @DATA(ld_i_skalid_von).
DATA(ld_i_skalid_von) = ' '.
 
"SELECT single SZBMETH FROM VTBBEWE INTO @DATA(ld_i_szbmeth_nach).
 
"SELECT single SKALIDWT FROM VTBBEWE INTO @DATA(ld_i_skalid_nach).
DATA(ld_i_skalid_nach) = ' '.
 
"SELECT single DBERVON FROM VTBBEWE INTO @DATA(ld_i_datum_von).
 
"SELECT single SEXCLVON FROM VTBBEWE INTO @DATA(ld_i_kz_excl_von).
DATA(ld_i_kz_excl_von) = '0'.
 
"SELECT single SULTVON FROM VTBBEWE INTO @DATA(ld_i_kz_ult_von).
DATA(ld_i_kz_ult_von) = ' '.
 
"SELECT single DBERBIS FROM VTBBEWE INTO @DATA(ld_i_datum_bis).
 
"SELECT single SINCLBIS FROM VTBBEWE INTO @DATA(ld_i_kz_incl_bis).
DATA(ld_i_kz_incl_bis) = '0'.
 
"SELECT single SULTBIS FROM VTBBEWE INTO @DATA(ld_i_kz_ult_bis).
DATA(ld_i_kz_ult_bis) = ' '.
 
DATA(ld_i_ammrhy) = '000'.
 
DATA(ld_i_kz_expo_von) = ' '.
 


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!