SAP Function RPY_PROCESS_VIEW_READ_31 - Read Business Navigator Process 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 'A020000000' 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 ProcessHierarchy, either each level one by one or all levels at once.

Example
INCLUDE 'RPYBM_EXAMPLE' OBJECT DOKU ID TX
To read one hierarchy level starting from function 'Customerprocessing' in the Process Hierarchy fill the import parameters asfollows:

  • OBJECT_ID = 'A020018529' (R/3 ID for the function)

  • 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 the ProcessHierarchy. To read the next level to a node marked with FORCE_PLUS ='X' in table NODETAB, use field NAME of table NODETAB for theOBJECT_ID.
    Groups are returned in an intermediate level. E.g. for the ReferenceModel (OBJECT_ID = 'A020000000'), the function module returns twolevels, even when parameter READ_LEVEL_WISE is set to 'X'. The firstlevel contains the groups and the second the scenarios assigned to agroup.

    Notes
    To read the whole Process Hierarchy use the default parameters.
    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