<?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 ALV to HTML in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-to-html/m-p/7052058#M1502124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a report FM "resuse_ALV-List_display" is used with grouping and sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to download/display the report in HTML file instead of ALV list display.&lt;/P&gt;&lt;P&gt;I know there is an option to download ALV list to HTML after List is displayed. But I want instead of ALV list HTML should be displayed or downloaded with the same format as ALV list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jul 2010 11:12:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-28T11:12:50Z</dc:date>
    <item>
      <title>ALV to HTML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-to-html/m-p/7052058#M1502124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a report FM "resuse_ALV-List_display" is used with grouping and sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to download/display the report in HTML file instead of ALV list display.&lt;/P&gt;&lt;P&gt;I know there is an option to download ALV list to HTML after List is displayed. But I want instead of ALV list HTML should be displayed or downloaded with the same format as ALV list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 11:12:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-to-html/m-p/7052058#M1502124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-28T11:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: ALV to HTML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-to-html/m-p/7052059#M1502125</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;Once ALV is displayed use this path from menu bar system-&amp;gt;list-&amp;gt;save-&amp;gt;HTML.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 12:05:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-to-html/m-p/7052059#M1502125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-28T12:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: ALV to HTML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-to-html/m-p/7052060#M1502126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arindam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below DEMO programs provided by SAP for ALV Functionalities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_DEMO_HTML&lt;/P&gt;&lt;P&gt;BCALV_TEST_FULLSCREEN_HTML&lt;/P&gt;&lt;P&gt;BCALV_TEST_FULLSCREEN_HTMLTOP&lt;/P&gt;&lt;P&gt;BCALV_TEST_HTML_HEADER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below code for your refernce&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  y_test_export.
DATA: html TYPE TABLE OF w3html. " occurs 10 with header line.
DATA: html_wa TYPE w3html.
DATA: listobject TYPE TABLE OF abaplist. " occurs 10.
DATA: report_name TYPE syrepid.
 
report_name = 'DEMO_LIST_FORMAT_COLOR_1' .
 
SUBMIT (report_name) EXPORTING LIST TO MEMORY AND RETURN .
 
CALL FUNCTION 'LIST_FROM_MEMORY'
  TABLES
    listobject = listobject.
 
CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
  EXPORTING
    report_name = report_name
  TABLES
    html        = html
    listobject  = listobject.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 12:12:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-to-html/m-p/7052060#M1502126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-28T12:12:44Z</dc:date>
    </item>
  </channel>
</rss>

