<?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: checkbox in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058817#M970200</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;Go as follows..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;  w_checkbox type c.&lt;/P&gt;&lt;P&gt;  w_currline  type i.&lt;/P&gt;&lt;P&gt;    write:&lt;/P&gt;&lt;P&gt;      /2 w_checkbox as checkbox,    " Displays the check box.&lt;/P&gt;&lt;P&gt;   read line w_currline field value&lt;/P&gt;&lt;P&gt;      w_checkbox   into w_checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below code if not clear...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*"Table declarations...................................................
tables:
  spfli,                               " Flight schedule
  sflight.                             " Flight details

*"Selection screen elements............................................
selection-screen begin of block blck1 with frame title text-001.
select-options
  s_carrid for spfli-carrid.           " Airline carrier id
selection-screen end of block blck1.


*" Field string declarations...........................................
*"--------------------------------------------------------------------*
* Field string declaration to hold flight schedule details from table *
* SPFLI.                                                              *
*"--------------------------------------------------------------------*
data:
  begin of fs_spfli,
    carrid     type spfli-carrid,      " Airline code
    connid     type spfli-connid,      " Flight connection number
    cityfrom   type spfli-cityfrom,    " Departure city
    cityto     type spfli-cityto,      " Arrival city
  end of fs_spfli.

*"--------------------------------------------------------------------*
* Field string declaration to hold selected carrid and connid details *
*"--------------------------------------------------------------------*
data:
  begin of fs_flight,
    carrid type spfli-carrid,
    connid type spfli-connid,
  end of fs_flight.

*"--------------------------------------------------------------------*
* Field string declaration to hold basic list table records           *
* line numbers from output list                                       *
*"--------------------------------------------------------------------*
data:
  begin of fs_lnum,
    lnumber    type i,                 " Line number
  end of fs_lnum.

*" Data declarations...................................................
*"--------------------------------------------------------------------*
* Work variables                                                      *
*"--------------------------------------------------------------------*
data:
  w_checkbox  type c.                  " Checkbox

*"--------------------------------------------------------------------*
* Internal table to hold flight schedules data                        *
*"--------------------------------------------------------------------*
data
  t_spfli like
 standard table
       of fs_spfli.

*"--------------------------------------------------------------------*
* Internal table declaration to hold selected carrid &amp;amp; connid details *
*"--------------------------------------------------------------------*
data:
  t_flight like
  standard table
        of fs_flight.

*"--------------------------------------------------------------------*
* Internal table to hold basic list output line numbers               *
*"--------------------------------------------------------------------*
data:
  t_lnum like
standard table
      of fs_lnum.

*"--------------------------------------------------------------------*
*                 START-OF-SELECTION EVENT                            *
*"--------------------------------------------------------------------*
start-of-selection.
  perform get_spfli_data.

*"--------------------------------------------------------------------*
*                       END-OF-SELECTION EVENT                        *
*"--------------------------------------------------------------------*
end-of-selection.
  set pf-status 'FLIGHT'.
  perform display_spfli_data.


*"--------------------------------------------------------------------*
*                       AT USER-COMMAND EVENT                         *
*"--------------------------------------------------------------------*
at user-command.
  case sy-ucomm.

    when 'FDETIALS'.
      perform send_flight_ids.
  endcase.                             " CASE SY-UCOMM

*&amp;amp;--------------------------------------------------------------------*
*&amp;amp;      Form  GET_SPFLI_DATA
*&amp;amp;--------------------------------------------------------------------*
*This subroutine retrieves specified records from SPFLI Table
*---------------------------------------------------------------------*
*  No interface parameters
*---------------------------------------------------------------------*
form get_spfli_data .

  select carrid                        " Airline Code
         connid                        " Flight Connection Number
         cityfrom                      " Departure City
         cityto                        " Arrival City
    into table t_spfli
    from spfli
   where carrid in s_carrid.

endform.                               " GET_SPFLI_DATA

