Skip to Content
avatar image
Former Member

ALV Coloring Part

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)
Add comment
10|10000 characters needed characters exceeded

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

  • 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.
  • Get RSS Feed

3 Answers

  • May 03 at 10:53 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • May 03 at 11:22 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • May 14 at 09:43 AM

    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

    Add comment
    10|10000 characters needed characters exceeded