Skip to Content
0
K C
Jun 30, 2010 at 09:03 AM

Change Header Data in ALV Tree

408 Views

I have a ALV Tree in which I hav the folowing requiment

Suppose I have a table

Prog          Standard                       effectivity
L                  ST1                          aaaaa
L                  ST1                          bbbbbb
L                  ST1                          vvvvvv
R                  ST1                           bbbbbb



But I hav to display it as 

-->L          ST1                                                (Header)
                                                  aaaaa
                                                  bbbbb
                                                  vvvvv
-->R         ST1                                  bbbbb          (Header)   --> as row has single value

Here ---> is the node

As u can see I hav to display first two colunms only in the header row

and next field in child but if row has one value as in case where Prog is R then all the fields are in header

Plz tll me how can I change header content

also in some case i hav to display *** in header for multiple values

I can only see in examples where Header contains Sum of numeric fields