在sap ecc 740里写一段三屏展示alv
以下是一段在SAP ECC 740中显示三屏幕ALV的代码:
REPORT z_alv_demo.
DATA: lt_spfli TYPE TABLE OF spfli, ls_spfli TYPE spfli.
-
Select data from database table SELECT * FROM spfli INTO TABLE lt_spfli.
-
Create first screen ALV CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_structure_name = 'SPFLI' TABLES t_outtab = lt_spfli EXCEPTIONS program_error = 1 OTHERS = 2.
-
Create second screen ALV CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_structure_name = 'SPFLI' TABLES t_outtab = lt_spfli EXCEPTIONS program_error = 1 OTHERS = 2.
-
Create third screen ALV CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_structure_name = 'SPFLI' TABLES t_outtab = lt_spfli EXCEPTIONS program_error = 1 OTHERS = 2
原文地址: http://www.cveoy.top/t/topic/fcoK 著作权归作者所有。请勿转载和采集!