Skip to Content
0
Former Member
May 07, 2007 at 12:03 PM

ALV Tree Problem

29 Views

Hi ;

i am trying to expand the tree according to tree level.

loop at itab where level = lvl.

clear snode.

snode = itab-key.

append snode to inode.

endloop.

call method tree1->expand_nodes

exporting

it_node_key = inode

exceptions

failed = 1

cntl_system_error = 2

error_in_node_key_table = 3

dp_error = 4

node_not_found = 5

others = 6.

when lvl = 1 everything is ok it expands level 1 nodes

but if lvl greater than 1 (2,3,4 ...) it gives error

<b>Runtime Errors MESSAGE_TYPE_X</b>

???

Thanks