<?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: dlete from db table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757720#M1115751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First and Foremost...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE mention if its a standard table or a Custom table who's entries you want deleted.&lt;/P&gt;&lt;P&gt;Surprising, even those who replied to your query did not bother finding this out .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Nov 2008 09:04:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-05T09:04:46Z</dc:date>
    <item>
      <title>dlete from db table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757715#M1115746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i delete records from database table from work area which is not compatable i.e, the work area has not all the fields of db table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 07:43:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757715#M1115746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T07:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: dlete from db table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757716#M1115747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for deleting records from Db table u can directly do it via sm30 or se 11. no need for work area to delete DB table.&lt;/P&gt;&lt;P&gt;if this is not the answer u r lookinf for then elaborate ur question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 07:46:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757716#M1115747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T07:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: dlete from db table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757717#M1115748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DELETE FROM table WHERE condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where the condition is the primary key for instance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 07:47:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757717#M1115748</guid>
      <dc:creator>h_senden2</dc:creator>
      <dc:date>2008-11-05T07:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: dlete from db table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757718#M1115749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Venu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you can but, The primary key for the line to be deleted is taken from the explicitly specified work area wa. The key values are read from left to right according to the structure of the primary key of the database table.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chidanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 07:48:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757718#M1115749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T07:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: dlete from db table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757719#M1115750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually my requirement is i have values for four fields in work area using that i can delete the records from db table&lt;/P&gt;&lt;P&gt;if i use 'delete db from wa' it says incomptable becouse wa has only 4 fields&lt;/P&gt;&lt;P&gt;how i can i delete the records from db table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 09:02:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757719#M1115750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T09:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: dlete from db table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757720#M1115751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First and Foremost...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE mention if its a standard table or a Custom table who's entries you want deleted.&lt;/P&gt;&lt;P&gt;Surprising, even those who replied to your query did not bother finding this out .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 09:04:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757720#M1115751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T09:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: dlete from db table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757721#M1115752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to delete from database table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 09:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757721#M1115752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T09:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: dlete from db table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757722#M1115753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sweet!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 09:28:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757722#M1115753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T09:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: dlete from db table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757723#M1115754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;write the following code in se38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE FROM table WHERE condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where condition u have to give the primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards.&lt;/P&gt;&lt;P&gt;Y.R.Prem Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 09:35:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757723#M1115754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T09:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: dlete from db table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757724#M1115755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;If the WA and table have different structure, then you need to read the table using the wa fields. Using the WA from read&lt;/P&gt;&lt;P&gt;you can delete the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if you are deleting inside the loop,do like this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP ITAB into wa_itab.&lt;/P&gt;&lt;P&gt;get the sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check wa_itab 4 fields with your wa 4 fields.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete itab using the tabix.&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;Regards,&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 10:12:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757724#M1115755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T10:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: dlete from db table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757725#M1115756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take care while deleting a entry from a DBASE table that the primary key in your work area and dbase table should match as Chidanand has mentioned earlier.&lt;/P&gt;&lt;P&gt;If a maintanence view exist for the table then better delete the entry from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 10:16:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dlete-from-db-table/m-p/4757725#M1115756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T10:16:35Z</dc:date>
    </item>
  </channel>
</rss>

