Code: Alles auswählen.
DATA cat0 TYPE lvc_t_fcat.
DATA: BEGIN OF katalog OCCURS 0.
INCLUDE STRUCTURE lvc_s_fcat .
DATA END OF katalog.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
I_STRUCTURE_NAME = 'ZTAB'
CHANGING
CT_FIELDCAT = cat0.
loop at cat0 into katalog.
if katalog-key is initial.
katalog-edit = 'X'.
endif.
append katalog.
...
endloop.