Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Coloring Part

former_member515329
Participant
0 Kudos

Hi All,

Can anyone let me know if Orange color greater than symbol exists in <ICON> for ALV grid display.

In above screen - it is having RED color for greater than or less than - for this i am using SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L0S33 { color: #4DA619; }

'@2D@' and SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L0S33 { color: #4DA619; }

'@2C@'

But i am unable to find the Greater than symbol in Orange color - is it possible externally?

1 ACCEPTED SOLUTION

rajkumarnarasimman
Active Contributor

Hi Ravi,

We don't have icon for Greater or lesser in Orange color, please find the list of icons in table ICON and use the same in the program.


Regards

Rajkumar Narasimman

7 REPLIES 7

rajkumarnarasimman
Active Contributor
0 Kudos

Please share the respective code written in the program with respect to column color

former_member515329
Participant
0 Kudos

SPAN {
font-family: "Courier New";
font-size: 10pt;
color: #000000;
background: #FFFFFF;
}
.L0S33 {
color: #4DA619;
}
.L0S52 {
color: #0000FF;
}
.L0S55 {
color: #800080;
}
.L0S70 {
color: #808080;
}

  IF alv_tab-rec_wzeit = alv_tab-rec_wzeit_cor.

    alv_tab-rec_wzeit_icon = '@20@'.

  ELSEIF alv_tab-rec_wzeit < alv_tab-rec_wzeit_cor.

    alv_tab-rec_wzeit_icon = '@2D@'.

  ELSEIF alv_tab-rec_wzeit > alv_tab-rec_wzeit_cor.

    alv_tab-rec_wzeit_icon = '@2C@'.

  ENDIF.

rajkumarnarasimman
Active Contributor

Hi Ravi,

We don't have icon for Greater or lesser in Orange color, please find the list of icons in table ICON and use the same in the program.


Regards

Rajkumar Narasimman

0 Kudos

Yes..Even i checked in the same Table - but couldn't find the Orange greater than symbol - but is it possible to bring externally?

0 Kudos

Only the icons available in ICON table can be used. External icons can't be added.

raymond_giuseppi
Active Contributor

As aready written, there are no such icon in ICON table (NB: There is a ICON transaction to browse it) But you could consider using some single character text, use value such as '>' or '<' and set a colour on the cell/row.

Former Member
0 Kudos

Hi Ravi,

When I tried in T-Code: SE16n, I am able to find these three colors (like: blue, green and orange)

Screen-shots attached along with their Quick Text as below:

(Note: Only Standard Icons can be used, it can neither be changed or modified)

Orange Color implies: "Do not select: Greater than".

Hope this cleared your doubt.

Thanks & Regards

Niyas