<?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: Object Oriented ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1563499#M254714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;     Please refer to the following link for explaination of functionality of the method set_table_for_display ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/EN/bf/3bd1369f2d280ee10000009b38f889/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/EN/bf/3bd1369f2d280ee10000009b38f889/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Sep 2006 09:00:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-21T09:00:36Z</dc:date>
    <item>
      <title>Object Oriented ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1563498#M254713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I know that without creating a screen, we can display the ALV using OOP's....with the following code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CREATE OBJECT o_alvgrid1&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;      i_parent = cl_gui_custom_container=&amp;gt;screen0.&lt;/P&gt;&lt;P&gt;  WRITE space.&lt;/P&gt;&lt;P&gt;*-- Display Report&lt;/P&gt;&lt;P&gt;  CALL METHOD o_alvgrid1-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_save                        = 'A'&lt;/P&gt;&lt;P&gt;      is_layout                     = wa_layout&lt;/P&gt;&lt;P&gt;      is_variant                    = wa_variant&lt;/P&gt;&lt;P&gt;      it_toolbar_excluding          = lt_excl_func[]&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      it_outtab                     = i_cdhistory[]&lt;/P&gt;&lt;P&gt;      it_fieldcatalog               = i_fieldcat&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      invalid_parameter_combination = 1&lt;/P&gt;&lt;P&gt;      program_error                 = 2&lt;/P&gt;&lt;P&gt;      too_many_lines                = 3&lt;/P&gt;&lt;P&gt;      OTHERS                        = 4.&lt;/P&gt;&lt;P&gt; But I want to know, how this is working internally. Without the 'WRITE' statement, display won't work. Why it is like that. What is happening inside. And why screen0 only....there are so many like screen1, screen2 ....screen9, desktop attributes in class cl_gui_custom_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain me in detail / provide any material on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 03:51:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1563498#M254713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T03:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Object Oriented ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1563499#M254714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;     Please refer to the following link for explaination of functionality of the method set_table_for_display ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/EN/bf/3bd1369f2d280ee10000009b38f889/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/EN/bf/3bd1369f2d280ee10000009b38f889/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 09:00:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1563499#M254714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T09:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Object Oriented ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1563500#M254715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Satya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot explain why the WRITE statement has this effect (indeed, I did not know that this is possible) but at least I can explain to you the function of CL_GUI_CONTAINER=&amp;gt;SCREEN...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your ALV list is displayed on a main dynpro (i.e. level 0) then you have to set: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;i_parent = CL_GUI_CONTAINER=&amp;gt;SCREEN0&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, if you want to display your ALV list in a popup (i.e. level 1) then - no surprise - you have to set:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;i_parent = CL_GUI_CONTAINER=&amp;gt;SCREEN1&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you set what screen level to use if you display your list in a popup within another popup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 09:12:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1563500#M254715</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-09-21T09:12:24Z</dc:date>
    </item>
  </channel>
</rss>

