<?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 multiple line selection in ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575729#M259911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me how to do the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;#146;ve an internal table ITAB with 10 lines of records. It is having 6 columns.&lt;/P&gt;&lt;P&gt;I display this ITAB in ALV using &amp;#145;REUSE_ALV_GRID_DISPLAY&amp;#146;.&lt;/P&gt;&lt;P&gt;Now my task is user may select one or more line of records in ALV and I have to move the selected lines of records to A Flat file.&lt;/P&gt;&lt;P&gt;Can you tell me how to do this?.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Oct 2006 15:36:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-04T15:36:37Z</dc:date>
    <item>
      <title>multiple line selection in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575729#M259911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me how to do the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;#146;ve an internal table ITAB with 10 lines of records. It is having 6 columns.&lt;/P&gt;&lt;P&gt;I display this ITAB in ALV using &amp;#145;REUSE_ALV_GRID_DISPLAY&amp;#146;.&lt;/P&gt;&lt;P&gt;Now my task is user may select one or more line of records in ALV and I have to move the selected lines of records to A Flat file.&lt;/P&gt;&lt;P&gt;Can you tell me how to do this?.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 15:36:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575729#M259911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T15:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: multiple line selection in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575730#M259912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do it including a column that have a checkbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 15:47:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575730#M259912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T15:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: multiple line selection in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575731#M259913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes david but how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 16:28:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575731#M259913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T16:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: multiple line selection in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575732#M259914</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; Check Amit's post in this link&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1907483"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check teh program &amp;lt;b&amp;gt;BCALV_GRID_05&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 16:32:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575732#M259914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T16:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: multiple line selection in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575733#M259915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;In the field catalog make check_box = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suggestion is if you are displaying the ALV using the OO method, this can be easily handled. There is no need of Check box. Directly we can use the method to get the selected rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 16:36:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575733#M259915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T16:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: multiple line selection in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575734#M259916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;1. add one more field checkbox of length 1 to ur final internal tabel
 
2. in ur fieldcatalg add this line
    wa_fcat-fieldname = 'CHECKBOx'.
    wa_fcat-checkbox = 'X'.
    wa_fcat-outputlen = '1'.
    wa_fcat-col_pos = '1'.
    append wa_fcat to it_fcat.
 
3.in ur layout , add this line
   wa_layout-box_fieldname = 'CHECKBOX'.
 
 
4.In th USER_COMMAND subroutine of ur REUSE_ALV_GRID_DISpLAy FM
 
FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM
P_SELFLD TYPE SLIS_SELFIELD.
case p_ucomm.
 
 
Data ref1 type ref to cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
E_GRID = ref1.
call method ref1-&amp;gt;check_changed_data
 
when 'SAVE'.

 loop at itab where checbox = 'X'.
*    store these values in another itab
 endloop.

 use GUI_DOWNLOAD to download the entries to excel
.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 16:36:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575734#M259916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T16:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: multiple line selection in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575735#M259917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when populating the field catalog use this code for the check box at first column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR ls_fieldcat.&lt;/P&gt;&lt;P&gt;ls_fieldcat-tabname = 'I_OUT1'.&lt;/P&gt;&lt;P&gt;ls_fieldcat-fieldname = 'CHECK_BOX'.&lt;/P&gt;&lt;P&gt;ls_fieldcat-col_pos = 1.&lt;/P&gt;&lt;P&gt;ls_fieldcat-seltext_l = 'EDIT'.&lt;/P&gt;&lt;P&gt;ls_fieldcat-checkbox = 'X'.&lt;/P&gt;&lt;P&gt;ls_fieldcat-edit = 'X'.&lt;/P&gt;&lt;P&gt;APPEND ls_fieldcat TO i_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the internal table add&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF t_out,&lt;/P&gt;&lt;P&gt;check_box TYPE c,&lt;/P&gt;&lt;P&gt;end of t_out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_callback_program = g_repid&lt;/P&gt;&lt;P&gt;i_callback_pf_status_set = 'PF_STATUS_SET'&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;i_callback_user_command = 'USER_COMMAND'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;is_layout = i_layout&lt;/P&gt;&lt;P&gt;it_fieldcat = i_fieldcat&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;t_outtab = i_out2&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;program_error = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM user_command USING r_ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE R_UCOMM.&lt;/P&gt;&lt;P&gt;WHEN .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB WHERE CHECKBOX = 'X'.&lt;/P&gt;&lt;P&gt;ENDLOOP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;  David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 16:43:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575735#M259917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T16:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: multiple line selection in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575736#M259918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt; Now I did what  Chandrasekhar  and david mentioned but getting dump error 'field symbol has not been assigned'..i'm not using any field symbol then...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 19:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575736#M259918</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T19:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: multiple line selection in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575737#M259919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your fieldcat make sure that the table and field names are capitalized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should take care of your error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 19:39:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575737#M259919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T19:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: multiple line selection in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575738#M259920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I check it and in some versions you don't neet to put fieldcat part, you can comment it instead of eliminate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;  David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 20:58:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575738#M259920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T20:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: multiple line selection in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575739#M259921</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;thanks for your timely help. points are awarded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nash John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Oct 2006 02:46:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-selection-in-alv/m-p/1575739#M259921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-07T02:46:58Z</dc:date>
    </item>
  </channel>
</rss>

