<?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: how to delete default values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-default-values/m-p/2740718#M636711</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i used both refresh and clear itab[],but both throw error:'  " YOU MAY NOT DELETE OR OVERWRITE WITH IN A LOOP".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2007 11:57:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-17T11:57:35Z</dc:date>
    <item>
      <title>how to delete default values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-default-values/m-p/2740716#M636709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;  experts plz help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my program after clear one field take ur default values (NUMC),bcoz after clear &lt;/P&gt;&lt;P&gt;my table body have no values so whn another table which match the fieldes that time it take default(00) values and throw wrong values so how i m delete that default values from my internal table header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                        thanks a lot for answer and get points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 11:44:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-default-values/m-p/2740716#M636709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T11:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete default values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-default-values/m-p/2740717#M636710</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;Mostly CLEAR clears only the table header. Use REFRESH to clear all records from and internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are confused using CLEAR statement, then you can separate your internal table and the work area, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: gt_mara LIKE STANDARD TABLE OF mara,&lt;/P&gt;&lt;P&gt;wa_mara LIKE LINE OF gt_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR wa_mara.&lt;/P&gt;&lt;P&gt;REFRESH gt_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 11:50:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-default-values/m-p/2740717#M636710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T11:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete default values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-default-values/m-p/2740718#M636711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i used both refresh and clear itab[],but both throw error:'  " YOU MAY NOT DELETE OR OVERWRITE WITH IN A LOOP".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 11:57:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-default-values/m-p/2740718#M636711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T11:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete default values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-default-values/m-p/2740719#M636712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The message means you cannot empty the contents of an internal table whilst you are processing it i.e. you must do it outside the loop... so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at gt_data.
  clear: gt_data[].
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;makes no sense as you are destroying the array you are looping around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just use "refresh gt_data." or "clear: gt_data, gt_data[]." outside a loop to drop the contents from memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 12:26:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-default-values/m-p/2740719#M636712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T12:26:43Z</dc:date>
    </item>
  </channel>
</rss>

