Skip to Content

Reading Members from Hierarchy

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 30, 2019 at 02:29 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.