<?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 single record from internale table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673443#M1099179</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;Delete ITAB index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;Loop at ITAB.&lt;/P&gt;&lt;P&gt;delete itab.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Oct 2008 10:45:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-10T10:45:32Z</dc:date>
    <item>
      <title>Delete single record from internale table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673441#M1099177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to delete single record in an internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 10:44:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673441#M1099177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T10:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Delete single record from internale table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673442#M1099178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;delete itab where your_condition_here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 10:45:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673442#M1099178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T10:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Delete single record from internale table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673443#M1099179</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;Delete ITAB index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;Loop at ITAB.&lt;/P&gt;&lt;P&gt;delete itab.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 10:45:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673443#M1099179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T10:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Delete single record from internale table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673444#M1099180</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 you say you want to delete a single record from an internal table, on what basis are you deleting it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a specific condition in mind you can write the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read table t_test with key (cond).&lt;/P&gt;&lt;P&gt;(Assuming t_test has a header line).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete t_test index sy-index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 10:47:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673444#M1099180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T10:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Delete single record from internale table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673445#M1099181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;delete itab where &amp;lt;your condititon&amp;gt;&lt;/P&gt;&lt;P&gt;(or)&lt;/P&gt;&lt;P&gt;delete itab from wa--&amp;gt; work area.&lt;/P&gt;&lt;P&gt;(or)&lt;/P&gt;&lt;P&gt;delete itab index 3.&lt;/P&gt;&lt;P&gt;delete ita index 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more examples place cursor on keyword &lt;STRONG&gt;DELETE ITAB&lt;/STRONG&gt; and press F1 key&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 10:48:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673445#M1099181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T10:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Delete single record from internale table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673446#M1099182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;there are several ways of doing this:&lt;/P&gt;&lt;P&gt;1.delete itab where &amp;lt;condition&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 10:53:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673446#M1099182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T10:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Delete single record from internale table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673447#M1099183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Lavanya,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If in your Internal table having 10 records ,&lt;/P&gt;&lt;P&gt;F1&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;7&lt;/P&gt;&lt;P&gt;8&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to delete 5th record :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete itab where f1 = '5'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click  F1 on delete in you program .. and you will get many options. dude&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks : Maddy &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 10:56:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673447#M1099183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T10:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Delete single record from internale table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673448#M1099184</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;   deleteion can be done on the basis of some condition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   loop at itab.&lt;/P&gt;&lt;P&gt;   delete itab where field = ' '.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    this will work..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 11:31:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673448#M1099184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T11:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Delete single record from internale table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673449#M1099185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOOP AT ist_bkpf INTO wa_bkpf.&lt;/P&gt;&lt;P&gt;    READ TABLE ist_payr INTO wa_payr WITH KEY vblnr = wa_bkpf-belnr  gjahr = wa_bkpf-gjahr.&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      DELETE ist_bkpf.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 11:40:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673449#M1099185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T11:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Delete single record from internale table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673450#M1099186</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;One best thing we can do while writing code we an have F1 help when we write the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz check the below examples to delete entry from internal table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DELETE TABLE itab WITH TABLE KEY matnr = p_matnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DELETE TABLE itab FROM wa_mara.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;READ TABLE itab WITH TABLE KEY matnr = p_matnr 
                     TRANSPORTING NO FIELDS. 

IF sy-subrc = 0. 
  DELETE itab INDEX sy-tabix. 
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 11:50:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-single-record-from-internale-table/m-p/4673450#M1099186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T11:50:30Z</dc:date>
    </item>
  </channel>
</rss>

