Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALV Subtoals Color display problem


I have done changes for a standard program.

i have to display the subtotals with custom logic for 'List Dispay' and 'Hierarchi display'.

I done the subtotal calculation part and pussing one empty row with subrotals value in the final internal table.

its displaying correctly in the output. But i am getting 2 problem in the ourput.

1. In the Subtotal row color yellow i am displaying, but this color is not displaying for the Kay fields.

The color for the key fields is displaying as the item key fields.

i want same color in the entire row.for a particular record, How to get this?

2. I am appending subtotal row as a record in the final internal table, in the ALV output there is button 'List Status' with

Information button . when clicks on this button its showing the total records display in the list.

but its counting the Subtotal row as a record. i dont want to display this record in the 'List Status'

Ex : It line item have one record, it should show : 1

but it is showing : 2.

its counting the Subtotal record as a record.

Please provide the available solutions for the above problem ASAP.

Thanks in Advance.

Former Member
Not what you were looking for? View more on this topic or Ask a question