<?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 Display ALV List in Object Oriented Method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-alv-list-in-object-oriented-method/m-p/6365241#M1401055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Guru ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have encountered an issue which i am trying to resolve &lt;/P&gt;&lt;P&gt;I am using following custom code to display lists of the entries of  &amp;lt;F_FS&amp;gt;  in &lt;STRONG&gt;ALV GRID FORMAT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For display data in &lt;STRONG&gt;ALV GRID FORMAT&lt;/STRONG&gt; i am using class cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;But the requirment is like this i have to show it in &lt;STRONG&gt;ALV LIST Display Format&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;when i searched for class cl_gui_alv_list i found that Object Type CL_GUI_ALV_LIST does not exist&lt;/P&gt;&lt;P&gt;Please show me some guide line how to achieve this ..... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : gt_cust TYPE REF TO cl_gui_custom_container. "Custom Container
  DATA : cust TYPE scrfname VALUE 'CC_OUTPUT'. "Custom controller
  DATA : gt_grid TYPE REF TO cl_gui_alv_grid. "ALV List Viewer
  FIELD-SYMBOLS : &amp;lt;f_fs&amp;gt; TYPE table. "FieldSymbol for holding fields
  DATA  : t_cat     TYPE STANDARD TABLE OF lvc_s_fcat INITIAL SIZE 0."To hold Field Catalog
  IF gt_cust IS INITIAL.
    CREATE OBJECT gt_cust
      EXPORTING
        container_name = cust.
    CREATE OBJECT gt_grid
      EXPORTING
        i_parent = gt_cust.
**--Display the data in the grid control
    CALL METHOD gt_grid-&amp;gt;set_table_for_first_display
    EXPORTING
        i_buffer_active       = 'X'
        i_bypassing_buffer    = ' '
    CHANGING
        it_outtab = &amp;lt;f_fs&amp;gt;
        it_fieldcatalog = t_cat
    EXCEPTIONS
        invalid_parameter_combination = 1
        program_error = 2
        too_many_lines = 3
    OTHERS = 4    .
    IF sy-subrc &amp;lt;&amp;gt; 0.
    ENDIF.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Dec 2009 12:45:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-02T12:45:11Z</dc:date>
    <item>
      <title>Display ALV List in Object Oriented Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-alv-list-in-object-oriented-method/m-p/6365241#M1401055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Guru ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have encountered an issue which i am trying to resolve &lt;/P&gt;&lt;P&gt;I am using following custom code to display lists of the entries of  &amp;lt;F_FS&amp;gt;  in &lt;STRONG&gt;ALV GRID FORMAT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For display data in &lt;STRONG&gt;ALV GRID FORMAT&lt;/STRONG&gt; i am using class cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;But the requirment is like this i have to show it in &lt;STRONG&gt;ALV LIST Display Format&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;when i searched for class cl_gui_alv_list i found that Object Type CL_GUI_ALV_LIST does not exist&lt;/P&gt;&lt;P&gt;Please show me some guide line how to achieve this ..... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : gt_cust TYPE REF TO cl_gui_custom_container. "Custom Container
  DATA : cust TYPE scrfname VALUE 'CC_OUTPUT'. "Custom controller
  DATA : gt_grid TYPE REF TO cl_gui_alv_grid. "ALV List Viewer
  FIELD-SYMBOLS : &amp;lt;f_fs&amp;gt; TYPE table. "FieldSymbol for holding fields
  DATA  : t_cat     TYPE STANDARD TABLE OF lvc_s_fcat INITIAL SIZE 0."To hold Field Catalog
  IF gt_cust IS INITIAL.
    CREATE OBJECT gt_cust
      EXPORTING
        container_name = cust.
    CREATE OBJECT gt_grid
      EXPORTING
        i_parent = gt_cust.
**--Display the data in the grid control
    CALL METHOD gt_grid-&amp;gt;set_table_for_first_display
    EXPORTING
        i_buffer_active       = 'X'
        i_bypassing_buffer    = ' '
    CHANGING
        it_outtab = &amp;lt;f_fs&amp;gt;
        it_fieldcatalog = t_cat
    EXCEPTIONS
        invalid_parameter_combination = 1
        program_error = 2
        too_many_lines = 3
    OTHERS = 4    .
    IF sy-subrc &amp;lt;&amp;gt; 0.
    ENDIF.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 12:45:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-alv-list-in-object-oriented-method/m-p/6365241#M1401055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T12:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Display ALV List in Object Oriented Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-alv-list-in-object-oriented-method/m-p/6365242#M1401056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No solution found&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 07:57:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-alv-list-in-object-oriented-method/m-p/6365242#M1401056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-03T07:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Display ALV List in Object Oriented Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-alv-list-in-object-oriented-method/m-p/6365243#M1401057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;RECL_SALV_TABLE,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt; CL_SALV_COLUMNS_TABLE,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt; CL_SALV_COLUMN_TABLE,&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 08:12:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-alv-list-in-object-oriented-method/m-p/6365243#M1401057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-09T08:12:29Z</dc:date>
    </item>
  </channel>
</rss>

