04-22-2006 6:03 AM
Hi,
I need to create subcolumns in columns of ALV i.e
TOTAL |
TNM | FPC |
UNDER TOTAL COLUMN I NEED TWO COLUMNS i.e.TNM PROJECTS AND FPC PROJECTS.HOW CAN I ACHIEVE THAT?
Ravi
replied :
<b>"Its definitely not possible in ALV List, ALV grid.
I don't think its possible in alv.
YOu have to go for mormal reports using write statements"</b>
BR, Jacek
replied me
<b>"Try to use Hierarchical_alv"</b>
But I dont know how to use hierarchical_alv.So please give suggestions for alternatives and examples.
Regards and Thanks in advance,
Ganga
04-22-2006 6:49 AM
Hi,
Look at this report
http://www.geocities.com/mpioud/Z_ALV_HIERSEQ_LIST.html
it gives the example of Hierarchical ALV Lists.
Please feel free to ask further question
regards
Manoj
04-22-2006 7:03 AM
Hi Hiremath,
Doing it the conventional way of using write statement would be very time consuming.
If you decide to use Hierarchical ALV, there are ways of doing it.
If you decide to it OO way, refer to class CL_SALV_HIERSEQ_TABLE.
If u decide simple function module, use
'REUSE_ALV_HIERSEQ_LIST_DISPLAY'.
You can refer to the following link for sample code:
http://www.sap-img.com/abap/how-to-use-alv-for-hierarchical-lists.htm
I hope that answers the question.
Regards,
Tanveer.
Please reward points if found helpful.