<?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 Grid in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079501#M730339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deepti&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to create custom container in screen 9000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your program double clik on 9000, then you need to goto screen layout and add custom container in your screen, and give the name exactly as &amp;lt;b&amp;gt;ZDKA2_ONE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and let me if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Pavan Kothapalli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Dec 2007 17:50:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-03T17:50:28Z</dc:date>
    <item>
      <title>ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079494#M730332</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 have a program with selection screen,After the user enters the selection criteria,the output should be displayed in ALV, so after the selection-screen I am calling the PBO of the screen(9000) and fetching data,creating container,creating object and using the method "set_table_for_first_display" and passing my internal table to it.But my table is not getting displayed.i.e i am getting a blank screen 9000.I checked in debugging data is coming well and the return code for "set_table_for_first_display" is also zero.but the alv is not coming on the screen.&lt;/P&gt;&lt;P&gt;What to do...plz help..urgent.&lt;/P&gt;&lt;P&gt;THanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 17:21:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079494#M730332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T17:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079495#M730333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deepti&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you getting emply ALV without any records or noting in the screen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 17:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079495#M730333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T17:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079496#M730334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I am not getting the alv at all..its just a blank screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 17:27:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079496#M730334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T17:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079497#M730335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deepti&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It could be problem creating custom container, so please make sure below highlighted name are exactly matching your custom contanier (CAPS).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cont_for_flights   TYPE scrfname VALUE '&amp;lt;b&amp;gt;ALV1&amp;lt;/b&amp;gt;',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CREATE OBJECT custom_container&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;            container_name = &amp;lt;b&amp;gt;cont_for_flights&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;            cntl_error = 1&lt;/P&gt;&lt;P&gt;            cntl_system_error = 2&lt;/P&gt;&lt;P&gt;            create_error = 3&lt;/P&gt;&lt;P&gt;            lifetime_error = 4&lt;/P&gt;&lt;P&gt;            lifetime_dynpro_dynpro_link = 5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 17:29:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079497#M730335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T17:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079498#M730336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The name is exactly matching and value is in CAPS as well....and I checked in debug mode, the custom container is also getting created....is there anything else that needs to be taken care of ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 17:35:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079498#M730336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T17:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079499#M730337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hm..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code is working for me, even if you give diff. custom container name in debug always sy-subrc will be 0. please make sure. I had the same problem . that's why i'm mentioning same thing again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CREATE OBJECT custom_container&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;            container_name = cont_for_flights&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;            cntl_error = 1&lt;/P&gt;&lt;P&gt;            cntl_system_error = 2&lt;/P&gt;&lt;P&gt;            create_error = 3&lt;/P&gt;&lt;P&gt;            lifetime_error = 4&lt;/P&gt;&lt;P&gt;            lifetime_dynpro_dynpro_link = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;create an instance of alv control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CREATE OBJECT &amp;lt;b&amp;gt;grid1&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;           EXPORTING i_parent = custom_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL METHOD &amp;lt;b&amp;gt;grid1&amp;lt;/b&amp;gt;-&amp;gt;set_table_first_display&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_structure_name = 'VBAK'&lt;/P&gt;&lt;P&gt;        is_layout        = gs_layout&lt;/P&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;        it_outtab        = gt_outtab[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Pavan Kothapalli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 17:40:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079499#M730337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T17:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079500#M730338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate the reply from you. But this is correct in my case.Please check the below code:&lt;/P&gt;&lt;P&gt;DATA:  container1   TYPE scrfname VALUE 'ZDKA2_ONE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CREATE OBJECT custom_container1&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;            container_name = container1&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;            cntl_error = 1&lt;/P&gt;&lt;P&gt;            cntl_system_error = 2&lt;/P&gt;&lt;P&gt;            create_error = 3&lt;/P&gt;&lt;P&gt;            lifetime_error = 4&lt;/P&gt;&lt;P&gt;            lifetime_dynpro_dynpro_link = 5.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'POPUP_TO_INFORM'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;                titel = g_repid&lt;/P&gt;&lt;P&gt;                txt2  = sy-subrc&lt;/P&gt;&lt;P&gt;                txt1  = 'The control could not be created'(510).&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt; CREATE OBJECT grid1&lt;/P&gt;&lt;P&gt;           EXPORTING i_parent = custom_container1.&lt;/P&gt;&lt;P&gt;    gs_layout-grid_title = 'Material Status'(100).&lt;/P&gt;&lt;P&gt;gs_layout-sel_mode = 'A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL METHOD grid1-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;         EXPORTING i_structure_name = 'EQUI'&lt;/P&gt;&lt;P&gt;                   is_layout        = gs_layout&lt;/P&gt;&lt;P&gt;         CHANGING  it_outtab        = t_equi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a doubt, since this is not a selection screen(100), it is a screen 9000 created by me, am i supposed to add a container element on the screen,in the layout of screen 9000 ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 17:48:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079500#M730338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T17:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079501#M730339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deepti&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to create custom container in screen 9000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your program double clik on 9000, then you need to goto screen layout and add custom container in your screen, and give the name exactly as &amp;lt;b&amp;gt;ZDKA2_ONE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and let me if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Pavan Kothapalli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 17:50:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079501#M730339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T17:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079502#M730340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Pavan, I understood the problem but was giving the name incorrect.Now it has solved my problem.Thanks again.I have awarded points to u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 18:01:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079502#M730340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T18:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079503#M730341</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;In the method " SET_TABLE_FOR_FIRST_DISPLAY" there is a field IT_OUTTAB which is of type standard table. In my case I want to pass an Internal table i.e bcas I dont want all the fields of one table, I want some from one table some from other, so I created an Internal Table and want only those internal table fields to be displayed as ALV grid columns.I am not able to pass itab to IT_OUTTAB.What to do.Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 21:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079503#M730341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T21:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079504#M730342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a type in SE11 first for the fields which you want in the output and then create an internal table for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: ITAB TYPE STANDARAD TABLE OF ZTYPE_TAB.  " &amp;lt; ZTYPE_TAB is created type in SE11.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 21:55:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079504#M730342</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-12-03T21:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079505#M730343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.That was one way of doing it.But I found out how to do that using the Field Catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Deepti Kaza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 22:18:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3079505#M730343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T22:18:12Z</dc:date>
    </item>
  </channel>
</rss>

