<?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 - Deleting rows in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-deleting-rows/m-p/1462884#M218249</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the key must be the field of that table.&lt;/P&gt;&lt;P&gt;thats why it is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2006 10:43:36 GMT</pubDate>
    <dc:creator>sushant_singh</dc:creator>
    <dc:date>2006-07-25T10:43:36Z</dc:date>
    <item>
      <title>Table Control - Deleting rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-deleting-rows/m-p/1462883#M218248</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;How do i delete rows from Table Control. The logic which i have now doesnt work.&lt;/P&gt;&lt;P&gt; I have defined one field in the table control attributes as check and i have declared this in internal table also...&lt;/P&gt;&lt;P&gt;NOW when i select a row and click on the delete Button:&lt;/P&gt;&lt;P&gt;The following module will be executed:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Module DEL_REC.&lt;/P&gt;&lt;P&gt;READ TABLE tabc-cols INTO cols WITH KEY screen-input = '1'.&lt;/P&gt;&lt;P&gt; IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   LOOP AT g_t_p9146.&lt;/P&gt;&lt;P&gt;   If g_t_p9146-check eq 'X'.&lt;/P&gt;&lt;P&gt;   DELETE pa9146 from g_t_p9146.&lt;/P&gt;&lt;P&gt;   modify g_t_p9146.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;   ENDLOOP.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;END MODULE.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;The first point is: the tabc-cols is having 5 fields:&lt;/P&gt;&lt;P&gt;PERNR, BEGDA,ENDDA,ZZORHD,ZZPERCENT.&lt;/P&gt;&lt;P&gt;here when i debug this... the screen-input is not 1.&lt;/P&gt;&lt;P&gt;So it doesnt go in...&lt;/P&gt;&lt;P&gt;Even if it Does, the Check should be 1.&lt;/P&gt;&lt;P&gt;But it is not...&lt;/P&gt;&lt;P&gt;Can anyone Help me in this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 10:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-deleting-rows/m-p/1462883#M218248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T10:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Deleting rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-deleting-rows/m-p/1462884#M218249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the key must be the field of that table.&lt;/P&gt;&lt;P&gt;thats why it is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 10:43:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-deleting-rows/m-p/1462884#M218249</guid>
      <dc:creator>sushant_singh</dc:creator>
      <dc:date>2006-07-25T10:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Deleting rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-deleting-rows/m-p/1462885#M218250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this out&lt;/P&gt;&lt;P&gt;For Inserting a Row&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1443776"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For Deletion of a Row&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="730084"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 10:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-deleting-rows/m-p/1462885#M218250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T10:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Deleting rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-deleting-rows/m-p/1462886#M218251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean that the statement :&lt;/P&gt;&lt;P&gt;"With Key" should not have screen-input as the condition?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 10:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-deleting-rows/m-p/1462886#M218251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T10:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Deleting rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-deleting-rows/m-p/1462887#M218252</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;U need to specify index with MODIFY like-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify g_t_p9146 index sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;seema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 10:51:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-deleting-rows/m-p/1462887#M218252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T10:51:06Z</dc:date>
    </item>
  </channel>
</rss>

