<?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: alv in module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-in-module-pool/m-p/3608782#M869265</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;try in this way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a screen with Custom container...call that screen in ur program....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;find some classes which is useful  for display alv grid list ...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;cl_gui_alv_grid&lt;/STRONG&gt;,&lt;STRONG&gt;&lt;U&gt;cl&lt;/U&gt;gui_custom_container&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;methods: set_table_for_first_display&lt;/STRONG&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is for simple list.....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data &amp;lt;name of reference variable&amp;gt; type ref to cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: grid TYPE REF TO cl_gui_alv_grid, g_custom_container TYPE REF TO cl_gui_custom_container ,&lt;/P&gt;&lt;P&gt;gt_sflight TYPE TABLE OF sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM sflight INTO TABLE gt_sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO module of the screen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF g_custom_container IS INITIAL.&lt;/P&gt;&lt;P&gt; CREATE OBJECT g_custom_container &lt;/P&gt;&lt;P&gt;EXPORTING CONTAINER_NAME = 'CCCONTAINER'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT GRID1&lt;/P&gt;&lt;P&gt; EXPORTING I_PARENT = g_custom_container. &lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PAI module of the screen,&lt;/P&gt;&lt;P&gt;CALL METHOD grid-&amp;gt;set_table_for_first_display EXPORTING I_STRUCTURE_NAME = 'SFLIGHT' &lt;/P&gt;&lt;P&gt;CHANGING IT_OUTTAB = gt_sflight.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Mar 2008 10:33:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-20T10:33:35Z</dc:date>
    <item>
      <title>alv in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-in-module-pool/m-p/3608780#M869263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello experts,&lt;/P&gt;&lt;P&gt;in a module pool programming on the 3rd screen i need to display a list in alv format.&lt;/P&gt;&lt;P&gt;i have populated the alv table and fieldcatalog but cant understand how to call a screen and display the list.&lt;/P&gt;&lt;P&gt;do i need to use some abap classes instead of reuse_alv_grid_display?&lt;/P&gt;&lt;P&gt;if i o need then what will be the flow of codes?&lt;/P&gt;&lt;P&gt;please help...........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 07:41:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-in-module-pool/m-p/3608780#M869263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T07:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: alv in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-in-module-pool/m-p/3608781#M869264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Agnihotro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PAI of  2'nd screen you have to call the 3'rd screen.&lt;/P&gt;&lt;P&gt;before the call statement create object ....for grid and container, set layout and fields cat and then display grid, after this CALL SCREEN 3'rd screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 10:24:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-in-module-pool/m-p/3608781#M869264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T10:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: alv in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-in-module-pool/m-p/3608782#M869265</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;try in this way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a screen with Custom container...call that screen in ur program....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;find some classes which is useful  for display alv grid list ...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;cl_gui_alv_grid&lt;/STRONG&gt;,&lt;STRONG&gt;&lt;U&gt;cl&lt;/U&gt;gui_custom_container&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;methods: set_table_for_first_display&lt;/STRONG&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is for simple list.....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data &amp;lt;name of reference variable&amp;gt; type ref to cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: grid TYPE REF TO cl_gui_alv_grid, g_custom_container TYPE REF TO cl_gui_custom_container ,&lt;/P&gt;&lt;P&gt;gt_sflight TYPE TABLE OF sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM sflight INTO TABLE gt_sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO module of the screen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF g_custom_container IS INITIAL.&lt;/P&gt;&lt;P&gt; CREATE OBJECT g_custom_container &lt;/P&gt;&lt;P&gt;EXPORTING CONTAINER_NAME = 'CCCONTAINER'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT GRID1&lt;/P&gt;&lt;P&gt; EXPORTING I_PARENT = g_custom_container. &lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PAI module of the screen,&lt;/P&gt;&lt;P&gt;CALL METHOD grid-&amp;gt;set_table_for_first_display EXPORTING I_STRUCTURE_NAME = 'SFLIGHT' &lt;/P&gt;&lt;P&gt;CHANGING IT_OUTTAB = gt_sflight.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 10:33:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-in-module-pool/m-p/3608782#M869265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T10:33:35Z</dc:date>
    </item>
  </channel>
</rss>

