Code: Alles auswählen.
DATA: ls_qinf type lvc_s_qinf,
lt_qinf type lvc_s_qinf.
* initialization
CLEAR: lt_qinf.
CLEAR: ls_qinf.
ls_qinf-type = CL_SALV_TOOLTIP=>C_TYPE_SYMBOL.
ls_qinf-excp_group = '3'. "not needed
ls_qinf-fieldname = 'ABGER'.
ls_qinf-tabname = '1'.
* billed
ls_qinf-value = sym_filled_square.
ls_qinf-text = text-q01.
APPEND ls_qinf TO pt_qinf.
* interim billed
ls_qinf-value = sym_half_filled_square.
ls_qinf-text = text-q02.
APPEND ls_qinf TO pt_qinf.
* not billed
ls_qinf-value = sym_square.
ls_qinf-text = text-q03.
APPEND ls_qinf TO pt_qinf.
* undefined
ls_qinf-value = sym_space.
ls_qinf-text = text-q04.
APPEND ls_qinf TO pt_qinf.
call method sl_grid->set_table_for_first_display
exporting
* I_BUFFER_ACTIVE =
* i_structure_name =
* IS_VARIANT =
* i_save = ' '
i_default = ' '
is_layout = layo
* IS_PRINT =
it_special_groups = sgrp
it_toolbar_excluding = excltab
it_except_qinfo = lt_qinf
changing
it_outtab = sl_services_ext
it_fieldcatalog = fcat.