SAP Function RPY_COMPONENT_VIEW_READ_31 - Read Business Navigator Component View Hierarchy

Parameter Reference Type Length Default Optional Text
LANGUAGE SYST-LANGU C 1 SY-LANGU X Language to read
OBJECT_ID RPYBM4031-MODEL_ID C 10 'HLA0009999' X Root node
READ_LEVEL_WISE RPYBMGF-FLAG C 1 SPACE X When SPACE, all levels are read

Parameter Reference Type Length Text
ERROR_OCCURED RPYGSGF-ERR_EXIST C 1 Error occured, error table has entries

Parameter Reference Length Optional Text
ERRORS RPYBMER31 250 Errors
NODETAB RPYBMHI30 165 Hierarchy table

Functionality
With this remote callable function module you can read the ApplicationComponent Hierarchy, either each level one by one or all levels atonce.

Example
INCLUDE 'RPYBM_EXAMPLE' OBJECT DOKU ID TX
To read one hierarchy level starting from Application Component node'Financial Accounting' fill the import parameters as follows:

  • OBJECT_ID = 'HLA0009200' (R/3 ID for the Application Component)

  • READ_LEVEL_WISE = 'X'

  • Using the default parameter for OBJECT_ID and setting the parameterREAD_LEVEL_WISE = 'X', you get the first hierarchy level of theApplication Component Hierarchy. To read the next level to a nodemarked with FORCE_PLUS = 'X' in table NODETAB, use field NAME of tableNODETAB for the OBJECT_ID.

    Notes
    To read the whole Application Component Hierarchy use the defaultparameters.
    The function module is optimized for reading one level only.
    INCLUDE 'RPYBM_HINT' OBJECT DOKU ID TX

    Further information
    INCLUDE 'RPYBM_GEN' OBJECT DOKU ID TX