<?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 TABLE CONTROL (URGENT) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-urgent/m-p/2477880#M557943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a table control and retrieved the data from the database into that table.  After that, I kept a delete button on the screen and wrote this code for deletion of the rows in that table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab (with headerline) with key sel = 'x'. "here sel is the part of internal table type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete itab where sel = 'x'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, when we are trying to debug, we are not getting the sel value into the itab ie X, so we are not able to delete the selected row in the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, please tell us the solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajesh.k.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jun 2007 05:13:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-21T05:13:38Z</dc:date>
    <item>
      <title>TABLE CONTROL (URGENT)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-urgent/m-p/2477880#M557943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a table control and retrieved the data from the database into that table.  After that, I kept a delete button on the screen and wrote this code for deletion of the rows in that table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab (with headerline) with key sel = 'x'. "here sel is the part of internal table type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete itab where sel = 'x'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, when we are trying to debug, we are not getting the sel value into the itab ie X, so we are not able to delete the selected row in the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, please tell us the solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajesh.k.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-urgent/m-p/2477880#M557943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T05:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: TABLE CONTROL (URGENT)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-urgent/m-p/2477881#M557944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh.&lt;/P&gt;&lt;P&gt;Have you defined SEL in the table control in Screen Painter?&lt;/P&gt;&lt;P&gt;Please check that.&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:15:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-urgent/m-p/2477881#M557944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T05:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: TABLE CONTROL (URGENT)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-urgent/m-p/2477882#M557945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;It seems that the Selection of records is not functioning properly, check it&lt;/P&gt;&lt;P&gt;from the table control internal table Separate the selected records into another internal table&lt;/P&gt;&lt;P&gt;then when DELETE is pressed just modify the Db/internal tab with that internal table of deleted/selected records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:19:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-urgent/m-p/2477882#M557945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T05:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: TABLE CONTROL (URGENT)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-urgent/m-p/2477883#M557946</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 in this way..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Loop at itab where itab-sel ='X'.&lt;/P&gt;&lt;P&gt;        Delete itab index sy-tabix.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:20:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-urgent/m-p/2477883#M557946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T05:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: TABLE CONTROL (URGENT)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-urgent/m-p/2477884#M557947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;instead of this use this code.&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'DELE'.&lt;/P&gt;&lt;P&gt;      move lfa1 to itab.&lt;/P&gt;&lt;P&gt;      append itab.&lt;/P&gt;&lt;P&gt;      delete from lfa1 where lifnr = lfa1-lifnr.&lt;/P&gt;&lt;P&gt;      if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;        message i000(0) with 'deleted'.&lt;/P&gt;&lt;P&gt;      else.&lt;/P&gt;&lt;P&gt;        message e001(0) with 'not deleted'.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:21:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-urgent/m-p/2477884#M557947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T05:21:32Z</dc:date>
    </item>
  </channel>
</rss>

