<?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: checkboxes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkboxes/m-p/3515066#M845422</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;Try this to get all checked records in to intarnal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      DESCRIBE TABLE gt_zitab LINES lv_cnt.&lt;/P&gt;&lt;P&gt;      DO lv_cnt TIMES.&lt;/P&gt;&lt;P&gt;        lv_index = sy-index + 4. // your index will depend on heading no of lines&lt;/P&gt;&lt;P&gt;        READ LINE lv_index FIELD VALUE chbox.&lt;/P&gt;&lt;P&gt;        IF chbox = 'X'.&lt;/P&gt;&lt;P&gt;          READ TABLE gt_zitab INTO gs_zitab INDEX sy-index.&lt;/P&gt;&lt;P&gt;          IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;            gs_zitab-index = sy-index.&lt;/P&gt;&lt;P&gt;            APPEND gs_zitab TO gt2_itab.&lt;/P&gt;&lt;P&gt;            CLEAR gs_itab.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        CLEAR chbox.&lt;/P&gt;&lt;P&gt;      ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gt2_itab will contain all checked records. You can write your program on this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any questions please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2008 22:26:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-12T22:26:10Z</dc:date>
    <item>
      <title>checkboxes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkboxes/m-p/3515064#M845420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i have been requested to create a program that calculates some sort of bonus payment....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the thing is that in the output of this report i have to write the list of employees that fullfill the conditions ( easy) but every single one of them has to have a checkbox to the right so the user can decide to check or uncheck the employees ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after that "all the checked" employees will be proceesed for the payment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i work with variable checkboxes??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 21:29:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkboxes/m-p/3515064#M845420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T21:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: checkboxes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkboxes/m-p/3515065#M845421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For each record, write a one character field as a checkbox:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WRITE: /001 f1 AS CHECKBOX.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You then have to read the report back in and process the checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 21:40:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkboxes/m-p/3515065#M845421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T21:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: checkboxes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkboxes/m-p/3515066#M845422</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;Try this to get all checked records in to intarnal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      DESCRIBE TABLE gt_zitab LINES lv_cnt.&lt;/P&gt;&lt;P&gt;      DO lv_cnt TIMES.&lt;/P&gt;&lt;P&gt;        lv_index = sy-index + 4. // your index will depend on heading no of lines&lt;/P&gt;&lt;P&gt;        READ LINE lv_index FIELD VALUE chbox.&lt;/P&gt;&lt;P&gt;        IF chbox = 'X'.&lt;/P&gt;&lt;P&gt;          READ TABLE gt_zitab INTO gs_zitab INDEX sy-index.&lt;/P&gt;&lt;P&gt;          IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;            gs_zitab-index = sy-index.&lt;/P&gt;&lt;P&gt;            APPEND gs_zitab TO gt2_itab.&lt;/P&gt;&lt;P&gt;            CLEAR gs_itab.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        CLEAR chbox.&lt;/P&gt;&lt;P&gt;      ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gt2_itab will contain all checked records. You can write your program on this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any questions please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 22:26:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkboxes/m-p/3515066#M845422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T22:26:10Z</dc:date>
    </item>
  </channel>
</rss>

