cancel
Showing results for 
Search instead for 
Did you mean: 

Color change in webdynpro abap

Former Member
0 Kudos

Hi every one

I want horizontal bar whose color changes according to condition applied.For this I had searched on sdn.For this I found value comparision UI element .To set it values for different colors I found class CL_WD_GRAPHICAL_VALUE_CMP and method of it SET_COLOR_ABOVE_THRESHOLD,SET_COLOR_BELOW_THRESHOLD andSET_COLOR_BETWEEN_THRESHOLDS,but i dont know how to use to in my application.Can anyone Pls let code for using thisclass?

Thanks and regards

Edited by: prashant sharma on Apr 3, 2009 8:13 AM

Edited by: prashant sharma on Apr 3, 2009 8:29 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member402443
Contributor
0 Kudos

Hi Prashant ,

Check the standard Component - WDR_TEST_UI_ELEMENTS in your system.

Hope this will helps you.

Regard

Manoj Kumar

Former Member
0 Kudos

hi,

Refer this doc.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b7...

With this document , you will be able to change color of particular Cell.

I hope you are refering to Cell as a Horizontal bar.

Thanx.

Former Member
0 Kudos

Hi Saurav,

I created an ALV report in which I have assigned a color to some cells using the tutorial you posted.

The problem is that when I want to sort a column, all the colors disappear.

Do you know how to keep the assignment of the colors to the cells after a sorting?

Thank your for your help.

Regards,