SAP Function RS_TREE_CONSTRUCT - Construct new hierarchy or insert subtree

Parameter Reference Type Length Default Optional Text
INSERT_ID SNODE-ID N 6 '000000' X Node at which you want to insert
LOG AS4FLAG C 1 X Internal
RELATIONSHIP 0 SPACE X Relationship

Parameter Reference Length Optional Text
NODETAB SNODETEXT 1080 Structure information

Exception Text
ID_NOT_FOUND
TREE_FAILURE Unable to generate hierarchy
WRONG_RELATIONSHIP