<?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 Transform internal table in HTML format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/transform-internal-table-in-html-format/m-p/2707991#M627530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use functions WWW_ITAB_TO_HTML_HEADERS, WWW_ITAB_TO_HTML_LAYOUT, WWW_ITAB_TO_HTML to transform an internal table to HTML format. It works but i am not able to fix the size of the table columns in the display of the HTML. Help required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel Cantin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2007 15:22:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-14T15:22:03Z</dc:date>
    <item>
      <title>Transform internal table in HTML format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transform-internal-table-in-html-format/m-p/2707991#M627530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use functions WWW_ITAB_TO_HTML_HEADERS, WWW_ITAB_TO_HTML_LAYOUT, WWW_ITAB_TO_HTML to transform an internal table to HTML format. It works but i am not able to fix the size of the table columns in the display of the HTML. Help required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel Cantin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 15:22:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transform-internal-table-in-html-format/m-p/2707991#M627530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T15:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Transform internal table in HTML format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transform-internal-table-in-html-format/m-p/2707992#M627531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't you just write the html in a loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data wa like line of itab.
data html type string.

* Top part of HTML here
concatenate `&amp;lt;html&amp;gt;&amp;lt;body&amp;gt;'
'&amp;lt;table&amp;gt;' into html.

loop at itab into wa.
concatenate html `&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;` wa-field1 `&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;` wa-field2 .... '&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;` into html.
endloop.

* Bottom part of HTML here
concatenate html `&amp;lt;/table&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;` into html.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Graham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 22:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transform-internal-table-in-html-format/m-p/2707992#M627531</guid>
      <dc:creator>GrahamRobbo</dc:creator>
      <dc:date>2007-08-14T22:23:55Z</dc:date>
    </item>
  </channel>
</rss>

