SAP ISB_RM_PH_FOR_EVAL_GET Function Module for IS-B: RM Liefert Zweig der PortfHierarchie mit Basisportfolien
ISB_RM_PH_FOR_EVAL_GET is a standard isb rm ph for eval get 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 Liefert Zweig der PortfHierarchie mit Basisportfolien 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 ph for eval get FM, simply by entering the name ISB_RM_PH_FOR_EVAL_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: JBRJ
Program Name: SAPLJBRJ
Main Program: SAPLJBRJ
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISB_RM_PH_FOR_EVAL_GET 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_PH_FOR_EVAL_GET'"IS-B: RM Liefert Zweig der PortfHierarchie mit Basisportfolien.
EXPORTING
P_PHID = "Portfoliohierarchie
P_SICHT = "Sicht
* I_DEACTIVE = ' ' "X = Zugriff auf deaktiver PH erlaubt
* I_PH_TESTMODE = ' ' "X =PH mit Filtertestselektionen
IMPORTING
NO_BP = "auf 'X' gesetzt, wenn keine BPs übergeben werden
CHANGING
* P_PKNOTEN = "ID des gewählten Knotens (in der urspr. Hier.)
TABLES
* IT_JBRPHBAUM_RED = "Baumtabelle des gewählten Zweigs
* IT_HTEXT_TAB_RED = "Ausprägungstabelle dazu
* E_JBRBP = "Tabelle der ausgewählten BPs (für Selektion)
* E_JBRZUORDN = "Zuordnungstabelle BPs <> Knoten
EXCEPTIONS
ABNORMAL_PGM_EXEC = 1 NO_TREE_FOR_PKNOTEN = 2 NO_HIERARCHY_FOUND = 3 NO_DATA = 4 ENQUEUE_ERROR = 5 PH_DEACTIVATED = 6
IMPORTING Parameters details for ISB_RM_PH_FOR_EVAL_GET
P_PHID - Portfoliohierarchie
Data type: JBRPHBAUM-PHIDOptional: No
Call by Reference: No ( called with pass by value option)
P_SICHT - Sicht
Data type: JBRSI-SICHTIDOptional: No
Call by Reference: No ( called with pass by value option)
I_DEACTIVE - X = Zugriff auf deaktiver PH erlaubt
Data type: JBRPH-NOTACTIVDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PH_TESTMODE - X =PH mit Filtertestselektionen
Data type: AFWCH_FLAG_SELEDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISB_RM_PH_FOR_EVAL_GET
NO_BP - auf 'X' gesetzt, wenn keine BPs übergeben werden
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ISB_RM_PH_FOR_EVAL_GET
P_PKNOTEN - ID des gewählten Knotens (in der urspr. Hier.)
Data type: JBRPHBAUM-PKNOTENOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISB_RM_PH_FOR_EVAL_GET
IT_JBRPHBAUM_RED - Baumtabelle des gewählten Zweigs
Data type: JBRPHBAUMOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_HTEXT_TAB_RED - Ausprägungstabelle dazu
Data type: JBRNAMEDATOptional: Yes
Call by Reference: No ( called with pass by value option)
E_JBRBP - Tabelle der ausgewählten BPs (für Selektion)
Data type: JBRBPOptional: Yes
Call by Reference: No ( called with pass by value option)
E_JBRZUORDN - Zuordnungstabelle BPs <> Knoten
Data type: JBRZUORDNOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ABNORMAL_PGM_EXEC - Anderer Fehler
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_TREE_FOR_PKNOTEN - Knoten nicht in der Hierarchie
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_HIERARCHY_FOUND - Hierarchie nicht gefunden
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_DATA - Keine Daten in der Sicht
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ENQUEUE_ERROR - Sperrproblem
Data type:Optional: No
Call by Reference: Yes
PH_DEACTIVATED - Portfoliohierarchie ist deaktiv
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISB_RM_PH_FOR_EVAL_GET 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_no_bp | TYPE STRING, " | |||
| lv_p_phid | TYPE JBRPHBAUM-PHID, " | |||
| lv_p_pknoten | TYPE JBRPHBAUM-PKNOTEN, " | |||
| lt_it_jbrphbaum_red | TYPE STANDARD TABLE OF JBRPHBAUM, " | |||
| lv_abnormal_pgm_exec | TYPE JBRPHBAUM, " | |||
| lv_p_sicht | TYPE JBRSI-SICHTID, " | |||
| lt_it_htext_tab_red | TYPE STANDARD TABLE OF JBRNAMEDAT, " | |||
| lv_no_tree_for_pknoten | TYPE JBRNAMEDAT, " | |||
| lt_e_jbrbp | TYPE STANDARD TABLE OF JBRBP, " | |||
| lv_i_deactive | TYPE JBRPH-NOTACTIV, " ' ' | |||
| lv_no_hierarchy_found | TYPE JBRPH, " | |||
| lv_no_data | TYPE JBRPH, " | |||
| lt_e_jbrzuordn | TYPE STANDARD TABLE OF JBRZUORDN, " | |||
| lv_i_ph_testmode | TYPE AFWCH_FLAG_SELE, " ' ' | |||
| lv_enqueue_error | TYPE AFWCH_FLAG_SELE, " | |||
| lv_ph_deactivated | TYPE AFWCH_FLAG_SELE. " |
|   CALL FUNCTION 'ISB_RM_PH_FOR_EVAL_GET' "IS-B: RM Liefert Zweig der PortfHierarchie mit Basisportfolien |
| EXPORTING | ||
| P_PHID | = lv_p_phid | |
| P_SICHT | = lv_p_sicht | |
| I_DEACTIVE | = lv_i_deactive | |
| I_PH_TESTMODE | = lv_i_ph_testmode | |
| IMPORTING | ||
| NO_BP | = lv_no_bp | |
| CHANGING | ||
| P_PKNOTEN | = lv_p_pknoten | |
| TABLES | ||
| IT_JBRPHBAUM_RED | = lt_it_jbrphbaum_red | |
| IT_HTEXT_TAB_RED | = lt_it_htext_tab_red | |
| E_JBRBP | = lt_e_jbrbp | |
| E_JBRZUORDN | = lt_e_jbrzuordn | |
| EXCEPTIONS | ||
| ABNORMAL_PGM_EXEC = 1 | ||
| NO_TREE_FOR_PKNOTEN = 2 | ||
| NO_HIERARCHY_FOUND = 3 | ||
| NO_DATA = 4 | ||
| ENQUEUE_ERROR = 5 | ||
| PH_DEACTIVATED = 6 | ||
| . " ISB_RM_PH_FOR_EVAL_GET | ||
ABAP code using 7.40 inline data declarations to call FM ISB_RM_PH_FOR_EVAL_GET
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 PHID FROM JBRPHBAUM INTO @DATA(ld_p_phid). | ||||
| "SELECT single PKNOTEN FROM JBRPHBAUM INTO @DATA(ld_p_pknoten). | ||||
| "SELECT single SICHTID FROM JBRSI INTO @DATA(ld_p_sicht). | ||||
| "SELECT single NOTACTIV FROM JBRPH INTO @DATA(ld_i_deactive). | ||||
| DATA(ld_i_deactive) | = ' '. | |||
| DATA(ld_i_ph_testmode) | = ' '. | |||
Search for further information about these or an SAP related objects