<?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: Table Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2644734#M609059</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;I think you are not saving the modifications made.&lt;/P&gt;&lt;P&gt;Like when you check a box, you have to store the changes in, (say) an internal table , &lt;/P&gt;&lt;P&gt;you can use the internal table that ur using to loop through the table control...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this answers your question.&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;SJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2007 10:35:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-10T10:35:43Z</dc:date>
    <item>
      <title>Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2644733#M609058</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;        i am using a table control in my custom infotype screen. the table control contains a checkbox with some fields.&lt;/P&gt;&lt;P&gt;when i check the check box and drag the table control the check box auto matically cleares why it is happening,,,,&lt;/P&gt;&lt;P&gt;How to restrict that.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please provide a solution for this.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Yogesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 10:29:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2644733#M609058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T10:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2644734#M609059</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;I think you are not saving the modifications made.&lt;/P&gt;&lt;P&gt;Like when you check a box, you have to store the changes in, (say) an internal table , &lt;/P&gt;&lt;P&gt;you can use the internal table that ur using to loop through the table control...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this answers your question.&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;SJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 10:35:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2644734#M609059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T10:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2644735#M609060</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;When u Scroll verticall in TABLE control it will trigger the PAI.&lt;/P&gt;&lt;P&gt;We have to Save all changes to the ITAB  in this event including the Checkbox selection. So that in the next PBO these changes are reflected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code Sample for that.&lt;/P&gt;&lt;P&gt;Here i am taking the MARK as the Checkbox field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Flow logic:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;PAI.&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;Module SAVE_CHANGES.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Module pool:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Module SAVE_CHANGES INPUT.&lt;/P&gt;&lt;P&gt;Move-corresponding Wa to ITAB.&lt;/P&gt;&lt;P&gt;Modify itab index TCON1-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;Endmodule.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 10:54:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2644735#M609060</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-10T10:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2644736#M609061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi narayan,&lt;/P&gt;&lt;P&gt;                 The TCON1 is that the standard table. what is that TCON! contains i am not able to find any structure like that....&lt;/P&gt;&lt;P&gt;Please explain me!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yogesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 12:03:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2644736#M609061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T12:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2644737#M609062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yogesh,&lt;/P&gt;&lt;P&gt;                    The flow is like this. when ever you press page up or page down it will trigger PAI event. hence you have to capture the selected fields and store is in an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example if your Table control internal table is Gt_output. The structure of the IT is like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types: begin of ty_output,&lt;/P&gt;&lt;P&gt;           sel   type c,&lt;/P&gt;&lt;P&gt;           vbeln type vbeln,&lt;/P&gt;&lt;P&gt;           matnr type matnr,&lt;/P&gt;&lt;P&gt;          end of ty_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: gt_output type standard table of ty_output,&lt;/P&gt;&lt;P&gt;        gs_output type ty_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets hope this internal table is populated with say 25 records. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table control, you have to define the selection of col.name as gs_output-sel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the PBO write this code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at gt_output into gs_output with control tabcntrl.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in PAI, you have to write the following code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;modify gt_output from gs_output.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above will save the items which you have checked.&lt;/P&gt;&lt;P&gt;hence when u the conrol goes to PBO, the saved items wil be displayed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls give points if helpfull...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Niyaz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 12:51:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2644737#M609062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T12:51:08Z</dc:date>
    </item>
  </channel>
</rss>

