Code: Alles auswählen.
DATA:
BEGIN OF gf_dfkkops,
bukrs LIKE dfkkop-bukrs,
hkont LIKE dfkkop-hkont,
vbund LIKE dfkkop-vbund,
vbund_new LIKE dfkkop-vbund,
betrh LIKE dfkkop-betrh,
betrw LIKE dfkkop-betrw,
waers LIKE dfkkop-waers,
END OF gf_dfkkops,
gt_dfkkops LIKE TABLE OF gf_dfkkops.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = ld_repid
i_internal_tabname = 'GF_DFKKOPS'
* i_structure_name = 'GF_DFKKOPS'
i_inclname = ld_repid
* I_BYPASSING_BUFFER =
* I_BUFFER_ACTIVE =
CHANGING
ct_fieldcat = gt_fieldcat.
Code: Alles auswählen.
CLEAR gf_fieldcat.
gf_fieldcat-fieldname = 'BUKRS'.
* gf_fieldcat-seltext_m = 'Status'.
APPEND gf_fieldcat TO gt_fieldcat.