Skip to Content

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

Change the Background color for Results rows in WAD

Dear all,

I require to display the Different aggregation levels (Result Rows) in different colors.

Generally in BW all the aggregation values are displayed in Yellow color.

But what I require is,

If the aggregation is happening at Characteristic1 then it should be displayed in RED color.

If the aggregation is happening at Characteristic2 then it should be displayed in Green color

If the aggregation is happening at Characteristic3 then it should be displayed in blue color

I have created a Table Interface class and accessed the row number for the characteristic and changed the color but following is observation: The background color for the cell is changing for the part of cell where the cell content is not present. For the part where the text appears it is still showing in Yellow color.

I believe that I need to complete some more changes to completely reflect the color changes.

Following is the code I was using in <b>Characteristic_Cell</b> method

if i_x = 1 and I_IS_SUM = 'X' .

C_CELL_STYLE = 'SAPBEXaggItem2' .

endif.

Please suggest if I need to change any other style classes.

In the style class SAPBEXaggItem2 I have set the background color to #FF0000

Thanks and Regards,

Raj Kumar

Helpful Answer

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