SAP ISB_PRESENT_VALUE_CALCULATE Function Module for NOTRANSL: Barwert berechnen
ISB_PRESENT_VALUE_CALCULATE is a standard isb present value calculate 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: Barwert berechnen 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 present value calculate FM, simply by entering the name ISB_PRESENT_VALUE_CALCULATE 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_PRESENT_VALUE_CALCULATE 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_PRESENT_VALUE_CALCULATE'"NOTRANSL: Barwert berechnen.
EXPORTING
SAV_JBD14 = "Yld Curve Type
* BYPASSING_BUFFER_FLAG = 0 "
* NO_PARRATE_FLAG = 0 "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING
BPREVA = "Net Present Value
IGKM = "Par Rate
IFR = "Zero coupon
IZBAF = "Zero bond discounting factor
TABLES
SAV_JBD11 = "IS-B: Extended interest rate table
SAV_JBDZSTR = "Payment flow
* PROT_JBD11 = "Log Structure
IMPORTING Parameters details for ISB_PRESENT_VALUE_CALCULATE
SAV_JBD14 - Yld Curve Type
Data type: JBD14Optional: No
Call by Reference: No ( called with pass by value option)
BYPASSING_BUFFER_FLAG -
Data type: JBD2_NUMC1Optional: Yes
Call by Reference: No ( called with pass by value option)
NO_PARRATE_FLAG - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: JBD2_NUMC1Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISB_PRESENT_VALUE_CALCULATE
BPREVA - Net Present Value
Data type: JBDCFLOW-BZSBTROptional: No
Call by Reference: No ( called with pass by value option)
IGKM - Par Rate
Data type: JBD11-IGKMOptional: No
Call by Reference: No ( called with pass by value option)
IFR - Zero coupon
Data type: JBD11-IFROptional: No
Call by Reference: No ( called with pass by value option)
IZBAF - Zero bond discounting factor
Data type: JBD11-IZBAFOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISB_PRESENT_VALUE_CALCULATE
SAV_JBD11 - IS-B: Extended interest rate table
Data type: JBD11Optional: No
Call by Reference: No ( called with pass by value option)
SAV_JBDZSTR - Payment flow
Data type: JBDCFLOWOptional: No
Call by Reference: No ( called with pass by value option)
PROT_JBD11 - Log Structure
Data type: JBD11Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISB_PRESENT_VALUE_CALCULATE 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_bpreva | TYPE JBDCFLOW-BZSBTR, " | |||
| lt_sav_jbd11 | TYPE STANDARD TABLE OF JBD11, " | |||
| lv_sav_jbd14 | TYPE JBD14, " | |||
| lv_igkm | TYPE JBD11-IGKM, " | |||
| lt_sav_jbdzstr | TYPE STANDARD TABLE OF JBDCFLOW, " | |||
| lv_bypassing_buffer_flag | TYPE JBD2_NUMC1, " 0 | |||
| lv_ifr | TYPE JBD11-IFR, " | |||
| lt_prot_jbd11 | TYPE STANDARD TABLE OF JBD11, " | |||
| lv_no_parrate_flag | TYPE JBD2_NUMC1, " 0 | |||
| lv_izbaf | TYPE JBD11-IZBAF. " |
|   CALL FUNCTION 'ISB_PRESENT_VALUE_CALCULATE' "NOTRANSL: Barwert berechnen |
| EXPORTING | ||
| SAV_JBD14 | = lv_sav_jbd14 | |
| BYPASSING_BUFFER_FLAG | = lv_bypassing_buffer_flag | |
| NO_PARRATE_FLAG | = lv_no_parrate_flag | |
| IMPORTING | ||
| BPREVA | = lv_bpreva | |
| IGKM | = lv_igkm | |
| IFR | = lv_ifr | |
| IZBAF | = lv_izbaf | |
| TABLES | ||
| SAV_JBD11 | = lt_sav_jbd11 | |
| SAV_JBDZSTR | = lt_sav_jbdzstr | |
| PROT_JBD11 | = lt_prot_jbd11 | |
| . " ISB_PRESENT_VALUE_CALCULATE | ||
ABAP code using 7.40 inline data declarations to call FM ISB_PRESENT_VALUE_CALCULATE
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 BZSBTR FROM JBDCFLOW INTO @DATA(ld_bpreva). | ||||
| "SELECT single IGKM FROM JBD11 INTO @DATA(ld_igkm). | ||||
| "SELECT single IFR FROM JBD11 INTO @DATA(ld_ifr). | ||||
| "SELECT single IZBAF FROM JBD11 INTO @DATA(ld_izbaf). | ||||
Search for further information about these or an SAP related objects