<?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: Check box in Table Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835217#M922264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This loop is given in the PBO.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;LOOP AT   g_tbc_itab&lt;/P&gt;&lt;P&gt;       INTO g_tbc_wa&lt;/P&gt;&lt;P&gt;       WITH CONTROL tbc&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;CURSOR&lt;/STRONG&gt; tbc-current_line .&lt;/P&gt;&lt;P&gt;    MODULE tbc_move.&lt;/P&gt;&lt;P&gt;    MODULE tbc_get_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the CURSOR statement is witten correct here ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I tick any record appearing in that table control.&lt;/P&gt;&lt;P&gt;TICK is not showing there, its disappering right on the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell excatly what should I to make it appear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 May 2008 11:34:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-09T11:34:45Z</dc:date>
    <item>
      <title>Check box in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835212#M922259</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;Please tell me how to put the check boxes in the table control.&lt;/P&gt;&lt;P&gt;My requirement is to get the entries from a Z table having a check box infront of every line. Later when user ticks any check box or selects multiple check boxes should be saved after PRESSING the save button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maddu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 05:53:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835212#M922259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T05:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Check box in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835213#M922260</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;What you can do is, declare your internal table that you will be using for your table control, with the first field as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Begin of itab,&lt;/P&gt;&lt;P&gt;chk_bx type C,&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then after you create the table control using the wizard, go to the screen layout, right click on the first column (which would be 1 char field) and select Convert -&amp;gt; Checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this option is not available, you can drag the checkbox element from the toolbar of the screen painter and drop it at the first position of the table control. Then rename it as, &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;itab-chk_bx&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know if this helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pranjal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 06:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835213#M922260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T06:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Check box in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835214#M922261</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 need to first declare the check box variable in your internal table of length 1 char like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of it1 occurs 0 ,&lt;/P&gt;&lt;P&gt;          chk(1) type c,&lt;/P&gt;&lt;P&gt;          field1.........&lt;/P&gt;&lt;P&gt;          field2.........&lt;/P&gt;&lt;P&gt;          .................&lt;/P&gt;&lt;P&gt;         end of it1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the screen layout create a table control using wizard selecting all the fields you want in the table. then you can click on the coloumn for check box and right click. There u will find the option to convert the field to checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 06:28:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835214#M922261</guid>
      <dc:creator>anub</dc:creator>
      <dc:date>2008-05-09T06:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Check box in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835215#M922262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Pranjal and Anu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have followed the process which you people told me.&lt;/P&gt;&lt;P&gt;Now the check box is appearing in the table control.&lt;/P&gt;&lt;P&gt;I have given name CHECK in my internal table and same name I have mentioned in my TABLE CONTROL layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But since a long am fighing with one issue is, when I select &lt;/P&gt;&lt;P&gt;any check box, line related to that should be stored with CHECK value 'X' somewhere. And when I deselect the same&lt;/P&gt;&lt;P&gt;it should be stored with CHECK's value ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the end when user presses the MODIFY button which I have on my screen the value with the 'X' should be stored in my Z table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest if anyone knows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 10:58:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835215#M922262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T10:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Check box in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835216#M922263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the code taht was craeted when u inserted table control on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO , there should be the foll loop stmnt created :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab &lt;STRONG&gt;...WITH CURSOR&lt;/STRONG&gt; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI, there would be the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you need to do is, in the PAI, between the loop-endloop, modify the internal table itab from the headerline.For that create a module modify bet the loop-endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the value X or space will only be captured if in PBO, the 'with cursor' addition was tehre, if not, add manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if this helped and reward accordingly.&lt;/P&gt;&lt;P&gt;Pranjal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 11:19:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835216#M922263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T11:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Check box in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835217#M922264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This loop is given in the PBO.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;LOOP AT   g_tbc_itab&lt;/P&gt;&lt;P&gt;       INTO g_tbc_wa&lt;/P&gt;&lt;P&gt;       WITH CONTROL tbc&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;CURSOR&lt;/STRONG&gt; tbc-current_line .&lt;/P&gt;&lt;P&gt;    MODULE tbc_move.&lt;/P&gt;&lt;P&gt;    MODULE tbc_get_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the CURSOR statement is witten correct here ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I tick any record appearing in that table control.&lt;/P&gt;&lt;P&gt;TICK is not showing there, its disappering right on the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell excatly what should I to make it appear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 11:34:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835217#M922264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T11:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Check box in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835218#M922265</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;The code in PBO is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALso, unless u do not code for modifyin the table row in PAI, your tick mark will go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the foll : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In PAI,&lt;/STRONG&gt; between the statements &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT g_tbc_itab&lt;/P&gt;&lt;P&gt;INTO g_tbc_wa&lt;/P&gt;&lt;P&gt;WITH CONTROL tbc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add the line :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Module modif_tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code in the newly crated module wil b&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;modify g_tbc_itab from g_tbc_wa index sy-index transporting CHECK.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will update the internal tabel n u wil b able to c the cheked box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRanjal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 11:42:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835218#M922265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T11:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Check box in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835219#M922266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pranjal a strange errror has started coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I put this code in PAI event:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at g_tbc_itab.&lt;/P&gt;&lt;P&gt;modify-itab.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its giving the error as "LOOP" CAN NOT BE ASSIGNED TO ANY FIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am even not getting the hang of it what it want to communicate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 12:20:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835219#M922266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T12:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Check box in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835220#M922267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You had to use the foll code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT g_tbc_itab&lt;/P&gt;&lt;P&gt;INTO g_tbc_wa&lt;/P&gt;&lt;P&gt;WITH CONTROL tbc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module modif_tab]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pranjal Gadkari on May 9, 2008 2:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 12:24:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-in-table-control/m-p/3835220#M922267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T12:24:06Z</dc:date>
    </item>
  </channel>
</rss>

