02-10-2011 12:52 PM
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
02-10-2011 1:03 PM
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.