<?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: delete row in table using table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-row-in-table-using-table-control/m-p/3697015#M890139</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;Refer to the program : RSDEMO_TABLE_CONTROL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Apr 2008 07:13:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-07T07:13:44Z</dc:date>
    <item>
      <title>delete row in table using table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-row-in-table-using-table-control/m-p/3697014#M890138</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 want to delete a selected row using table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my table control name is " TC_INCl_COVER" &lt;/P&gt;&lt;P&gt;in the property of w/ lineselection i was mentioned name in_sel.&lt;/P&gt;&lt;P&gt;that i will give me facility to select one or more row in table control &lt;/P&gt;&lt;P&gt;at runtime.&lt;/P&gt;&lt;P&gt; now i want to delete a selected row. is there any solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my internal table name is IT_IN_COV. &lt;/P&gt;&lt;P&gt;my database table name is ZINRISINC.&lt;/P&gt;&lt;P&gt;and i was used&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT IT_IN_COV WHERE IT_IN_COV-SELFIELD = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;which gives me an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i made table control using dictionary/programs fields windows F6.&lt;/P&gt;&lt;P&gt;and its name is also zinrisinc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 07:01:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-row-in-table-using-table-control/m-p/3697014#M890138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-07T07:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: delete row in table using table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-row-in-table-using-table-control/m-p/3697015#M890139</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;Refer to the program : RSDEMO_TABLE_CONTROL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 07:13:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-row-in-table-using-table-control/m-p/3697015#M890139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-07T07:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: delete row in table using table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-row-in-table-using-table-control/m-p/3697016#M890140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;
VipulKumar Darji,

Try to use like this .

&lt;PRE&gt;&lt;CODE&gt;LOOP AT IT_IN_COV WHERE SELFIELD = 'X'.
"Use the below statement if ur internal table and Database tables are different in structures.
"Change according to ur requirement.
DELETE FROM sflight 
WHERE  carrid = p_carrid AND 
       fldate = sy-datum AND 
       seatsocc = 0. 
"If your internal table ( that has been displayed on table control) is the same as ur database table. 
Delete SFLIGHT from IT_IN_COV.
"above statement are examples

ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;
regards,
Venkat.O
&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 07:28:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-row-in-table-using-table-control/m-p/3697016#M890140</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2008-04-07T07:28:31Z</dc:date>
    </item>
  </channel>
</rss>