*&amp;amp;--------------------------------------------------------------------*
*&amp;amp;      Form  DISPLAY_SPFLI_DATA
*&amp;amp;--------------------------------------------------------------------*
* This subroutine displays t_spfli internal table records
*---------------------------------------------------------------------*
*  No interface parameters
*---------------------------------------------------------------------*
form display_spfli_data .

  loop at t_spfli into fs_spfli.

    at first.
      skip.
      write:
        /10 'CARRIER ID'(002),
         30 'CONNECTION ID'(003),
         50 'CITY FROM'(004),
         70 'CITY TO'(005).

      write:
        /8 sy-uline+0(75).
    endat.

    write:
      /02 w_checkbox as checkbox,
       10 fs_spfli-carrid,
       30 fs_spfli-connid,
       50 fs_spfli-cityfrom,
       70 fs_spfli-cityto.

    clear fs_lnum.
    fs_lnum-lnumber = sy-linno.
    append fs_lnum to t_lnum.

  endloop.                             " LOOP AT T_SPFLI

endform.                               " DISPLAY_SPFLI_DATA

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  send_flight_Ids
*&amp;amp;---------------------------------------------------------------------*
* This subroutine sends the selected spfli carrid and connid values
*----------------------------------------------------------------------*
*  No interface parameters
*----------------------------------------------------------------------*
form send_flight_ids .

  data:
    lw_currline type i,                " Current Line Counter
    lw_lines    type i.                " Total Lines

  describe table t_spfli lines lw_lines.

  do lw_lines times.

    clear:
      fs_lnum,
      fs_spfli.

    clear fs_spfli.

    read table t_lnum into fs_lnum index sy-index.
    lw_currline = fs_lnum-lnumber.

    read line lw_currline field value
      w_checkbox   into w_checkbox
      fs_spfli-carrid into fs_spfli-carrid
      fs_spfli-connid into fs_spfli-connid.

    if sy-subrc eq 0.
      if w_checkbox eq 'X'.
        fs_flight-carrid = fs_spfli-carrid.
        fs_flight-connid = fs_spfli-connid.
        append fs_flight to t_flight.
      endif.                           " IF W_CHECKBOX EQ 'X'
    endif.                             " IF SY-SUBRC EQ 0

  enddo.                               " DO LW_LINES TIMES

endform.                               " send_flight_Ids

*---------------------------------------------------------------------*
*                        End Of Program                               *
*---------------------------------------------------------------------*
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would solve your issue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Narin Nandivada.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2008 05:25:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-10T05:25:40Z</dc:date>
    <item>
      <title>checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058811#M970194</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;Can anybody send me  a sample code for adding checkbox in classical report? i also want to read back which all checkboxes are checked ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nishant Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:13:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058811#M970194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T05:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058812#M970195</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;its like parameters: p_field like check box, ...&lt;/P&gt;&lt;P&gt;PARAMETERS show_all AS CHECKBOX USER-COMMAND flag. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and goon with at user command functionality.....hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:18:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058812#M970195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T05:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058813#M970196</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;PARAMETERS p_field AS CHECKBOX USER-COMMAND flag. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this should help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058813#M970196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T05:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058814#M970197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nishant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Check this following link which have the program on handling checkboxes in a report:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;A href="http://abapreports.blogspot.com/2008/06/handling-check-box-in-alv-report-in-sap.html" target="test_blank"&gt;http://abapreports.blogspot.com/2008/06/handling-check-box-in-alv-report-in-sap.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:21:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058814#M970197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T05:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058815#M970198</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;&lt;/P&gt;&lt;P&gt;parameters : a type c as checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if a = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; write:/ 'Checked'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; write:/ 'Unchecked'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just a sample code...hope it helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;madan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:22:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058815#M970198</guid>
      <dc:creator>madan_ullasa</dc:creator>
      <dc:date>2008-07-10T05:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058816#M970199</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;&lt;/P&gt;&lt;P&gt;data : ch1 type c value 'X'.&lt;/P&gt;&lt;P&gt;write  : ch1 as checkbox,'abcd' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In output you will be getting the check box default selected...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to get the secoundary list based on the check box value you need to use ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line selection ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if CH1 = X.&lt;/P&gt;&lt;P&gt;then do some operation......&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward Points if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Raghunath.S&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;9986076729&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058816#M970199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T05:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058817#M970200</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;Go as follows..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;  w_checkbox type c.&lt;/P&gt;&lt;P&gt;  w_currline  type i.&lt;/P&gt;&lt;P&gt;    write:&lt;/P&gt;&lt;P&gt;      /2 w_checkbox as checkbox,    " Displays the check box.&lt;/P&gt;&lt;P&gt;   read line w_currline field value&lt;/P&gt;&lt;P&gt;      w_checkbox   into w_checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below code if not clear...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*"Table declarations...................................................
