<?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: Reg..ALV using classes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-using-classes/m-p/3315719#M794207</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;Class ALV Specification&lt;/P&gt;&lt;P&gt;Classes used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CL_GUI_ALV_GRID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of ALV using Classes&lt;/P&gt;&lt;P&gt;DATA: lcl_alv TYPE REF TO cl_gui_alv_grid,&lt;/P&gt;&lt;P&gt;      t_flights TYPE STANDARD TABLE OF FLIGHTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM flights INTO TABLE t_flights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT lcl_alv&lt;/P&gt;&lt;P&gt;    EXPORTING I_PARENT = cl_gui_container=&amp;gt;screen0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD lcl_alv-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;       I_STRUCTURE_NAME = 'FLIGHTS'&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;       IT_OUTTAB = t_flights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;Example Details&lt;/P&gt;&lt;P&gt;This is a simple example of the class ALV, we do not need to create, in this case, a field catalog because we are using the whole table of FLIGHTS and we will show all the fields that this table contains, we do this at the I_STRUCTURE_NAME = 'FLIGHTS' statement.&lt;/P&gt;&lt;P&gt;The CL_GUI_ALV_GRID constructor needs the I_PARENT parameter to define where it will be show, in the example we set the entire screen to place the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Apr 2008 08:39:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-02T08:39:12Z</dc:date>
    <item>
      <title>Reg..ALV using classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-using-classes/m-p/3315718#M794206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have displayed a ALV report with a push button 'HST'.&lt;/P&gt;&lt;P&gt;When i select a particular line(vbeln) and click on pushbutton 'HST' it has to display me a interactive report based on the condition vbeln and posnr.&lt;/P&gt;&lt;P&gt;can anyone help me with the detail code using classes..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;answers will be rewarded....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 06:37:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-using-classes/m-p/3315718#M794206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T06:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reg..ALV using classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-using-classes/m-p/3315719#M794207</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;Class ALV Specification&lt;/P&gt;&lt;P&gt;Classes used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CL_GUI_ALV_GRID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of ALV using Classes&lt;/P&gt;&lt;P&gt;DATA: lcl_alv TYPE REF TO cl_gui_alv_grid,&lt;/P&gt;&lt;P&gt;      t_flights TYPE STANDARD TABLE OF FLIGHTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM flights INTO TABLE t_flights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT lcl_alv&lt;/P&gt;&lt;P&gt;    EXPORTING I_PARENT = cl_gui_container=&amp;gt;screen0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD lcl_alv-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;       I_STRUCTURE_NAME = 'FLIGHTS'&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;       IT_OUTTAB = t_flights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;Example Details&lt;/P&gt;&lt;P&gt;This is a simple example of the class ALV, we do not need to create, in this case, a field catalog because we are using the whole table of FLIGHTS and we will show all the fields that this table contains, we do this at the I_STRUCTURE_NAME = 'FLIGHTS' statement.&lt;/P&gt;&lt;P&gt;The CL_GUI_ALV_GRID constructor needs the I_PARENT parameter to define where it will be show, in the example we set the entire screen to place the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 08:39:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-using-classes/m-p/3315719#M794207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-02T08:39:12Z</dc:date>
    </item>
  </channel>
</rss>

