Convert SAP Spool List to HTML
*
* Convert Spool List to HTML
*
* File save should have the extension .htm or .html
*
* Use a browser to open the file.
*
* Written by : SAP Basis, ABAP Programming and Other IMG Stuff
*              http://www.erpgreat.com
*
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'
  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

Read Also
Simple Program that Create Internal Table Dynamically

ABAP Books
ABAP Certification, BAPI, Java, Web Programming, Smart Forms, Sapscripts Reference Books

More ABAP Tips

Main Index
SAP ERP Modules, Basis, ABAP and Other IMG Stuff

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.