<?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: Fetching the values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091324#M1181807</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;After delete perform write sy-subrc =0 then move to that record to other internal table and append that data in to that Itab. finally you can use Reuse_Alv_grid_display. &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;Md.MahaboobKhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Feb 2009 10:48:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-03T10:48:14Z</dc:date>
    <item>
      <title>Fetching the values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091315#M1181798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  In my coding have written a select query after that based on some cond have deleted the vendors.Now after deleting the vendors i need to know the wat details have been deleted.How to identify it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 10:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091315#M1181798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T10:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091316#M1181799</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;The delete query you are returning will be returning a subrc value. So after using the query, Check the value of sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY_SUBRC EQ 0. means it was successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also SY-DBCNT gives the number of records deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepthi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Deepthi S on Feb 3, 2009 3:48 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 10:18:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091316#M1181799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T10:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091317#M1181800</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;Before deleting, pass the the lines of itab to a temp table inside the loop.&lt;/P&gt;&lt;P&gt;After coming out of the loop read the temp table and get the details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vivekanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 10:18:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091317#M1181800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T10:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091318#M1181801</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;Why don't keep the information in another internal tables which you are going to delete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT1&lt;/P&gt;&lt;P&gt;Ex: Vendor   Name&lt;/P&gt;&lt;P&gt;       100       A&lt;/P&gt;&lt;P&gt;       200       B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are going to delete B then keep it away from IT1 to IT2.Further you can access IT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 10:19:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091318#M1181801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T10:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091319#M1181802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before deleting those vendors move that data to another internal table and &lt;/P&gt;&lt;P&gt;display the same after deleting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 10:20:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091319#M1181802</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2009-02-03T10:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091320#M1181803</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;To know the what details have been deleted , you can use &lt;STRONG&gt;debugging&lt;/STRONG&gt;  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Before and after the delete statement just check the values in that table on which you are applying delete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;keep the information in another internal tables which you are going to delete and after delete just compare&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;RAHUL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: RAHUL SHARMA on Feb 3, 2009 11:22 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 10:21:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091320#M1181803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T10:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091321#M1181804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;move the data to be deleted to another internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 10:21:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091321#M1181804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T10:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091322#M1181805</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;Create one temp internal table.&lt;/P&gt;&lt;P&gt;pass the data  in temp on the where condition  those you want to delete&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now delete the record from the main table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the deleted record from the temp table.&lt;/P&gt;&lt;P&gt;To check every time with new record clear the temp table.&lt;/P&gt;&lt;P&gt;after reading&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arun kayal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 10:22:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091322#M1181805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T10:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091323#M1181806</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 this code:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at itab where &amp;lt;condition&amp;gt;. "loop at internal table
  MOVE : itab-field1 to it_temp-field1, "move records to temp table
         itab-field2 to it_temp-field2. "similarly move other records
  append it_temp. "append in temp

  delete itab. "delete from itab internal table

  clear itab.
  clear it_temp.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Tarun Gambhir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 10:31:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091323#M1181806</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2009-02-03T10:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091324#M1181807</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;After delete perform write sy-subrc =0 then move to that record to other internal table and append that data in to that Itab. finally you can use Reuse_Alv_grid_display. &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;Md.MahaboobKhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 10:48:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-values/m-p/5091324#M1181807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T10:48:14Z</dc:date>
    </item>
  </channel>
</rss>

