CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'ZFIIC001'
CHANGING
ct_fieldcat = p_gt_fieldcat[].
loop at p_gt_fieldcat.
if p_gt_fieldcat-fieldname = 'MCOD1'.
p_gt_fieldcat-COLTEXT = '科目描述'.
endif.
if p_gt_fieldcat-fieldname = 'DMBTR'.
p_gt_fieldcat-do_sum = 'X'.
endif.
if p_gt_fieldcat-fieldname = 'MENGE'.
p_gt_fieldcat-do_sum = 'X'.
endif.
modify p_gt_fieldcat.
endloop.