SAP ISB_INT_REC_LINEAR Function Module for IS-B: Zinsbeitrag durch lineare Verteilung zwischen Zahlungszeitpunkten
ISB_INT_REC_LINEAR is a standard isb int rec linear 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: Zinsbeitrag durch lineare Verteilung zwischen Zahlungszeitpunkten 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 rec linear FM, simply by entering the name ISB_INT_REC_LINEAR into the relevant SAP transaction such as SE37 or SE38.
Function Group: JBT4
Program Name: SAPLJBT4
Main Program: SAPLJBT4
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISB_INT_REC_LINEAR 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_REC_LINEAR'"IS-B: Zinsbeitrag durch lineare Verteilung zwischen Zahlungszeitpunkten.
EXPORTING
* PAR_IEFFZS = "Effektivzins
PAR_BEGIN = "Berechnung von (incl.)
PAR_END = "Berechnung bis (excl.)
* PAR_SZBMETH = '1' "Zinsberechnungsmethode
* PAR_IOZLIN = "'Linearer' OZ
* WDETAIL = "Währung für Detailprotokoll
* I_SBWVOL = "
IMPORTING
BINTREC = "Zinsbeitrag
BOPPREC = "Opportunitätsbeitrag
TABLES
PAR_ONEZSTR = "Zahlungsstrompositionen
EXCEPTIONS
NO_IMPORT = 1 NO_PERIOD = 2 PERIOD_AFTER_LAST_DUE_DATE = 3 PERIOD_WARNING = 4
IMPORTING Parameters details for ISB_INT_REC_LINEAR
PAR_IEFFZS - Effektivzins
Data type: JBDZSKO-IEFFZSOptional: Yes
Call by Reference: No ( called with pass by value option)
PAR_BEGIN - Berechnung von (incl.)
Data type: JBDZSTR-DZSBEWOptional: No
Call by Reference: No ( called with pass by value option)
PAR_END - Berechnung bis (excl.)
Data type: JBDZSTR-DZSBEWOptional: No
Call by Reference: No ( called with pass by value option)
PAR_SZBMETH - Zinsberechnungsmethode
Data type: JBDKOKO-SZBMETHDefault: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)
PAR_IOZLIN - 'Linearer' OZ
Data type: JBDZSKO-IOPPGWOptional: Yes
Call by Reference: No ( called with pass by value option)
WDETAIL - Währung für Detailprotokoll
Data type: JBIXGSC-WGWAEROptional: Yes
Call by Reference: No ( called with pass by value option)
I_SBWVOL -
Data type: JBTKREG-SBWVOLOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISB_INT_REC_LINEAR
BINTREC - Zinsbeitrag
Data type: JBDWFF-BZINBEOptional: No
Call by Reference: No ( called with pass by value option)
BOPPREC - Opportunitätsbeitrag
Data type: JBDWFF-BOPPBEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISB_INT_REC_LINEAR
PAR_ONEZSTR - Zahlungsstrompositionen
Data type: JBDZSTROptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_IMPORT - Eingabedaten fehlen
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_PERIOD - Berechnung von größer als Berechnung bis
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PERIOD_AFTER_LAST_DUE_DATE - Periode nach Zahlungsstrom: Fehler
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PERIOD_WARNING - Periode vor Zahlungsstrom: Warnung
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISB_INT_REC_LINEAR 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_bintrec | TYPE JBDWFF-BZINBE, " | |||
| lv_no_import | TYPE JBDWFF, " | |||
| lv_par_ieffzs | TYPE JBDZSKO-IEFFZS, " | |||
| lt_par_onezstr | TYPE STANDARD TABLE OF JBDZSTR, " | |||
| lv_bopprec | TYPE JBDWFF-BOPPBE, " | |||
| lv_no_period | TYPE JBDWFF, " | |||
| lv_par_begin | TYPE JBDZSTR-DZSBEW, " | |||
| lv_par_end | TYPE JBDZSTR-DZSBEW, " | |||
| lv_period_after_last_due_date | TYPE JBDZSTR, " | |||
| lv_par_szbmeth | TYPE JBDKOKO-SZBMETH, " '1' | |||
| lv_period_warning | TYPE JBDKOKO, " | |||
| lv_par_iozlin | TYPE JBDZSKO-IOPPGW, " | |||
| lv_wdetail | TYPE JBIXGSC-WGWAER, " | |||
| lv_i_sbwvol | TYPE JBTKREG-SBWVOL. " |
|   CALL FUNCTION 'ISB_INT_REC_LINEAR' "IS-B: Zinsbeitrag durch lineare Verteilung zwischen Zahlungszeitpunkten |
| EXPORTING | ||
| PAR_IEFFZS | = lv_par_ieffzs | |
| PAR_BEGIN | = lv_par_begin | |
| PAR_END | = lv_par_end | |
| PAR_SZBMETH | = lv_par_szbmeth | |
| PAR_IOZLIN | = lv_par_iozlin | |
| WDETAIL | = lv_wdetail | |
| I_SBWVOL | = lv_i_sbwvol | |
| IMPORTING | ||
| BINTREC | = lv_bintrec | |
| BOPPREC | = lv_bopprec | |
| TABLES | ||
| PAR_ONEZSTR | = lt_par_onezstr | |
| EXCEPTIONS | ||
| NO_IMPORT = 1 | ||
| NO_PERIOD = 2 | ||
| PERIOD_AFTER_LAST_DUE_DATE = 3 | ||
| PERIOD_WARNING = 4 | ||
| . " ISB_INT_REC_LINEAR | ||
ABAP code using 7.40 inline data declarations to call FM ISB_INT_REC_LINEAR
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 BZINBE FROM JBDWFF INTO @DATA(ld_bintrec). | ||||
| "SELECT single IEFFZS FROM JBDZSKO INTO @DATA(ld_par_ieffzs). | ||||
| "SELECT single BOPPBE FROM JBDWFF INTO @DATA(ld_bopprec). | ||||
| "SELECT single DZSBEW FROM JBDZSTR INTO @DATA(ld_par_begin). | ||||
| "SELECT single DZSBEW FROM JBDZSTR INTO @DATA(ld_par_end). | ||||
| "SELECT single SZBMETH FROM JBDKOKO INTO @DATA(ld_par_szbmeth). | ||||
| DATA(ld_par_szbmeth) | = '1'. | |||
| "SELECT single IOPPGW FROM JBDZSKO INTO @DATA(ld_par_iozlin). | ||||
| "SELECT single WGWAER FROM JBIXGSC INTO @DATA(ld_wdetail). | ||||
| "SELECT single SBWVOL FROM JBTKREG INTO @DATA(ld_i_sbwvol). | ||||
Search for further information about these or an SAP related objects