on 11-07-2022 10:58 AM
Dear all,
I can get a list of descendants of a given BW hierarchy node using CL_RSR_HIERARCHY~DESCENDANTS_GET method.
Now I need an equivalent of this method in the form of HANA Table Function or Calculation View, to use it in AMDP method.
Are there any standard Table Functions / Calculation Views serving this purpose?
Thank you,
Val
Please have a look to following example:
https://help.sap.com/docs/SAP_HANA_PLATFORM/4f9859d273254e04af6ab3e9ea3af286/77c7e749318c4f408bfe691...
SELECT
hierarchy_rank,
hierarchy_level,
node_id,
hierarchy_distance
FROM HIERARCHY_DESCENDANTS (
SOURCE h_demo
START WHERE node_id = 'A1'
DISTANCE FROM 1 TO 2 )
ORDER BY
hierarchy_rank;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This looks very much like what I actually need.
Will be back shortly with more details ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.