SAP Function RPY_BM_HIERARCHY_READ_30 - Read Business-Navigator hierarchy

Parameter Reference Type Length Default Optional Text
LANGUAGE SYST-LANGU C 1 SY-LANGU X language
LEVELS SYST-INDEX I 4 1 X Number of hierarchy-levels to read, 0 means all
ROOT_MODEL_TYPE DF41S-MODEL_TYP C 2 'HT' X modeltyp of hierarchy
ROOT_NODE RPYBMNO30-OBJ_NO C 10 'HLA0009999' X ID of rootnode
ROOT_OBJ_TYPE DF41S-PARENT_TYP C 1 'H' X type of rootnode
VIEW DF40D-VFUNC C 1 'S' X Business-Navigator-view

Parameter Reference Type Length Text
ERROR_OCCURED RPYGSGF-ERR_EXIST C 1

Parameter Reference Length Optional Text
ERRORS RPYBMER31 250
NODETAB RPYBMHI30 165 hierarchy-table

Functionality
Used to get data from Business -Navigator hierarchies. This data is
stored in the table NODETAB.

Example
LEVELS = 1
ROOT_NODE = A010000052
ROOT_OBJ_TYPE = T
ROOT_MODEL_TYPE = PT
VIEW = P (= Process View)
LANGU = E
With this parameters you get the first hierarchy level of the Processflow view. To read the next level to a node marked with FORCE_PLUS ='X' , use field NAME of NODETAB for ROOT_NODE, the first character offield TYPE for ROOT_OBJ_TYPE and the 3rd and 4th for ROOT_MODEL_TYPE.
The default parameters produce the first level of the componente view.

Notes
If you set the parameter LEVEL on 0 you get all levels of thehierarchy. The function module is optimized for reading one level only.
INCLUDE 'RPYBM_HINT' OBJECT DOKU ID TXFurther information
INCLUDE 'RPYBM_GEN' OBJECT DOKU ID TX