Thursday 9 May 2013

Sample report LIST Display code

REPORT demo_list_standard.
TABLES spfli.
SKIP.
ULINE AT /(62).
SELECT * FROM spfli WHERE connid GE 0017
AND connid LE 0400.
WRITE: / sy-vline, spfli-connid, sy-vline,
(15) spfli-cityfrom, 26 sy-vline,
31 spfli-cityto, 51 sy-vline, 62 sy-vline,
/ sy-vline, 8 sy-vline,
spfli-deptime UNDER spfli-cityfrom, 26 sy-vline,
spfli-arrtime UNDER spfli-cityto, 51 sy-vline,
spfli-fltime, 62 sy-vline.
ULINE AT /(62).
ENDSELECT.

WRITE: /10 'SAP *** SAP *** SAP *** SAP *** SAP *** SAP',
/19(43) 'Flight Information System',
/19(43) 'International Connections'.

WRITE, SKIP, and ULINE statements output fields of the table
work area SPFLI as well as horizontal and vertical lines to the list.
 

No comments:

Post a Comment