<?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 table from DB table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-table-from-db-table/m-p/6156518#M1369472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;just do compering for sy-db count &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what exactly is your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Oct 2009 07:12:06 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2009-10-09T07:12:06Z</dc:date>
    <item>
      <title>delete table from DB table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-table-from-db-table/m-p/6156516#M1369470</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 i try do delete table (itab) from DB table for instance for 10 records and one of the record not found in the DB &lt;/P&gt;&lt;P&gt;i get sy-subrc = 4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How i know that the all the delete is not success or just one record is not in the table ,just do compering for  sy-db count ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 07:08:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-table-from-db-table/m-p/6156516#M1369470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-09T07:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: delete table from DB table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-table-from-db-table/m-p/6156517#M1369471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sy-dbcnt can be one option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from sap help itself if you press F1.&lt;/P&gt;&lt;P&gt;&amp;gt;The statement DELETE sets sy-dbcnt to the number of deleted rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so..&lt;/P&gt;&lt;P&gt;describle table itab lines gv_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now use the delete statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now check if sy-dbcnt NE gv_count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Soumyaprakash Mishra on Oct 9, 2009 12:42 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 07:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-table-from-db-table/m-p/6156517#M1369471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-09T07:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: delete table from DB table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-table-from-db-table/m-p/6156518#M1369472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;just do compering for sy-db count &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what exactly is your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 07:12:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-table-from-db-table/m-p/6156518#M1369472</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-10-09T07:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: delete table from DB table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-table-from-db-table/m-p/6156519#M1369473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;better you go to database table and give the key field values which you want to check and execute it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 07:17:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-table-from-db-table/m-p/6156519#M1369473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-09T07:17:05Z</dc:date>
    </item>
  </channel>
</rss>

