SAP RM_SSCR_PH_NODE_HELP Function Module for RM: F4-Hilfe für Portfoliohierarchieknoten auf Selektionsbildschirm









RM_SSCR_PH_NODE_HELP is a standard rm sscr ph node help SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for RM: F4-Hilfe für Portfoliohierarchieknoten auf Selektionsbildschirm 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 rm sscr ph node help FM, simply by entering the name RM_SSCR_PH_NODE_HELP into the relevant SAP transaction such as SE37 or SE38.

Function Group: RMSSCR
Program Name: SAPLRMSSCR
Main Program: SAPLRMSSCR
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RM_SSCR_PH_NODE_HELP 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 'RM_SSCR_PH_NODE_HELP'"RM: F4-Hilfe für Portfoliohierarchieknoten auf Selektionsbildschirm
EXPORTING
* I_PROGNAME = SY-CPROG "Programmname
* I_DYNPRO_NUMBER = '1000' "Nummer des Dynpros, auf dem Sicht und PH liegen
I_FIELDNAME_VIEW = "Feldname Sicht (Parameter)
I_FIELDNAME_PH = "Feldname Portfoliohierarchie (Parameter)
* I_FIELDNAME_NODE = "Feldname PH-Knoten
* I_DEACTIVE = "X = Zugriff auf deaktiver PH erlaubt

IMPORTING
E_NODE = "Ausgewählter Knoten (sechsstellig)

EXCEPTIONS
INTERNAL_ERROR = 1
.



IMPORTING Parameters details for RM_SSCR_PH_NODE_HELP

I_PROGNAME - Programmname

Data type: PROGNAME
Default: SY-CPROG
Optional: Yes
Call by Reference: Yes

I_DYNPRO_NUMBER - Nummer des Dynpros, auf dem Sicht und PH liegen

Data type: D020S-DNUM
Default: '1000'
Optional: Yes
Call by Reference: Yes

I_FIELDNAME_VIEW - Feldname Sicht (Parameter)

Data type: DYNFNAM
Optional: No
Call by Reference: Yes

I_FIELDNAME_PH - Feldname Portfoliohierarchie (Parameter)

Data type: DYNFNAM
Optional: No
Call by Reference: Yes

I_FIELDNAME_NODE - Feldname PH-Knoten

Data type: DYNFNAM
Optional: Yes
Call by Reference: Yes

I_DEACTIVE - X = Zugriff auf deaktiver PH erlaubt

Data type: JBRPH-NOTACTIV
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RM_SSCR_PH_NODE_HELP

E_NODE - Ausgewählter Knoten (sechsstellig)

Data type: JBRPKNOTEN
Optional: No
Call by Reference: Yes

EXCEPTIONS details

INTERNAL_ERROR - Fehler in der Verarbeitung -> siehe Systemvar.

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RM_SSCR_PH_NODE_HELP 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_e_node  TYPE JBRPKNOTEN, "   
lv_i_progname  TYPE PROGNAME, "   SY-CPROG
lv_internal_error  TYPE PROGNAME, "   
lv_i_dynpro_number  TYPE D020S-DNUM, "   '1000'
lv_i_fieldname_view  TYPE DYNFNAM, "   
lv_i_fieldname_ph  TYPE DYNFNAM, "   
lv_i_fieldname_node  TYPE DYNFNAM, "   
lv_i_deactive  TYPE JBRPH-NOTACTIV. "   

  CALL FUNCTION 'RM_SSCR_PH_NODE_HELP'  "RM: F4-Hilfe für Portfoliohierarchieknoten auf Selektionsbildschirm
    EXPORTING
         I_PROGNAME = lv_i_progname
         I_DYNPRO_NUMBER = lv_i_dynpro_number
         I_FIELDNAME_VIEW = lv_i_fieldname_view
         I_FIELDNAME_PH = lv_i_fieldname_ph
         I_FIELDNAME_NODE = lv_i_fieldname_node
         I_DEACTIVE = lv_i_deactive
    IMPORTING
         E_NODE = lv_e_node
    EXCEPTIONS
        INTERNAL_ERROR = 1
. " RM_SSCR_PH_NODE_HELP




ABAP code using 7.40 inline data declarations to call FM RM_SSCR_PH_NODE_HELP

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.

 
DATA(ld_i_progname) = SY-CPROG.
 
 
"SELECT single DNUM FROM D020S INTO @DATA(ld_i_dynpro_number).
DATA(ld_i_dynpro_number) = '1000'.
 
 
 
 
"SELECT single NOTACTIV FROM JBRPH INTO @DATA(ld_i_deactive).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!