<?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 How to convert classical report program into ALV/ Interactive report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-classical-report-program-into-alv-interactive-report/m-p/611614#M25235</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I have an requirement to convert classical report program into ALV/ interactive report i.e when click on radio button classical it should show output in Classical and then if clicked on alv button output should as ALV grid/ list . Is there anyway to write program in classical and convert into ALV/ Interactive.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Have attached my code. Please suggest and am new to SAP ABAP.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/attachments/141887-classical.txt"&gt;classical.txt&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Thanks in Advance.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 May 2018 10:09:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-05-15T10:09:03Z</dc:date>
    <item>
      <title>How to convert classical report program into ALV/ Interactive report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-classical-report-program-into-alv-interactive-report/m-p/611614#M25235</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I have an requirement to convert classical report program into ALV/ interactive report i.e when click on radio button classical it should show output in Classical and then if clicked on alv button output should as ALV grid/ list . Is there anyway to write program in classical and convert into ALV/ Interactive.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Have attached my code. Please suggest and am new to SAP ABAP.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/attachments/141887-classical.txt"&gt;classical.txt&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Thanks in Advance.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 10:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-classical-report-program-into-alv-interactive-report/m-p/611614#M25235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-05-15T10:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert classical report program into ALV/ Interactive report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-classical-report-program-into-alv-interactive-report/m-p/611615#M25236</link>
      <description>&lt;P&gt;Hi Dinesh, &lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;"when click on radio button classical it should show output in Classical and then if clicked on alv button output should as ALV grid/ list&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Create two radio buttons, for instance R_CLASSIC and R_ALV. &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;OL&gt; 
   &lt;LI&gt;Map the old program for R_CLASSIC&lt;/LI&gt; 
   &lt;LI&gt;For R_ALV, use class CL_SALV_TABLE and display the ALV. &lt;/LI&gt; 
  &lt;/OL&gt; 
  &lt;PRE&gt;&lt;CODE&gt;"Is there anyway to write program in classical and convert into ALV/ Interactive.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;To show alv, the respective class or FM should be called like below. &lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;DATA : lr_table TYPE REF TO cl_salv_table.  
cl_salv_table=&amp;gt;factory( IMPORTING r_salv_table =lr_table
                        CHANGING t_table = it_final )  .  
lr_table-&amp;gt;display( ).&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Rajkumar Narasimman&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 10:38:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-classical-report-program-into-alv-interactive-report/m-p/611615#M25236</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2018-05-15T10:38:06Z</dc:date>
    </item>
  </channel>
</rss>

