cancel
Showing results for 
Search instead for 
Did you mean: 

Change the Background color for Results rows in WAD

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

If you want to send me the shot either, you can reach me at daknapp@gmx.de.

Greetings,

Daniel

Answers (3)

Answers (3)

Former Member
0 Kudos

This is resolved now

former_member184494
Active Contributor
0 Kudos

Satya,

i_x denotes first column and not characctersitic 1.

Also I am not sure if the check is to be for IS_SUM.

Use Get_Cell_info class instance and then use the data returned by the same for checking IS_SUM and then change the cellstyle.

Another thing to look out for is , the required change might be needed on DATA_CELL and notcharacteristic_cell.

Arun

Assigning points is a way of saying thank you on SDN

Former Member
0 Kudos

Hi All,

Many Thanks for all the responses.

I would like to post the screen shot of my problem to provide clarity of my requirement.

How to do this.

Thanks and Regards,

Satya Raj Kumar

former_member184494
Active Contributor
0 Kudos

Satya,

you cannot send images as part of the response in SDN.

Arun

Former Member
0 Kudos

Hi Arun,

I would like to send you a screen shot.

Would you please provide me your mail id.

Or my mail id is prince_grandhi@yahoo.com, please send me a test mail.

Thanks and Regards,

Satya Raj Kumar.

former_member184494
Active Contributor
0 Kudos

You can reach me at

arun.varadarajan@gmail.com

Former Member
0 Kudos

Hi Satya,

can you please explain what you mean with "The background color for the cell is changing for the part of cell where the cell content is not present."? Is it a wrong cell that changes the color? But there IS a color change effect in the table?

Greetings,

Daniel