Code: Alles auswählen.
DATA: ls_variant TYPE disvariant.
ls_variant-report = 'ZZTEST3'.
CALL METHOD grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'ZZTEST3'
* is_layout = gs_lvcslayo
is_variant = ls_variant
i_save = 'U'
CHANGING
it_outtab = gt_stxh
it_fieldcatalog = gt_fcat1.
Code: Alles auswählen.
gs_lvcslayo-cwidth_opt = 'X'.