SAP ISB_RM_BARWERT Function Module for IS-B: RM Barwertauswertung
ISB_RM_BARWERT is a standard isb rm barwert 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: RM Barwertauswertung 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 rm barwert FM, simply by entering the name ISB_RM_BARWERT into the relevant SAP transaction such as SE37 or SE38.
Function Group: JBRW
Program Name: SAPLJBRW
Main Program: SAPLJBRW
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISB_RM_BARWERT 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_RM_BARWERT'"IS-B: RM Barwertauswertung.
EXPORTING
I_JBRHSSPAR = "Parameterstruktur für die Barwertberechnung
I_EVAL_METH = "Tabellen Methodensteuerung
I_FOB_SEL = "Tabellen Finanzobjektselektion
TABLES
E_JBRRPBW = "Ergebnisstruktur Barwert
* E_JBRPHBAUM = "Baumtabelle der Portfoliohierarchie
* E_HTEXT_TAB = "Merkmale/Ausprägungen der Portfoliohierarchie
* E_JBRZUORDN = "Zuordnung BP zu Blattknoten
EXCEPTIONS
PARAMETERS_ERROR = 1 SELECTION_ERROR = 2 RULES_NOT_FOUND = 3 EVAL_ERROR = 4
IMPORTING Parameters details for ISB_RM_BARWERT
I_JBRHSSPAR - Parameterstruktur für die Barwertberechnung
Data type: JBRHSSPARIOptional: No
Call by Reference: No ( called with pass by value option)
I_EVAL_METH - Tabellen Methodensteuerung
Data type: JBRW_EVAL_METHOptional: No
Call by Reference: No ( called with pass by value option)
I_FOB_SEL - Tabellen Finanzobjektselektion
Data type: RMFOS_SELOptional: No
Call by Reference: Yes
TABLES Parameters details for ISB_RM_BARWERT
E_JBRRPBW - Ergebnisstruktur Barwert
Data type: JBRRPBWOptional: No
Call by Reference: No ( called with pass by value option)
E_JBRPHBAUM - Baumtabelle der Portfoliohierarchie
Data type: JBRPHBAUMOptional: Yes
Call by Reference: No ( called with pass by value option)
E_HTEXT_TAB - Merkmale/Ausprägungen der Portfoliohierarchie
Data type: JBRNAMEDATOptional: Yes
Call by Reference: No ( called with pass by value option)
E_JBRZUORDN - Zuordnung BP zu Blattknoten
Data type: JBRZUORDNOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
PARAMETERS_ERROR - Unzulässige Aufrufparameter
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SELECTION_ERROR - Fehler beim Ermitteln der Basisportfolien
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
RULES_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EVAL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISB_RM_BARWERT 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: | ||||
| lt_e_jbrrpbw | TYPE STANDARD TABLE OF JBRRPBW, " | |||
| lv_i_jbrhsspar | TYPE JBRHSSPARI, " | |||
| lv_parameters_error | TYPE JBRHSSPARI, " | |||
| lt_e_jbrphbaum | TYPE STANDARD TABLE OF JBRPHBAUM, " | |||
| lv_i_eval_meth | TYPE JBRW_EVAL_METH, " | |||
| lv_selection_error | TYPE JBRW_EVAL_METH, " | |||
| lv_i_fob_sel | TYPE RMFOS_SEL, " | |||
| lt_e_htext_tab | TYPE STANDARD TABLE OF JBRNAMEDAT, " | |||
| lv_rules_not_found | TYPE JBRNAMEDAT, " | |||
| lv_eval_error | TYPE JBRNAMEDAT, " | |||
| lt_e_jbrzuordn | TYPE STANDARD TABLE OF JBRZUORDN. " |
|   CALL FUNCTION 'ISB_RM_BARWERT' "IS-B: RM Barwertauswertung |
| EXPORTING | ||
| I_JBRHSSPAR | = lv_i_jbrhsspar | |
| I_EVAL_METH | = lv_i_eval_meth | |
| I_FOB_SEL | = lv_i_fob_sel | |
| TABLES | ||
| E_JBRRPBW | = lt_e_jbrrpbw | |
| E_JBRPHBAUM | = lt_e_jbrphbaum | |
| E_HTEXT_TAB | = lt_e_htext_tab | |
| E_JBRZUORDN | = lt_e_jbrzuordn | |
| EXCEPTIONS | ||
| PARAMETERS_ERROR = 1 | ||
| SELECTION_ERROR = 2 | ||
| RULES_NOT_FOUND = 3 | ||
| EVAL_ERROR = 4 | ||
| . " ISB_RM_BARWERT | ||
ABAP code using 7.40 inline data declarations to call FM ISB_RM_BARWERT
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.Search for further information about these or an SAP related objects