tables:
  spfli,                               " Flight schedule
  sflight.                             " Flight details

*"Selection screen elements............................................
selection-screen begin of block blck1 with frame title text-001.
select-options
  s_carrid for spfli-carrid.           " Airline carrier id
selection-screen end of block blck1.


*" Field string declarations...........................................
*"--------------------------------------------------------------------*
* Field string declaration to hold flight schedule details from table *
* SPFLI.                                                              *
*"--------------------------------------------------------------------*
data:
  begin of fs_spfli,
    carrid     type spfli-carrid,      " Airline code
    connid     type spfli-connid,      " Flight connection number
    cityfrom   type spfli-cityfrom,    " Departure city
    cityto     type spfli-cityto,      " Arrival city
  end of fs_spfli.

*"--------------------------------------------------------------------*
* Field string declaration to hold selected carrid and connid details *
*"--------------------------------------------------------------------*
data:
  begin of fs_flight,
    carrid type spfli-carrid,
    connid type spfli-connid,
  end of fs_flight.

*"--------------------------------------------------------------------*
* Field string declaration to hold basic list table records           *
* line numbers from output list                                       *
*"--------------------------------------------------------------------*
data:
  begin of fs_lnum,
    lnumber    type i,                 " Line number
  end of fs_lnum.

*" Data declarations...................................................
*"--------------------------------------------------------------------*
* Work variables                                                      *
*"--------------------------------------------------------------------*
data:
  w_checkbox  type c.                  " Checkbox

*"--------------------------------------------------------------------*
* Internal table to hold flight schedules data                        *
*"--------------------------------------------------------------------*
data
  t_spfli like
 standard table
       of fs_spfli.

*"--------------------------------------------------------------------*
* Internal table declaration to hold selected carrid &amp;amp; connid details *
*"--------------------------------------------------------------------*
data:
  t_flight like
  standard table
        of fs_flight.

*"--------------------------------------------------------------------*
* Internal table to hold basic list output line numbers               *
*"--------------------------------------------------------------------*
data:
  t_lnum like
standard table
      of fs_lnum.

*"--------------------------------------------------------------------*
*                 START-OF-SELECTION EVENT                            *
*"--------------------------------------------------------------------*
start-of-selection.
  perform get_spfli_data.

*"--------------------------------------------------------------------*
*                       END-OF-SELECTION EVENT                        *
*"--------------------------------------------------------------------*
end-of-selection.
  set pf-status 'FLIGHT'.
  perform display_spfli_data.


*"--------------------------------------------------------------------*
*                       AT USER-COMMAND EVENT                         *
*"--------------------------------------------------------------------*
at user-command.
  case sy-ucomm.

    when 'FDETIALS'.
      perform send_flight_ids.
  endcase.                             " CASE SY-UCOMM

*&amp;amp;--------------------------------------------------------------------*
*&amp;amp;      Form  GET_SPFLI_DATA
*&amp;amp;--------------------------------------------------------------------*
*This subroutine retrieves specified records from SPFLI Table
*---------------------------------------------------------------------*
*  No interface parameters
*---------------------------------------------------------------------*
form get_spfli_data .

  select carrid                        " Airline Code
         connid                        " Flight Connection Number
         cityfrom                      " Departure City
         cityto                        " Arrival City
    into table t_spfli
    from spfli
   where carrid in s_carrid.

