Skip to Content
0
Former Member
Nov 29, 2011 at 11:59 AM

fields to be displayed row-wise in alv tree

44 Views

Hi all,

I am using 'RS_TREE_CONSTRUCT' and 'RS_TREE_LIST_DISPLAY' to display my ALV tree.

Presently it displays values one below the other in the same level.

I want the values to displayed in some single line in the same level.

lv_string = gwa_actuals-wog002.

wa_node-type = 'P'.

wa_node-name = 'Feb(Actual)'.

wa_node-tlevel = '03'.

wa_node-nlength = '20'.

wa_node-color = '1'.

wa_node-text = gwa_actuals-wog002.

wa_node-tlength ='20'.

wa_node-tcolor = 4.

append wa_node to it_node.

clear : wa_node,lv_string , gwa_actuals.

wa_node-type = 'P'.

wa_node-name = 'Feb(Aop)'.

wa_node-tlevel = '03'.

wa_node-nlength = '20'.

wa_node-color = '1'.

wa_node-text = gwa_aop-wog002.

wa_node-tlength ='20'.

wa_node-tcolor = 4.

append wa_node to it_node

Thanks