cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Members from Hierarchy

toni_lippmann20
Explorer
0 Kudos

Hi Gurus,

i want to check how many members a hierarchy node has and if this number is under a certain value then the node has to be changed to a sibling

for example:

- i have a dso with 100 rows of data

- the orgunit node 000000012 is just manned with 2 members

- then the data with orgunit 000000012 has to be changed to orgunit 000000013

Is there any way to find out with how many members the nodes are manned via abap routine or something?

thanks in advance for your help or tipps.

toni

Accepted Solutions (0)

Answers (1)

Answers (1)

DoanManhQuynh
Active Contributor
0 Kudos

you can select node from the hierarchy table of info object (/BIC/H*) and based on parentid to filter the child node. or you can use function module: RSNDI_SHIE_STRUCTURE_GET3 fill in I_S_HIESEL and I_S_SUBTREESE.