Skip to Content
0

ALV Coloring Part

May 03 at 10:21 AM

42

avatar image
Former Member

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?

greater-than.jpg (9.7 kB)
10 |10000 characters needed characters left characters exceeded

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

0
Former Member
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.
0
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Rajkumar Narasimman May 03 at 10:53 AM
3

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


icon.png (73.4 kB)
Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

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

0
Raymond Giuseppi May 03 at 11:22 AM
1

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.

Share
10 |10000 characters needed characters left characters exceeded
Mohamed Niyas. R May 14 at 09:43 AM
0

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


icon-blue.jpg (43.6 kB)
icon-green.jpg (48.7 kB)
icon-orange.jpg (50.1 kB)
Share
10 |10000 characters needed characters left characters exceeded