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: 

ALV Subtotal Text

Former Member
0 Kudos

Hi,

I have a ALV list report which has sub-totals at two levels and a grand total at the end. I need to print two different Sub-total texts for the two sub-total levels.

Any suggestions on how i should achieve this?

Thanks,

2 REPLIES 2

former_member188685
Active Contributor
0 Kudos

Hi,

for subtotals you need to give sort table.

fill the sort table based on what field you want subtotals.

sort-fieldname = 'VBELN'.

sort-up = 'X'.

sort-subtot = 'X'.

appned sort to it_sort.

and for text layout-TOTALS_TEXT = 'totak text'. layout-SUBTOTALS_TEXT = 'subtotla text'.

but this is not working for GRID FM.

Regards

vijay

Former Member
0 Kudos

Hi Deb,

Follow these link u will get some idea.

<b>

Thanks

Vikranth Khimavath