Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

subcolumns in columns of report

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

Former Member
0 Kudos

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.