endform.                               " GET_SPFLI_DATA

*&amp;amp;--------------------------------------------------------------------*
*&amp;amp;      Form  DISPLAY_SPFLI_DATA
*&amp;amp;--------------------------------------------------------------------*
* This subroutine displays t_spfli internal table records
*---------------------------------------------------------------------*
*  No interface parameters
*---------------------------------------------------------------------*
form display_spfli_data .

  loop at t_spfli into fs_spfli.

    at first.
      skip.
      write:
        /10 'CARRIER ID'(002),
         30 'CONNECTION ID'(003),
         50 'CITY FROM'(004),
         70 'CITY TO'(005).

      write:
        /8 sy-uline+0(75).
    endat.

    write:
      /02 w_checkbox as checkbox,
       10 fs_spfli-carrid,
       30 fs_spfli-connid,
       50 fs_spfli-cityfrom,
       70 fs_spfli-cityto.

    clear fs_lnum.
    fs_lnum-lnumber = sy-linno.
    append fs_lnum to t_lnum.

  endloop.                             " LOOP AT T_SPFLI

endform.                               " DISPLAY_SPFLI_DATA

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  send_flight_Ids
*&amp;amp;---------------------------------------------------------------------*
* This subroutine sends the selected spfli carrid and connid values
*----------------------------------------------------------------------*
*  No interface parameters
*----------------------------------------------------------------------*
form send_flight_ids .

  data:
    lw_currline type i,                " Current Line Counter
    lw_lines    type i.                " Total Lines

  describe table t_spfli lines lw_lines.

  do lw_lines times.

    clear:
      fs_lnum,
      fs_spfli.

    clear fs_spfli.

    read table t_lnum into fs_lnum index sy-index.
    lw_currline = fs_lnum-lnumber.

    read line lw_currline field value
      w_checkbox   into w_checkbox
      fs_spfli-carrid into fs_spfli-carrid
      fs_spfli-connid into fs_spfli-connid.

    if sy-subrc eq 0.
      if w_checkbox eq 'X'.
        fs_flight-carrid = fs_spfli-carrid.
        fs_flight-connid = fs_spfli-connid.
        append fs_flight to t_flight.
      endif.                           " IF W_CHECKBOX EQ 'X'
    endif.                             " IF SY-SUBRC EQ 0

  enddo.                               " DO LW_LINES TIMES

endform.                               " send_flight_Ids

*---------------------------------------------------------------------*
*                        End Of Program                               *
*---------------------------------------------------------------------*
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would solve your issue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Narin Nandivada.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:25:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058817#M970200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T05:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058818#M970201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx for ur reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my problem is that i have one field in my internal table as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check(1),&lt;/P&gt;&lt;P&gt;matnr,&lt;/P&gt;&lt;P&gt;matkl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the report i want as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X   matnr  matkl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    matnr  matkl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    matnr  matkl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then user can check and uncheck and i need to get all the record for which my checkbox is checked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X denotes checkbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058818#M970201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T05:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058819#M970202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;Take that checkbox field as char(1), as it stores only 1 char value either 'X' or ' '.&lt;/P&gt;&lt;P&gt;then loop at the internal table, and read the records based on the checkbox value.&lt;/P&gt;&lt;P&gt;loop at itab into wa where checkboxname = 'X'.&lt;/P&gt;&lt;P&gt;read record....&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:41:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058819#M970202</guid>
      <dc:creator>former_member654348</dc:creator>
      <dc:date>2008-07-10T05:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058820#M970203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u need to use Cl_gui_alv_grid for that and create a method where in u can select all the check box fileds with data_changed-&amp;gt;mt_mod_cells and loop it to check the number of fields checked and use them for fuether process&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:44:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/4058820#M970203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T05:44:04Z</dc:date>
    </item>
  </channel>
</rss>

