SAP ISB_TRAN_COSTING_INIT Function Module for IS-B: Prüfung der Kalkulationsparameter + zugehöriges Protokoll
ISB_TRAN_COSTING_INIT is a standard isb tran costing init 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: Prüfung der Kalkulationsparameter + zugehöriges Protokoll 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 tran costing init FM, simply by entering the name ISB_TRAN_COSTING_INIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: JBTR
Program Name: SAPLJBTR
Main Program: SAPLJBTR
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISB_TRAN_COSTING_INIT 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_TRAN_COSTING_INIT'"IS-B: Prüfung der Kalkulationsparameter + zugehöriges Protokoll.
EXPORTING
* IP_ABPER_CALC = ' ' "Abgeschl. Periode erneut kalklieren = 'X'
* IP_SD_PRICING = 'X' "Flexible Verfahren ausführen
* IP_TESTLAUF = 'X' "Kalkulation im Testlauf = 'X'
* IP_VALUES_CLEAR = ' ' "Periodenwerte vor der Kalkulation löschen = 'X'
* IP_DBPRH = 'X' "
JKALK = "Kennzeichen, ob bei Übernahme kalkuliert werden soll
* IP_KZ_VORKALKULATION = ' ' "
* IP_CHANGE_PROT = 'X' "
* IP_BUPER = ' ' "Buchungsp. muß nur bei Sonderper. angegeb. werd.
* IP_DERIVATE_CRITERIA = 'X' "Anreicherung ausführen
* IP_DERIVATE_FO = ' ' "Kalkulationsparameter, Anreicherung ausführen
* IP_DETAIL_PROT_ACTIVE = 'X' "Detail-Protokoll = 'X'
IP_DKALK = "Kalkulationsdatum
IP_ERKRS = "Ergebnisbereich
* IP_PER_ABS = ' ' "Periode abschließen = 'X'
* IP_RUECKVALUTIERUNG = ' ' "Rückvaluta ausführen = 'X'
TABLES
* TP_ERROR_ITAB = "Fehler bei der Kalkulations (Nur für TSal)
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLJBTR_001 User Exit for Balance Formation
EXIT_SAPLJBTR_002 User Exit for Average Volumes
EXIT_SAPLJBTR_003 User Exit for Interest Contribution
EXIT_SAPLJBTR_004 User Exit for Opportunity Interest Contribution
EXIT_SAPLJBTR_005 User Exit for Calculating NPV Margin
EXIT_SAPLJBTR_006 User Exit for Period Distribution of NPV Margin
EXIT_SAPLJBTR_007 User Exit for Calculating NPV of Average Effective Capital
EXIT_SAPLJBTR_008 User Exit for Calculating Market Volume
EXIT_SAPLJBTR_009 User Exit for Calculating Opportunity Volume
EXIT_SAPLJBTR_010 User Exit for Calculating Contract Volume
EXIT_SAPLJBTR_011 User Exit for Calculating Unrealised Exchange Gains/Losses
EXIT_SAPLJBTR_012 User Exit for Average Customer Interest
EXIT_SAPLJBTR_013 User Exit for Net Interest Margin
EXIT_SAPLJBTR_014 User Exit for Opportunity Interest
EXIT_SAPLJBTR_015 User Exit for Currency Transformation Contribution
EXIT_SAPLJBTR_016 User Exit for Minimum Reserve Costs
EXIT_SAPLJBTR_101 User Exit BEFORE Call of Fixed Procedures with Standard Value Fields
EXIT_SAPLJBTR_102 User Exit AFTER Call of Fixed Processes with Standard Value Fields
EXIT_SAPLJBTR_201 User Exit BEFORE Call Up of Flexible Procedures with Line Items
EXIT_SAPLJBTR_202 User Exit BEFORE Posting Line Items
EXIT_SAPLJBTR_301 User Exit for Isolating the Effect of Currency on Loans
IMPORTING Parameters details for ISB_TRAN_COSTING_INIT
IP_ABPER_CALC - Abgeschl. Periode erneut kalklieren = 'X'
Data type: JBIKAPD-JABKALDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
IP_SD_PRICING - Flexible Verfahren ausführen
Data type: JBIKAPD-JFLEXADefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IP_TESTLAUF - Kalkulation im Testlauf = 'X'
Data type: JBIKAPD-JTESTLDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IP_VALUES_CLEAR - Periodenwerte vor der Kalkulation löschen = 'X'
Data type: JBIKAPD-JWFLOEDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
IP_DBPRH -
Data type: JBIKAPD-JDBPHWDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
JKALK - Kennzeichen, ob bei Übernahme kalkuliert werden soll
Data type: JBIKAPD-JKALKOptional: No
Call by Reference: No ( called with pass by value option)
IP_KZ_VORKALKULATION -
Data type: CDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
IP_CHANGE_PROT -
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IP_BUPER - Buchungsp. muß nur bei Sonderper. angegeb. werd.
Data type: T009B-POPERDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
IP_DERIVATE_CRITERIA - Anreicherung ausführen
Data type: JBIKAPD-JANAUSDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IP_DERIVATE_FO - Kalkulationsparameter, Anreicherung ausführen
Data type: JBIKAPD-JANAUSDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
IP_DETAIL_PROT_ACTIVE - Detail-Protokoll = 'X'
Data type: JBIKAPD-JDETAIDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IP_DKALK - Kalkulationsdatum
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
IP_ERKRS - Ergebnisbereich
Data type: TKEB-ERKRSOptional: No
Call by Reference: No ( called with pass by value option)
IP_PER_ABS - Periode abschließen = 'X'
Data type: JBIKAPD-JPERABDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
IP_RUECKVALUTIERUNG - Rückvaluta ausführen = 'X'
Data type: JBIKAPD-JRUECKDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISB_TRAN_COSTING_INIT
TP_ERROR_ITAB - Fehler bei der Kalkulations (Nur für TSal)
Data type: SPROT_XOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISB_TRAN_COSTING_INIT 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_ip_abper_calc | TYPE JBIKAPD-JABKAL, " ' ' | |||
| lt_tp_error_itab | TYPE STANDARD TABLE OF SPROT_X, " | |||
| lv_ip_sd_pricing | TYPE JBIKAPD-JFLEXA, " 'X' | |||
| lv_ip_testlauf | TYPE JBIKAPD-JTESTL, " 'X' | |||
| lv_ip_values_clear | TYPE JBIKAPD-JWFLOE, " ' ' | |||
| lv_ip_dbprh | TYPE JBIKAPD-JDBPHW, " 'X' | |||
| lv_jkalk | TYPE JBIKAPD-JKALK, " | |||
| lv_ip_kz_vorkalkulation | TYPE C, " ' ' | |||
| lv_ip_change_prot | TYPE C, " 'X' | |||
| lv_ip_buper | TYPE T009B-POPER, " ' ' | |||
| lv_ip_derivate_criteria | TYPE JBIKAPD-JANAUS, " 'X' | |||
| lv_ip_derivate_fo | TYPE JBIKAPD-JANAUS, " ' ' | |||
| lv_ip_detail_prot_active | TYPE JBIKAPD-JDETAI, " 'X' | |||
| lv_ip_dkalk | TYPE SY-DATUM, " | |||
| lv_ip_erkrs | TYPE TKEB-ERKRS, " | |||
| lv_ip_per_abs | TYPE JBIKAPD-JPERAB, " ' ' | |||
| lv_ip_rueckvalutierung | TYPE JBIKAPD-JRUECK. " ' ' |
|   CALL FUNCTION 'ISB_TRAN_COSTING_INIT' "IS-B: Prüfung der Kalkulationsparameter + zugehöriges Protokoll |
| EXPORTING | ||
| IP_ABPER_CALC | = lv_ip_abper_calc | |
| IP_SD_PRICING | = lv_ip_sd_pricing | |
| IP_TESTLAUF | = lv_ip_testlauf | |
| IP_VALUES_CLEAR | = lv_ip_values_clear | |
| IP_DBPRH | = lv_ip_dbprh | |
| JKALK | = lv_jkalk | |
| IP_KZ_VORKALKULATION | = lv_ip_kz_vorkalkulation | |
| IP_CHANGE_PROT | = lv_ip_change_prot | |
| IP_BUPER | = lv_ip_buper | |
| IP_DERIVATE_CRITERIA | = lv_ip_derivate_criteria | |
| IP_DERIVATE_FO | = lv_ip_derivate_fo | |
| IP_DETAIL_PROT_ACTIVE | = lv_ip_detail_prot_active | |
| IP_DKALK | = lv_ip_dkalk | |
| IP_ERKRS | = lv_ip_erkrs | |
| IP_PER_ABS | = lv_ip_per_abs | |
| IP_RUECKVALUTIERUNG | = lv_ip_rueckvalutierung | |
| TABLES | ||
| TP_ERROR_ITAB | = lt_tp_error_itab | |
| . " ISB_TRAN_COSTING_INIT | ||
ABAP code using 7.40 inline data declarations to call FM ISB_TRAN_COSTING_INIT
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 JABKAL FROM JBIKAPD INTO @DATA(ld_ip_abper_calc). | ||||
| DATA(ld_ip_abper_calc) | = ' '. | |||
| "SELECT single JFLEXA FROM JBIKAPD INTO @DATA(ld_ip_sd_pricing). | ||||
| DATA(ld_ip_sd_pricing) | = 'X'. | |||
| "SELECT single JTESTL FROM JBIKAPD INTO @DATA(ld_ip_testlauf). | ||||
| DATA(ld_ip_testlauf) | = 'X'. | |||
| "SELECT single JWFLOE FROM JBIKAPD INTO @DATA(ld_ip_values_clear). | ||||
| DATA(ld_ip_values_clear) | = ' '. | |||
| "SELECT single JDBPHW FROM JBIKAPD INTO @DATA(ld_ip_dbprh). | ||||
| DATA(ld_ip_dbprh) | = 'X'. | |||
| "SELECT single JKALK FROM JBIKAPD INTO @DATA(ld_jkalk). | ||||
| DATA(ld_ip_kz_vorkalkulation) | = ' '. | |||
| DATA(ld_ip_change_prot) | = 'X'. | |||
| "SELECT single POPER FROM T009B INTO @DATA(ld_ip_buper). | ||||
| DATA(ld_ip_buper) | = ' '. | |||
| "SELECT single JANAUS FROM JBIKAPD INTO @DATA(ld_ip_derivate_criteria). | ||||
| DATA(ld_ip_derivate_criteria) | = 'X'. | |||
| "SELECT single JANAUS FROM JBIKAPD INTO @DATA(ld_ip_derivate_fo). | ||||
| DATA(ld_ip_derivate_fo) | = ' '. | |||
| "SELECT single JDETAI FROM JBIKAPD INTO @DATA(ld_ip_detail_prot_active). | ||||
| DATA(ld_ip_detail_prot_active) | = 'X'. | |||
| "SELECT single DATUM FROM SY INTO @DATA(ld_ip_dkalk). | ||||
| "SELECT single ERKRS FROM TKEB INTO @DATA(ld_ip_erkrs). | ||||
| "SELECT single JPERAB FROM JBIKAPD INTO @DATA(ld_ip_per_abs). | ||||
| DATA(ld_ip_per_abs) | = ' '. | |||
| "SELECT single JRUECK FROM JBIKAPD INTO @DATA(ld_ip_rueckvalutierung). | ||||
| DATA(ld_ip_rueckvalutierung) | = ' '. | |||
Search for further information about these or an SAP related objects