<?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 List checkbox problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982944#M704287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;did you tried what i mentioned?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Oct 2007 16:09:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-29T16:09:04Z</dc:date>
    <item>
      <title>ALV List checkbox problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982938#M704281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement in ALV list where i need to display and be able to use checkboxes in ALV List. Heres the problem im able to display the checkboxes in alv list by using an extra field in the internal table &lt;/P&gt;&lt;P&gt;DATA: check(1) type c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also in the lay out i set the parameters&lt;/P&gt;&lt;P&gt;alv_layout-box_fieldname = 'check'.&lt;/P&gt;&lt;P&gt;alv_layout-box_tabname = 'bestand'.&lt;/P&gt;&lt;P&gt;bestand is my internal table name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i check the rows in the alv list the values are not getting reflected in the internal table. Is there any thing else that i need to do .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is based on the rows i checked i should be able to save them in the database or use them in some function module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 15:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982938#M704281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T15:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List checkbox problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982939#M704282</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 have to capture the lines with flag 'X', i.e for the selected lines.&lt;/P&gt;&lt;P&gt;Then you can move to other internal table for passing to the function module etc as per your requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 15:15:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982939#M704282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T15:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List checkbox problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982940#M704283</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;do you set:     RS_SELFIELD-REFRESH = 'X'.&lt;/P&gt;&lt;P&gt;in your user-command form?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 15:15:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982940#M704283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T15:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List checkbox problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982941#M704284</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;Please check these links for how to use a checkbox in a ALV report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I display a checkbox in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=88376" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=88376&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=40968" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=40968&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=6919" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=6919&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 15:30:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982941#M704284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T15:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List checkbox problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982942#M704285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for that quick reply, But Dieter Gröhn where do i set this statement in the form user_command, should i use this statement at the starting of the form or use some condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And how do we set the flag for the only rows checked by the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 15:54:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982942#M704285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T15:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List checkbox problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982943#M704286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;But when i go into debug mode i cannot see the values of this field being set in the internal table. for all the rows they are being blank. I dont understand why the check boxes are not responding to the user inputs. Can somebody send me the proper code for using checkboxes in ALV List. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guys its a little urgent. It ll be great if you guys find something out for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 16:01:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982943#M704286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T16:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List checkbox problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982944#M704287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;did you tried what i mentioned?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 16:09:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982944#M704287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T16:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List checkbox problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982945#M704288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FORM user_command USING rf_ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;                        rs TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;rs-refresh = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Catch detail list&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF rs-tabname = '1'.&lt;/P&gt;&lt;P&gt;    rs-tabname = 'BESTAND'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Double click&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF rf_ucomm = '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;    rf_ucomm = 'BEST'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Read table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CASE rs-tabname.&lt;/P&gt;&lt;P&gt;    WHEN 'HEADER'.&lt;/P&gt;&lt;P&gt;      CLEAR bestand.&lt;/P&gt;&lt;P&gt;      READ TABLE header INDEX rs-tabindex.&lt;/P&gt;&lt;P&gt;      MOVE-CORRESPONDING header TO bestand.&lt;/P&gt;&lt;P&gt;    WHEN 'BESTAND'.&lt;/P&gt;&lt;P&gt;      READ TABLE bestand INDEX rs-tabindex."&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;  CHECK sy-subrc = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Execute command&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CASE rf_ucomm.&lt;/P&gt;&lt;P&gt;    WHEN 'BEST' OR 'HIST'.&lt;/P&gt;&lt;P&gt;      IF rs-tabname = 'BESTAND'.&lt;/P&gt;&lt;P&gt;        IF rf_ucomm = 'BEST'.&lt;/P&gt;&lt;P&gt;          CALL FUNCTION 'ME_DISPLAY_PURCHASE_DOCUMENT'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              i_ebeln      = bestand-ebeln&lt;/P&gt;&lt;P&gt;              i_enjoy      = 'X'&lt;/P&gt;&lt;P&gt;            EXCEPTIONS&lt;/P&gt;&lt;P&gt;              not_found    = 1&lt;/P&gt;&lt;P&gt;              no_authority = 2&lt;/P&gt;&lt;P&gt;              invalid_call = 3&lt;/P&gt;&lt;P&gt;              OTHERS       = 4.&lt;/P&gt;&lt;P&gt;          IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          SUBMIT rm06ehbe AND RETURN&lt;/P&gt;&lt;P&gt;            WITH s_ebeln = bestand-ebeln&lt;/P&gt;&lt;P&gt;            WITH s_ebelp = bestand-ebelp&lt;/P&gt;&lt;P&gt;            WITH lesen    = 'Y'.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        MESSAGE s131(m8).&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    WHEN 'AUTH'.&lt;/P&gt;&lt;P&gt;      CALL METHOD cl_mmim_auth=&amp;gt;display.&lt;/P&gt;&lt;P&gt;    WHEN 'DETAIL'.&lt;/P&gt;&lt;P&gt;      PERFORM detail_list.&lt;/P&gt;&lt;P&gt;    WHEN 'MMBE'.&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID 'MAT' FIELD bestand-matnr.&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID 'WRK' FIELD bestand-werks.&lt;/P&gt;&lt;P&gt;      CALL TRANSACTION 'MMBE' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;    WHEN 'POST'.&lt;/P&gt;&lt;P&gt;      PERFORM POSTING.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;  CLEAR rf_ucomm.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "user_command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put that staement in the first line of the form.&lt;/P&gt;&lt;P&gt;After i Put i dont think that made any change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 16:17:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-checkbox-problem/m-p/2982945#M704288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T16:17:50Z</dc:date>
    </item>
  </channel>
</rss>

