Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Some accounts not existing in SETLEAF/SETNODE tables

Former Member
0 Kudos

Hi ABAP Gurus,

I am developing a program that displays the hierarchy of the account group.

I am getting the data from SETNODE/SETLEAF tables based on what account group entered by the user at the selection-screen.

My problem is that, for a certain account group the program displays all the accounts mapped to the group as found in the SETNODE/SETLEAF tables. However, in using the transaction KDH3 the same account group displays all the accounts mapped to it but some other accounts CANNOT be found in either SETNODE/SETLEAF tables. I badly need to display in the program those accounts as well.

I would just like to know why some accounts displayed through KDH3 are not stored in SETNODE/SETLEAF tables? Are those accounts inactive? If so, how do I know they are inactive?

Thank you so much for your help.

Regards,

Onyx

1 REPLY 1

kesavadas_thekkillath
Active Contributor
0 Kudos

Hi,

Picking data from these tables is a complicated job. You can execute the functions

G_SET_LIST_SELECT & G_SET_TREE_IMPORT and do it....pass SETNAME from MATCHING_SETS to the second function SETID.

The standard program of KCH3 uses K_HIERARCHY_TABLES_READ but i havent used it.