<?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 all the database table content in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570748#M1270776</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 using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete from ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will delete all records from your ztable. After this command u can fill your ztable from itab by the following command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from std table&lt;/P&gt;&lt;P&gt;into corresponding fields of itab.&lt;/P&gt;&lt;P&gt;insert ztable from table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ibrar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2009 06:42:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-15T06:42:59Z</dc:date>
    <item>
      <title>delete all the database table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570739#M1270767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a z table with 5 fields (all the key fields) and I want to delete all the table content and load fresh content from internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using syntax 'delete ztable' but sy-subrc value is coming as 4, means no table content is getting deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me any alternative way to delete all the database table content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Shreekant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 05:59:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570739#M1270767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T05:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: delete all the database table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570740#M1270768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  to delete a Ztable you can use key word : ' Delete from '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete from Ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;safel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 06:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570740#M1270768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T06:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: delete all the database table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570741#M1270769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE from ZTABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mathivanan.G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 06:02:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570741#M1270769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T06:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: delete all the database table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570742#M1270770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using DELETE tablename or DELETE FROM tablename&lt;/P&gt;&lt;P&gt;or by writing some piece of code u can delete&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: ztable.  &lt;/P&gt;&lt;P&gt;data: itab type table of ztable.&lt;/P&gt;&lt;P&gt;select * from ztable into table itab.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;delete ztable from table itab.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 06:02:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570742#M1270770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T06:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: delete all the database table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570743#M1270771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need to use DELETE FROM &amp;lt;DATABASE TABLE&amp;gt;. Your statment works for internal tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 06:04:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570743#M1270771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T06:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: delete all the database table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570744#M1270772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shreeekant,&lt;/P&gt;&lt;P&gt;You can do on thing. First take all data in to the internal table for which u want to delete.&lt;/P&gt;&lt;P&gt;then use command DELETE &amp;lt;databse tablename&amp;gt; FROM TABLE &amp;lt;itab&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will delete all the etries from ur desired table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 06:04:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570744#M1270772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T06:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: delete all the database table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570745#M1270773</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;&lt;/P&gt;&lt;P&gt;                 Got Transaction Se14 and delete activate and adjust by selecting radiobutton &lt;/P&gt;&lt;P&gt;' Delete Data'&lt;/P&gt;&lt;P&gt;It will work Fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;rajesh S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 06:05:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570745#M1270773</guid>
      <dc:creator>former_member632458</dc:creator>
      <dc:date>2009-05-15T06:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: delete all the database table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570746#M1270774</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;Use like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete from ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jyothi CH.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 06:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570746#M1270774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T06:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: delete all the database table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570747#M1270775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go into the data browser area of ur table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select the record u want to delete ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put /h in the command line and enter .....now debugger will be on ... and from here u can do somthing ...&lt;/P&gt;&lt;P&gt;.. i dont know whether i sld disclose it openly !! Its little sensitive..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 06:39:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570747#M1270775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T06:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: delete all the database table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570748#M1270776</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 using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete from ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will delete all records from your ztable. After this command u can fill your ztable from itab by the following command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from std table&lt;/P&gt;&lt;P&gt;into corresponding fields of itab.&lt;/P&gt;&lt;P&gt;insert ztable from table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ibrar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 06:42:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-all-the-database-table-content/m-p/5570748#M1270776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T06:42:59Z</dc:date>
    </item>
  </channel>
</rss>

