SAP ISB_FORWARD_RATE_CALC Function Module for NOTRANSL: Berechnung Forward Rate









ISB_FORWARD_RATE_CALC is a standard isb forward rate calc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Berechnung Forward Rate 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 isb forward rate calc FM, simply by entering the name ISB_FORWARD_RATE_CALC into the relevant SAP transaction such as SE37 or SE38.

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



Function ISB_FORWARD_RATE_CALC 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 'ISB_FORWARD_RATE_CALC'"NOTRANSL: Berechnung Forward Rate
EXPORTING
I_FR_LFZT_BEGINN = "ABAP System Field: Current Date of Application Server
I_FR_LFZT_ENDE = "ABAP System Field: Current Date of Application Server
* I_SZBMETH_I = "Interest Calculation Method
* I_SKALID = "Calendar
I_JBD14 = "Yield Curve Types (Header Information)

IMPORTING
E_FPARC = "Par rate
E_FRATE = "Zero coupon
E_FZBAF = "Zero bond discounting factor

TABLES
I_JBD11 = "IS-B: Extended interest rate table

EXCEPTIONS
INVALID_DATES = 1 NO_YIELD_CURVE = 2 NO_ZERO = 3
.



IMPORTING Parameters details for ISB_FORWARD_RATE_CALC

I_FR_LFZT_BEGINN - ABAP System Field: Current Date of Application Server

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

I_FR_LFZT_ENDE - ABAP System Field: Current Date of Application Server

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

I_SZBMETH_I - Interest Calculation Method

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

I_SKALID - Calendar

Data type: JBD14-SKALID
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_JBD14 - Yield Curve Types (Header Information)

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

EXPORTING Parameters details for ISB_FORWARD_RATE_CALC

E_FPARC - Par rate

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

E_FRATE - Zero coupon

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

E_FZBAF - Zero bond discounting factor

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

TABLES Parameters details for ISB_FORWARD_RATE_CALC

I_JBD11 - IS-B: Extended interest rate table

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

EXCEPTIONS details

INVALID_DATES -

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

NO_YIELD_CURVE -

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

NO_ZERO -

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

Copy and paste ABAP code example for ISB_FORWARD_RATE_CALC 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_fparc  TYPE JBD11-IGKM, "   
lt_i_jbd11  TYPE STANDARD TABLE OF JBD11, "   
lv_invalid_dates  TYPE JBD11, "   
lv_i_fr_lfzt_beginn  TYPE SY-DATUM, "   
lv_e_frate  TYPE JBD11-IFR, "   
lv_i_fr_lfzt_ende  TYPE SY-DATUM, "   
lv_no_yield_curve  TYPE SY, "   
lv_e_fzbaf  TYPE JBD11-IZBAF, "   
lv_no_zero  TYPE JBD11, "   
lv_i_szbmeth_i  TYPE JBD14-SZBMETH, "   
lv_i_skalid  TYPE JBD14-SKALID, "   
lv_i_jbd14  TYPE JBD14. "   

  CALL FUNCTION 'ISB_FORWARD_RATE_CALC'  "NOTRANSL: Berechnung Forward Rate
    EXPORTING
         I_FR_LFZT_BEGINN = lv_i_fr_lfzt_beginn
         I_FR_LFZT_ENDE = lv_i_fr_lfzt_ende
         I_SZBMETH_I = lv_i_szbmeth_i
         I_SKALID = lv_i_skalid
         I_JBD14 = lv_i_jbd14
    IMPORTING
         E_FPARC = lv_e_fparc
         E_FRATE = lv_e_frate
         E_FZBAF = lv_e_fzbaf
    TABLES
         I_JBD11 = lt_i_jbd11
    EXCEPTIONS
        INVALID_DATES = 1
        NO_YIELD_CURVE = 2
        NO_ZERO = 3
. " ISB_FORWARD_RATE_CALC




ABAP code using 7.40 inline data declarations to call FM ISB_FORWARD_RATE_CALC

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 IGKM FROM JBD11 INTO @DATA(ld_e_fparc).
 
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_fr_lfzt_beginn).
 
"SELECT single IFR FROM JBD11 INTO @DATA(ld_e_frate).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_fr_lfzt_ende).
 
 
"SELECT single IZBAF FROM JBD11 INTO @DATA(ld_e_fzbaf).
 
 
"SELECT single SZBMETH FROM JBD14 INTO @DATA(ld_i_szbmeth_i).
 
"SELECT single SKALID FROM JBD14 INTO @DATA(ld_i_skalid).
 
 


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!