SAP ISB_INT_AVERAGE Function Module for IS-B: Durchschnittszinssatz Kunde/Opportunität
ISB_INT_AVERAGE is a standard isb int average SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-B: Durchschnittszinssatz Kunde/Opportunität 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 int average FM, simply by entering the name ISB_INT_AVERAGE into the relevant SAP transaction such as SE37 or SE38.
Function Group: JBT6
Program Name: SAPLJBT6
Main Program: SAPLJBT6
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISB_INT_AVERAGE 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_INT_AVERAGE'"IS-B: Durchschnittszinssatz Kunde/Opportunität.
EXPORTING
BDSVOL = "Durchschnittsvolumen
BEITRAG = "OZ-Beitrag
DANF = "Anfangsdatum
DEND = "Endedatum
IMPORTING
IZINSDUR = "Durchschnittszinssatz
TABLES
PAR_JBDKOKO = "Konditionsköpfe
SAV_LFDTAGE = "Jahrestage/abgel. Tage der Periode
EXCEPTIONS
NO_J_TAGE = 1 NO_KOKOS = 2
IMPORTING Parameters details for ISB_INT_AVERAGE
BDSVOL - Durchschnittsvolumen
Data type: JBDWFF-BDSVOLOptional: No
Call by Reference: No ( called with pass by value option)
BEITRAG - OZ-Beitrag
Data type: JBDWFF-BZINBEOptional: No
Call by Reference: No ( called with pass by value option)
DANF - Anfangsdatum
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
DEND - Endedatum
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISB_INT_AVERAGE
IZINSDUR - Durchschnittszinssatz
Data type: JBDST1-IKZDUROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISB_INT_AVERAGE
PAR_JBDKOKO - Konditionsköpfe
Data type: JBDKOKOOptional: No
Call by Reference: No ( called with pass by value option)
SAV_LFDTAGE - Jahrestage/abgel. Tage der Periode
Data type: JBTLFDTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_J_TAGE - keine Jahrestage
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_KOKOS - (*) wurde nicht übergeben
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISB_INT_AVERAGE 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_bdsvol | TYPE JBDWFF-BDSVOL, " | |||
| lv_izinsdur | TYPE JBDST1-IKZDUR, " | |||
| lv_no_j_tage | TYPE JBDST1, " | |||
| lt_par_jbdkoko | TYPE STANDARD TABLE OF JBDKOKO, " | |||
| lv_beitrag | TYPE JBDWFF-BZINBE, " | |||
| lv_no_kokos | TYPE JBDWFF, " | |||
| lt_sav_lfdtage | TYPE STANDARD TABLE OF JBTLFDT, " | |||
| lv_danf | TYPE SY-DATUM, " | |||
| lv_dend | TYPE SY-DATUM. " |
|   CALL FUNCTION 'ISB_INT_AVERAGE' "IS-B: Durchschnittszinssatz Kunde/Opportunität |
| EXPORTING | ||
| BDSVOL | = lv_bdsvol | |
| BEITRAG | = lv_beitrag | |
| DANF | = lv_danf | |
| DEND | = lv_dend | |
| IMPORTING | ||
| IZINSDUR | = lv_izinsdur | |
| TABLES | ||
| PAR_JBDKOKO | = lt_par_jbdkoko | |
| SAV_LFDTAGE | = lt_sav_lfdtage | |
| EXCEPTIONS | ||
| NO_J_TAGE = 1 | ||
| NO_KOKOS = 2 | ||
| . " ISB_INT_AVERAGE | ||
ABAP code using 7.40 inline data declarations to call FM ISB_INT_AVERAGE
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 BDSVOL FROM JBDWFF INTO @DATA(ld_bdsvol). | ||||
| "SELECT single IKZDUR FROM JBDST1 INTO @DATA(ld_izinsdur). | ||||
| "SELECT single BZINBE FROM JBDWFF INTO @DATA(ld_beitrag). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_danf). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_dend). | ||||
Search for further information about these or an SAP related objects