<?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 Error in converting spool to HTML in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-converting-spool-to-html/m-p/6927763#M1485281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am converting Spool to HTML format and then i am sending the same as attachment in email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is when i conver the Spool to Html the lines are coming ups and downs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where the lines has to appear in HTM as box, i am not getting those boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg: box should appear as line has(_____________________)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for me it is appearing it has dotted lines has(----&lt;/P&gt;&lt;HR originaltext="------------------------" /&gt;&lt;P&gt;) and end vertical lines | is coming in next line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can get box in terms of lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Submit report to convert the spool to HTML format&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SUBMIT rspolst2 EXPORTING LIST TO MEMORY AND RETURN&lt;/P&gt;&lt;P&gt;  WITH rqident = p_spoolno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      listobject = gt_listobj&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      not_found  = 1&lt;/P&gt;&lt;P&gt;      OTHERS     = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Convert the spool to HTML format&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     template_name       = text-t01&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      html                = p_html_tab&lt;/P&gt;&lt;P&gt;      listobject          = gt_listobj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 May 2010 04:30:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-18T04:30:15Z</dc:date>
    <item>
      <title>Error in converting spool to HTML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-converting-spool-to-html/m-p/6927763#M1485281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am converting Spool to HTML format and then i am sending the same as attachment in email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is when i conver the Spool to Html the lines are coming ups and downs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where the lines has to appear in HTM as box, i am not getting those boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg: box should appear as line has(_____________________)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for me it is appearing it has dotted lines has(----&lt;/P&gt;&lt;HR originaltext="------------------------" /&gt;&lt;P&gt;) and end vertical lines | is coming in next line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can get box in terms of lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Submit report to convert the spool to HTML format&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SUBMIT rspolst2 EXPORTING LIST TO MEMORY AND RETURN&lt;/P&gt;&lt;P&gt;  WITH rqident = p_spoolno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      listobject = gt_listobj&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      not_found  = 1&lt;/P&gt;&lt;P&gt;      OTHERS     = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Convert the spool to HTML format&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     template_name       = text-t01&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      html                = p_html_tab&lt;/P&gt;&lt;P&gt;      listobject          = gt_listobj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 04:30:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-converting-spool-to-html/m-p/6927763#M1485281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-18T04:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error in converting spool to HTML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-converting-spool-to-html/m-p/6927764#M1485282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;answered myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 04:52:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-converting-spool-to-html/m-p/6927764#M1485282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-09T04:52:06Z</dc:date>
    </item>
  </channel>
</rss>

