Convert SAP Spool List to HTML



REPORT ZHTMLLIST LINE-SIZE 90 NO STANDARD PAGE HEADING.

TABLES: W3HTML.

DATA BEGIN OF INT_HTML OCCURS 0.
INCLUDE STRUCTURE W3HTML.
DATA END OF INT_HTML.

SY-TITLE = 'Convert Spool List to HTML'.

WRITE:/ 'Happiness lies in the joy of achievement and the thrill of'.
WRITE:/ 'creative effort.'.

NEW-PAGE.
WRITE:/ 'It is not enough to have great qualities, we should also'.
WRITE:/ 'have the management of them'.

call function 'LIST_DOWNLOAD_HTML'Advertisement

EXPORTING
LIST_INDEX = 0
EXCEPTIONS
LIST_INDEX_INVALID = 1
DOWNLOAD_ERROR = 2
OTHERS = 3.

TOP-OF-PAGE.
WRITE:/ SY-TITLE, 'Page ', SY-PAGNO. *-- End of Program