SAP ISB_FORWARD_ZERO Function Module for NOTRANSL: Berechnung Forward-Zerocoupon aus Abzinsungsfaktoren
ISB_FORWARD_ZERO is a standard isb forward zero 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-Zerocoupon aus Abzinsungsfaktoren 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 zero FM, simply by entering the name ISB_FORWARD_ZERO 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_ZERO 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_ZERO'"NOTRANSL: Berechnung Forward-Zerocoupon aus Abzinsungsfaktoren.
EXPORTING
I_SZBMETH = "Interest Calculation Method
* I_SKALID = "Calendar
I_ZBAF_KURZ = "Zero bond discounting factor
I_ZBAF_LANG = "Zero bond discounting factor
I_ZINS_LFZT = "Number of days
I_DATUM_VON = "ABAP System Field: Current Date of Application Server
I_DATUM_BIS = "ABAP System Field: Current Date of Application Server
IMPORTING
E_FORWARD_ZBAF = "Zero bond discounting factor
E_FORWARD_ZERO = "Zero coupon
EXCEPTIONS
ERROR_FOUND = 1
IMPORTING Parameters details for ISB_FORWARD_ZERO
I_SZBMETH - Interest Calculation Method
Data type: JBD14-SZBMETHOptional: No
Call by Reference: No ( called with pass by value option)
I_SKALID - Calendar
Data type: JBD14-SKALIDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ZBAF_KURZ - Zero bond discounting factor
Data type: JBD11-IZBAFOptional: No
Call by Reference: No ( called with pass by value option)
I_ZBAF_LANG - Zero bond discounting factor
Data type: JBD11-IZBAFOptional: No
Call by Reference: No ( called with pass by value option)
I_ZINS_LFZT - Number of days
Data type: JBD11-NTAGEOptional: No
Call by Reference: No ( called with pass by value option)
I_DATUM_VON - ABAP System Field: Current Date of Application Server
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
I_DATUM_BIS - ABAP System Field: Current Date of Application Server
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISB_FORWARD_ZERO
E_FORWARD_ZBAF - Zero bond discounting factor
Data type: JBD11-IZBAFOptional: No
Call by Reference: No ( called with pass by value option)
E_FORWARD_ZERO - Zero coupon
Data type: JBD11-IFROptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISB_FORWARD_ZERO 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_szbmeth | TYPE JBD14-SZBMETH, " | |||
| lv_error_found | TYPE JBD14, " | |||
| lv_e_forward_zbaf | TYPE JBD11-IZBAF, " | |||
| lv_i_skalid | TYPE JBD14-SKALID, " | |||
| lv_e_forward_zero | TYPE JBD11-IFR, " | |||
| lv_i_zbaf_kurz | TYPE JBD11-IZBAF, " | |||
| lv_i_zbaf_lang | TYPE JBD11-IZBAF, " | |||
| lv_i_zins_lfzt | TYPE JBD11-NTAGE, " | |||
| lv_i_datum_von | TYPE SY-DATUM, " | |||
| lv_i_datum_bis | TYPE SY-DATUM. " |
|   CALL FUNCTION 'ISB_FORWARD_ZERO' "NOTRANSL: Berechnung Forward-Zerocoupon aus Abzinsungsfaktoren |
| EXPORTING | ||
| I_SZBMETH | = lv_i_szbmeth | |
| I_SKALID | = lv_i_skalid | |
| I_ZBAF_KURZ | = lv_i_zbaf_kurz | |
| I_ZBAF_LANG | = lv_i_zbaf_lang | |
| I_ZINS_LFZT | = lv_i_zins_lfzt | |
| I_DATUM_VON | = lv_i_datum_von | |
| I_DATUM_BIS | = lv_i_datum_bis | |
| IMPORTING | ||
| E_FORWARD_ZBAF | = lv_e_forward_zbaf | |
| E_FORWARD_ZERO | = lv_e_forward_zero | |
| EXCEPTIONS | ||
| ERROR_FOUND = 1 | ||
| . " ISB_FORWARD_ZERO | ||
ABAP code using 7.40 inline data declarations to call FM ISB_FORWARD_ZERO
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 SZBMETH FROM JBD14 INTO @DATA(ld_i_szbmeth). | ||||
| "SELECT single IZBAF FROM JBD11 INTO @DATA(ld_e_forward_zbaf). | ||||
| "SELECT single SKALID FROM JBD14 INTO @DATA(ld_i_skalid). | ||||
| "SELECT single IFR FROM JBD11 INTO @DATA(ld_e_forward_zero). | ||||
| "SELECT single IZBAF FROM JBD11 INTO @DATA(ld_i_zbaf_kurz). | ||||
| "SELECT single IZBAF FROM JBD11 INTO @DATA(ld_i_zbaf_lang). | ||||
| "SELECT single NTAGE FROM JBD11 INTO @DATA(ld_i_zins_lfzt). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_i_datum_von). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_i_datum_bis). | ||||
Search for further information about these or an SAP related objects