<?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: Screen and Classes. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-and-classes/m-p/1102874#M103896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AMIT KHARE  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   CL_GUI_CONTAINER contains Abstract Container for GUI Controls. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SCREEN0 can be used for Building ALV Grid. While using this, NO CONTAINER DEFINITION IS REQUIRED ! in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Code: &lt;/P&gt;&lt;P&gt;DATA: l_alv      TYPE REF TO   cl_gui_alv_grid,&lt;/P&gt;&lt;P&gt;      lt_sflight TYPE TABLE OF sflight.&lt;/P&gt;&lt;P&gt;					&lt;/P&gt;&lt;P&gt;SELECT * FROM sflight INTO TABLE lt_sflight.&lt;/P&gt;&lt;P&gt;					&lt;/P&gt;&lt;P&gt;CREATE OBJECT l_alv EXPORTING i_parent = cl_gui_container=&amp;gt;screen0.&lt;/P&gt;&lt;P&gt;					&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD l_alv-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;     EXPORTING i_structure_name = 'SFLIGHT'&lt;/P&gt;&lt;P&gt;     CHANGING  it_outtab        = lt_sflight.&lt;/P&gt;&lt;P&gt;					&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create an EMPTY screen, put NOTHING in the layout &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL SCREEN 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Nov 2005 09:29:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-29T09:29:37Z</dc:date>
    <item>
      <title>Screen and Classes.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-and-classes/m-p/1102873#M103895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have recently started working with classes.&lt;/P&gt;&lt;P&gt;Can any let me know about cl_gui_container class and the usage of screen0 to screen9 as existing in the attributes of those class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 09:10:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-and-classes/m-p/1102873#M103895</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2005-11-29T09:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Screen and Classes.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-and-classes/m-p/1102874#M103896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AMIT KHARE  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   CL_GUI_CONTAINER contains Abstract Container for GUI Controls. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SCREEN0 can be used for Building ALV Grid. While using this, NO CONTAINER DEFINITION IS REQUIRED ! in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Code: &lt;/P&gt;&lt;P&gt;DATA: l_alv      TYPE REF TO   cl_gui_alv_grid,&lt;/P&gt;&lt;P&gt;      lt_sflight TYPE TABLE OF sflight.&lt;/P&gt;&lt;P&gt;					&lt;/P&gt;&lt;P&gt;SELECT * FROM sflight INTO TABLE lt_sflight.&lt;/P&gt;&lt;P&gt;					&lt;/P&gt;&lt;P&gt;CREATE OBJECT l_alv EXPORTING i_parent = cl_gui_container=&amp;gt;screen0.&lt;/P&gt;&lt;P&gt;					&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD l_alv-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;     EXPORTING i_structure_name = 'SFLIGHT'&lt;/P&gt;&lt;P&gt;     CHANGING  it_outtab        = lt_sflight.&lt;/P&gt;&lt;P&gt;					&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create an EMPTY screen, put NOTHING in the layout &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL SCREEN 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 09:29:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-and-classes/m-p/1102874#M103896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-29T09:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Screen and Classes.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-and-classes/m-p/1102875#M103897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Create Container to display the ALV Grid.&lt;/P&gt;&lt;P&gt;For this use,&lt;/P&gt;&lt;P&gt;Data  W_Container type scrfname value 'CONTAINER'.&lt;/P&gt;&lt;P&gt;here you have to create the CONTAINER in the layout.&lt;/P&gt;&lt;P&gt;2. Next create Custom container and pass this container.&lt;/P&gt;&lt;P&gt;This will be the place where we can display the datas&lt;/P&gt;&lt;P&gt;data W_custom_contnr type ref to cl_gui_custom_container.&lt;/P&gt;&lt;P&gt;Create object w_Custom_Contnr&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;P&gt;  Container_Name  = W_CONTAINER.&lt;/P&gt;&lt;P&gt;3. then create Grid where we chave to place the custom container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data W_Grid type ref to cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create object for this.&lt;/P&gt;&lt;P&gt;   Create Object w_Grid&lt;/P&gt;&lt;P&gt;   exporting&lt;/P&gt;&lt;P&gt;   I_Parent = w_Custom_Contnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this Grid we can display the Table values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD w_grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module you have to pass fieldcat and internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 09:29:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-and-classes/m-p/1102875#M103897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-29T09:29:54Z</dc:date>
    </item>
  </channel>
</rss>

