TOP-OF-PAGE的用法
作者:互联网
DATA: header(30) TYPE c,
spfli_tab TYPE SORTED TABLE OF spfli
WITH UNIQUE KEY cityto carrid connid,
spfli_line TYPE spfli.
INITIALIZATION.
header = 'Demo program for report event'.
START-OF-SELECTION.
SELECT * FROM spfli
INTO CORRESPONDING FIELDS OF spfli_line.
INSERT spfli_line INTO TABLE spfli_tab.
ENDSELECT.
END-OF-SELECTION.
LOOP AT spfli_tab INTO spfli_line.
WRITE: / spfli_line-cityfrom,
spfli_line-cityto,
spfli_line-carrid,
spfli_line-connid.
ENDLOOP.
TOP-OF-PAGE.
WRITE: header.
SKIP.
标签:TOP,spfli,INTO,header,tab,line,用法,TYPE,PAGE 来源: https://www.cnblogs.com/moqi222/p/11727216.html