<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: List to HTML in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-to-html/m-p/992609#M74629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. When u print a report to spool it is saved as .html.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that coz I've developed a sapscript for credit and after that, the program printed a "write" report to spool in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I got the files on spool, by another program which atached the files and send by mail, the sapscript files were saved as .pdf(there is a function to get this document) and the write report were automaticly saved as .html format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;folow an example to get this file on spool:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rqident = l_spool.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    rqident              = rqident&lt;/P&gt;&lt;P&gt;    first_line           = 1&lt;/P&gt;&lt;P&gt;    last_line            = 0&lt;/P&gt;&lt;P&gt;    desired_type         = ''&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    real_type            = v_type&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    buffer               = t_soli&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    no_such_job          = 1&lt;/P&gt;&lt;P&gt;    job_contains_no_data = 2&lt;/P&gt;&lt;P&gt;    selection_empty      = 3&lt;/P&gt;&lt;P&gt;    no_permission        = 4&lt;/P&gt;&lt;P&gt;    can_not_access       = 5&lt;/P&gt;&lt;P&gt;    read_error           = 6&lt;/P&gt;&lt;P&gt;    type_no_match        = 7&lt;/P&gt;&lt;P&gt;    OTHERS               = 8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2005 14:13:39 GMT</pubDate>
    <dc:creator>glauco</dc:creator>
    <dc:date>2005-09-16T14:13:39Z</dc:date>
    <item>
      <title>List to HTML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-to-html/m-p/992606#M74626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone have an easy solution to - within a report, downloading the report listing to a UNIX file in HTML format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 13:27:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-to-html/m-p/992606#M74626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-16T13:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: List to HTML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-to-html/m-p/992607#M74627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul &lt;/P&gt;&lt;P&gt;You can use the function &lt;/P&gt;&lt;P&gt;LIST_DOWNLOAD_HTML to download a list in HTML format.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 14:05:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-to-html/m-p/992607#M74627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-16T14:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: List to HTML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-to-html/m-p/992608#M74628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.members.tripod.com/abap4/Output_List_Manipulation.html" target="test_blank"&gt;http://www.members.tripod.com/abap4/Output_List_Manipulation.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while displaying list: go to System-&amp;gt;List-&amp;gt;Save-&amp;gt;File, here choose HTML format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: max bianchi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 14:06:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-to-html/m-p/992608#M74628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-16T14:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: List to HTML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-to-html/m-p/992609#M74629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. When u print a report to spool it is saved as .html.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that coz I've developed a sapscript for credit and after that, the program printed a "write" report to spool in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I got the files on spool, by another program which atached the files and send by mail, the sapscript files were saved as .pdf(there is a function to get this document) and the write report were automaticly saved as .html format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;folow an example to get this file on spool:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rqident = l_spool.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    rqident              = rqident&lt;/P&gt;&lt;P&gt;    first_line           = 1&lt;/P&gt;&lt;P&gt;    last_line            = 0&lt;/P&gt;&lt;P&gt;    desired_type         = ''&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    real_type            = v_type&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    buffer               = t_soli&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    no_such_job          = 1&lt;/P&gt;&lt;P&gt;    job_contains_no_data = 2&lt;/P&gt;&lt;P&gt;    selection_empty      = 3&lt;/P&gt;&lt;P&gt;    no_permission        = 4&lt;/P&gt;&lt;P&gt;    can_not_access       = 5&lt;/P&gt;&lt;P&gt;    read_error           = 6&lt;/P&gt;&lt;P&gt;    type_no_match        = 7&lt;/P&gt;&lt;P&gt;    OTHERS               = 8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 14:13:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-to-html/m-p/992609#M74629</guid>
      <dc:creator>glauco</dc:creator>
      <dc:date>2005-09-16T14:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: List to HTML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-to-html/m-p/992610#M74630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, you can write the report into spool, and get the spool number you printed.&lt;/P&gt;&lt;P&gt;After that, do like following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  
  CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
       EXPORTING
            RQIDENT              = SPOOL_NUMBER
       IMPORTING
            REAL_TYPE            = G_DOC_TYPE
       TABLES
            BUFFER               = COMPRESSED_LIST

..........
  CALL FUNCTION 'TABLE_DECOMPRESS'
       TABLES
            IN                   = COMPRESSED_LIST
            OUT                  = LISTOBJECT
..........
  CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
       TABLES
            HTML       = IT_HTML
            LISTOBJECT = LISTOBJECT
.......
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you get a HTML include the content of your report in IT_HTML. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the details you can reference to the following link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="630811"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will be helpful&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 14:16:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-to-html/m-p/992610#M74630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-16T14:16:22Z</dc:date>
    </item>
  </channel>
</rss>

