<?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: Problem in ALV dipslay in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-dipslay/m-p/7003391#M1495559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried as you had metioned. But doesn't work.&lt;/P&gt;&lt;P&gt;still I'm not able to get that multi slection and select all option. In fact few other buttons like 'refresh' are also not visible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jun 2010 06:31:52 GMT</pubDate>
    <dc:creator>vipulsood</dc:creator>
    <dc:date>2010-06-14T06:31:52Z</dc:date>
    <item>
      <title>Problem in ALV dipslay</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-dipslay/m-p/7003389#M1495557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to display a simple alv grid using 'set_table_for_first_display' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is that I'm not able to get the select all options or the option to select multiple rows.&lt;/P&gt;&lt;P&gt;However, if i make my 1st column as editable, then I get it perfectly fine.. I get the option to select multiple rows on left side and also the selectall on top.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i get it my not keeping any field editable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vipul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 12:09:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-dipslay/m-p/7003389#M1495557</guid>
      <dc:creator>vipulsood</dc:creator>
      <dc:date>2010-06-11T12:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in ALV dipslay</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-dipslay/m-p/7003390#M1495558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's the way it is done! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But one step missing... after:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
call method grid-&amp;gt;set_table_for_first_display(  ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL METHOD grid-&amp;gt;set_ready_for_input 
EXPORTING 
i_ready_for_input = 0.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way your grid wont be able to edit, even if your field catalog has edit = 'X'.. And you can select several rows&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 13:39:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-dipslay/m-p/7003390#M1495558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-11T13:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in ALV dipslay</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-dipslay/m-p/7003391#M1495559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried as you had metioned. But doesn't work.&lt;/P&gt;&lt;P&gt;still I'm not able to get that multi slection and select all option. In fact few other buttons like 'refresh' are also not visible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jun 2010 06:31:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-dipslay/m-p/7003391#M1495559</guid>
      <dc:creator>vipulsood</dc:creator>
      <dc:date>2010-06-14T06:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in ALV dipslay</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-dipslay/m-p/7003392#M1495560</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;You can view this example, i suppose this will solve ur problem:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZTEST_DIL4 .
TABLES ZMSTKSUM.
DATA : OK_CODE LIKE SY-UCOMM,
       TAB_DISPLAY TYPE TABLE OF ZMSTKSUM,
       C_CONTAINER TYPE SCRFNAME VALUE 'DILEEP_TEST1',
       ALV_GRID TYPE REF TO CL_GUI_ALV_GRID,
       C_CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER.

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS : S_WERKS FOR ZMSTKSUM-WERKS.
SELECTION-SCREEN END OF BLOCK B1.
SELECT * FROM ZMSTKSUM INTO TABLE TAB_DISPLAY WHERE WERKS IN S_WERKS.
CALL SCREEN 100.
*&amp;amp;---------------------------------------------------------------------
*&amp;amp;      Module  STATUS_0100  OUTPUT
*&amp;amp;---------------------------------------------------------------------
MODULE STATUS_0100 OUTPUT.
  SET PF-STATUS 'MAIN'.
*  SET TITLEBAR 'xxx'.
  IF C_CUSTOM_CONTAINER IS INITIAL.
CREATE OBJECT C_CUSTOM_CONTAINER EXPORTING CONTAINER_NAME = C_CONTAINER.
    CREATE OBJECT ALV_GRID EXPORTING I_PARENT = C_CUSTOM_CONTAINER.
    CALL METHOD ALV_GRID-&amp;gt;SET_TABLE_FOR_FIRST_DISPLAY
      EXPORTING
  I_STRUCTURE_NAME              = 'ZMSTKSUM'
      CHANGING
        IT_OUTTAB                     = TAB_DISPLAY.
    IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
  ENDIF.
ENDMODULE.                 " STATUS_0100  OUTPUT
*&amp;amp;---------------------------------------------------------------------
*&amp;amp;      Module  USER_COMMAND_0100  INPUT
*&amp;amp;---------------------------------------------------------------------
MODULE USER_COMMAND_0100 INPUT.
  CASE OK_CODE.
    WHEN 'EXIT'.
      LEAVE PROGRAM.
  ENDCASE.
ENDMODULE.                 " USER_COMMAND_0100  INPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For ur knowledge, visit these links. it helps a lot to you:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1. &lt;A href="http://www.erpgenie.com/sap/abap/controls/alvgrid.htm" target="test_blank"&gt;http://www.erpgenie.com/sap/abap/controls/alvgrid.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. &lt;A href="http://help.sap.com/saphelp_wp/helpdata/en/0a/b5533cd30911d2b467006094192fe3/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_wp/helpdata/en/0a/b5533cd30911d2b467006094192fe3/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jun 2010 10:21:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-dipslay/m-p/7003392#M1495560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-14T10:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in ALV dipslay</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-dipslay/m-p/7003393#M1495561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the IS_LAYOUT parameter of [set_table_for_first_display|http://help.sap.com/saphelp_bw/helpdata/en/0a/b5533cd30911d2b467006094192fe3/frameset.htm] did you set field SEL_MODE (and BOX_FNAME) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Check  [The Layout Structure|http://help.sap.com/saphelp_bw/helpdata/en/ef/a2e9e9f88311d2b48d006094192fe3/frameset.htm] and [Properties of the ALV Grid Control|http://help.sap.com/saphelp_bw/helpdata/en/ef/a2e9eff88311d2b48d006094192fe3/frameset.htm])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jun 2010 11:10:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-dipslay/m-p/7003393#M1495561</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-06-14T11:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in ALV dipslay</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-dipslay/m-p/7003394#M1495562</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;    ls_layout_0223-stylefname = 'CELLSTYLE'.&lt;/P&gt;&lt;P&gt;    ls_layout_0223-sel_mode   = 'A'.   &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;  to select multiple records. &lt;/P&gt;&lt;P&gt;" [ SEL_MODE  Set the selection mode (see table below). SPACE, 'A', 'B', 'C', 'D' ]&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*-&amp;gt; Calls ALV&lt;/P&gt;&lt;P&gt;    CALL METHOD gir_alvgrid_plnast_evt-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        it_toolbar_excluding          = lt_exclude_toolbar&lt;/P&gt;&lt;P&gt;        is_layout                     = ls_layout_0223   &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; pass the layout here&lt;/P&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;        it_outtab                     = gt_plnast_outtab&lt;/P&gt;&lt;P&gt;        it_fieldcatalog               = lt_fieldcat_0223&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don''t know if I got ur issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just try in case it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 12:10:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-dipslay/m-p/7003394#M1495562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-16T12:10:09Z</dc:date>
    </item>
  </channel>
</rss>

