The ALV Grid hides inside itself possibility to use ASCII symbols. All you need to do is to mark the one of fields in field-catalog as symbol and then use constants defined in TYPE-POOL SYM in order to display one of them. The image bellow shows few of them, of course they are not that nice like the ICONS, there is also not many of them, but it's good to know that such symbols exists, although I so far I've not used them at work.

You can check the abaulable symbols on your system, but I doubt they vary between old and new releases.

 

 

Here you can find the sample program to display all that I have found on 7.50 SP2 NW system.

 

 report zab_alv_symbols.

parametersdummy as checkbox.


initialization.

data(gridnew cl_gui_alv_gridi_parent =  new cl_gui_docking_container(
                             side cl_gui_docking_container=>dock_at_left
                             extension 600
                             repid sy-repid
                             dynnr sy-dynnr ).

data(fcatvalue lvc_t_fcat(
                               fieldname 'SYMBOL' symbol abap_true )
                               fieldname 'NAME' )
                             ).

typesbegin of t_symbol,
         symbol type char01,
         name   type string,
       end of t_symbol.

data symbols type standard table of t_symbol.

symbols value #(
                  symbol sym_space              name 'SYM_SPACE             ' )
                  symbol sym_plus_box           name 'SYM_PLUS_BOX          ' )
                  symbol sym_minus_box          name 'SYM_MINUS_BOX         ' )
                  symbol sym_plus_circle        name 'SYM_PLUS_CIRCLE       ' )
                  symbol sym_minus_circle       name 'SYM_MINUS_CIRCLE      ' )
                  symbol sym_filled_square      name 'SYM_FILLED_SQUARE     ' )
                  symbol sym_half_filled_square name 'SYM_HALF_FILLED_SQUARE' )
                  symbol sym_square            name ' SYM_SQUARE            ' )
                  symbol sym_filled_circle      name 'SYM_FILLED_CIRCLE     ' )
                  symbol sym_half_filled_circle name 'SYM_HALF_FILLED_CIRCLE' )
                  symbol sym_circle             name 'SYM_CIRCLE            ' )
                  symbol sym_filled_diamond     name 'SYM_FILLED_DIAMOND    ' )
                  symbol sym_diamond            name 'SYM_DIAMOND           ' )
                  symbol sym_bold_x             name 'SYM_BOLD_X            ' )
                  symbol sym_note               name 'SYM_NOTE              ' )
                  symbol sym_document           name 'SYM_DOCUMENT          ' )
                  symbol sym_checked_document   name 'SYM_CHECKED_DOCUMENT  ' )
                  symbol sym_documents          name 'SYM_DOCUMENTS         ' )
                  symbol sym_folder             name 'SYM_FOLDER            ' )
                  symbol sym_plus_folder        name 'SYM_PLUS_FOLDER       ' )
                  symbol sym_minus_folder       name 'SYM_MINUS_FOLDER      ' )
                  symbol sym_open_folder        name 'SYM_OPEN_FOLDER       ' )
                  symbol sym_bold_minus         name 'SYM_BOLD_MINUS        ' )
                  symbol sym_bold_plus          name 'SYM_BOLD_PLUS         ' )
                  symbol sym_checkbox           name 'SYM_CHECKBOX          ' )
                  symbol sym_radiobutton        name 'SYM_RADIOBUTTON       ' )
                  symbol sym_left_triangle      name 'SYM_LEFT_TRIANGLE     ' )
                  symbol sym_right_triangle     name 'SYM_RIGHT_TRIANGLE    ' )
                  symbol sym_up_triangle        name 'SYM_UP_TRIANGLE       ' )
                  symbol sym_down_triangle      name 'SYM_DOWN_TRIANGLE     ' )
                  symbol sym_left_hand          name 'SYM_LEFT_HAND         ' )
                  symbol sym_left_arrow         name 'SYM_LEFT_ARROW        ' )
                  symbol sym_right_arrow        name 'SYM_RIGHT_ARROW       ' )
                  symbol sym_up_arrow           name 'SYM_UP_ARROW          ' )
                  symbol sym_down_arrow         name 'SYM_DOWN_ARROW        ' )
                  symbol sym_check_mark         name 'SYM_CHECK_MARK        ' )
                  symbol sym_pencil             name 'SYM_PENCIL            ' )
                  symbol sym_glasses            name 'SYM_GLASSES           ' )
                  symbol sym_locked             name 'SYM_LOCKED            ' )
                  symbol sym_unlocked           name 'SYM_UNLOCKED          ' )
                  symbol sym_phone              name 'SYM_PHONE             ' )
                  symbol sym_printer            name 'SYM_PRINTER           ' )
                  symbol sym_fax                name 'SYM_FAX               ' )
                  symbol sym_asterisk           name 'SYM_ASTERISK          ' )
                  symbol sym_right_hand         name 'SYM_RIGHT_HAND        ' )
                  symbol sym_sorted_up          name 'SYM_SORTED_UP         ' )
                  symbol sym_sorted_down        name 'SYM_SORTED_DOWN       ' )
                  symbol sym_cumulated          name 'SYM_CUMULATED         ' )
                  symbol sym_delete             name 'SYM_DELETE            ' )
                  symbol sym_executable         name 'SYM_EXECUTABLE        ' )
                  symbol sym_workflow_item      name 'SYM_WORKFLOW_ITEM     ' )
                  symbol sym_caution            name 'SYM_CAUTION           ' )
                  symbol sym_flash              name 'SYM_FLASH             ' )
                  symbol sym_large_square       name 'SYM_LARGE_SQUARE      ' )
                  symbol sym_ellipsis           name 'SYM_ELLIPSIS          ' ).


grid->set_table_for_first_display(
  changing
    it_fieldcatalog               fcat
    it_outtab                     symbols
  exceptions
    others                        ).
  

Cheers


Eclipse Plugins for ABAP

ABAP Favorites

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

ABAP ADT Extensions

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

ABAP Quick Fixes

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client