bw_update_hierarchy
Modify a SAP BW/4HANA hierarchy's description or replace its entire tree, then activate it; the ID is preserved to keep queries working.
Instructions
Change a hierarchy: its description and/or its tree, then activate it. The tree is replaced as a whole, not merged — read it with bw_get_hierarchy, change it, and pass the complete new tree in the same nested form bw_create_hierarchy takes. The hierarchy keeps its id, so queries that use it keep working.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | No | The complete new tree, as in bw_create_hierarchy. Replaces every node the hierarchy has now. | |
| activate | No | Activate after saving (default true); false keeps the change as revised version. | |
| description | No | New description (up to 60 characters). | |
| characteristic | Yes | Characteristic the hierarchy belongs to. | |
| hierarchy_name | Yes | Hierarchy to change. |