Skip to Content
0
Jun 29, 2011 at 10:45 AM

Supress the Total line in an ALV

23 Views

<Modified subject line>

Hello everybody,,

I have a ALV objects with subtotals by Currency and summation by amount, I have done this ALV with i_sort internal table and field do_sum = 'AMOUNT' in fieldcatalog.

CLEAR lwa_sort. 
    lwa_sort-spos = 1.                            
    lwa_sort-fieldname =  'CURRENCY'. 
    lwa_sort-up = 'X'. 
    lwa_sort-subtot = c_flag. 
    APPEND lwa_sort TO li_sort.

<Added code tags>

Invoice Currency Amount

Example A EUR 1430.00

C EUR 1000.00

2430.00

D ZAR 13.00

E ZAR 1.00

14.00

TOTAL 2444.00

I need to know how to withdraw this Total because does not have sense.

Thanks in advance

Moderator Message: Please use meaningful subject lines & use code tags when using a code snippet

Edited by: Suhas Saha on Jun 29, 2011 4:25 PM