The Function Module RSTS_HIERARCHY_TO_SET (BRST generate sets from general (sub-) hierarchies) is a standard Function Module in SAP ERP and is part of the function group RSTS within the package KCBRST.
Function Module | RSTS_HIERARCHY_TO_SET |
Short Text | BRST generate sets from general (sub-) hierarchies |
Function Group | RSTS |
Package | KCBRST |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
HCLASS | LIKE | RSTHVKEY-HCLASS | Hierarchy class (from table TRSTHC) | |
HIENM | LIKE | RSTHVKEY-HIENM | Hierarchy name | |
NODE_NAME | LIKE | RSTHIE-NAME | SPACE | Node name (for sub-hierarchy selection) |
NODE_TYPE | LIKE | RSTHIE-TYPE | SPACE | Node type (for sub-hierarchy selection) |
REQUESTER | LIKE | RSTHDIVERS-REQUESTER | SPACE | Requested by |
SELLEVEL | TYPE | ANY | SPACE | Select up to this level |
SELMODE | LIKE | RSTHDIVERS-SELMODE | SPACE | Selection mode |
WITH_TEXTS | TYPE | FLAG | SPACE | Expects I-RSTTXT to be filled |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
SET_NAME | TYPE | CSEQUENCE | Root set of the generated hierarchy |
This function module does not define any CHANGING parameters.
This function module does not define any TABLE parameters.
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
HIERARCHY_NOT_FOUND | Die Hierarchie wurde nicht gefunden |
INCONSISTENT_HIERARCHY | Fehlerhafte Hierarchie, kein Set erzeugt |
NODE_NOT_FOUND | Die Teilhierarchie wurde nicht gefunden |