<?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: Dynamic delete and apppend in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854988#M1685411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Katrice Hwkins,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; What kind of "DYNAMIC" do you need?&amp;nbsp;&amp;nbsp; If you want the database table name to be dynamic, you can use a character type variable to hold the database name.&amp;nbsp; The INSERT and DELETE statements both support dynamic database names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: dbname TYPE c LENGTH 5 VALUE 'SPFLI'.&lt;/P&gt;&lt;P&gt;DATA: wa_spfli TYPE spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE (dbname) FROM wa_spfli.&lt;/P&gt;&lt;P&gt;INSERT (dbname) FROM wa_spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need the work area to be dynamic, try RTTI/RTTC Service.&amp;nbsp; Please read &lt;A __default_attr="1907050" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://community.sap.com/" modifiedtitle="true" title="RTTS, RTTI and RTTC"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jul 2012 08:17:30 GMT</pubDate>
    <dc:creator>former_member129652</dc:creator>
    <dc:date>2012-07-04T08:17:30Z</dc:date>
    <item>
      <title>Dynamic delete and apppend</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854985#M1685408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;Can any one help out with any links or documents working on DYNAMICALLY DELETING THE RECORDS OF THE TABLE &amp;amp; DYNAMICALLY APPENDING THE RECORDS IN THE TABLE&lt;/P&gt;&lt;P&gt;&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;Katrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 07:01:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854985#M1685408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-04T07:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic delete and apppend</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854986#M1685409</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;Please statement your requirement more clearly.&amp;nbsp; Are you talking about internal table or database table?&amp;nbsp; What do you mean by "&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;DYNAMICALLY&lt;/SPAN&gt;"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 07:19:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854986#M1685409</guid>
      <dc:creator>former_member129652</dc:creator>
      <dc:date>2012-07-04T07:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic delete and apppend</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854987#M1685410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Micheal.&lt;/P&gt;&lt;P&gt;I want to delete/append records dynamically from the database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 07:30:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854987#M1685410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-04T07:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic delete and apppend</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854988#M1685411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Katrice Hwkins,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; What kind of "DYNAMIC" do you need?&amp;nbsp;&amp;nbsp; If you want the database table name to be dynamic, you can use a character type variable to hold the database name.&amp;nbsp; The INSERT and DELETE statements both support dynamic database names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: dbname TYPE c LENGTH 5 VALUE 'SPFLI'.&lt;/P&gt;&lt;P&gt;DATA: wa_spfli TYPE spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE (dbname) FROM wa_spfli.&lt;/P&gt;&lt;P&gt;INSERT (dbname) FROM wa_spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need the work area to be dynamic, try RTTI/RTTC Service.&amp;nbsp; Please read &lt;A __default_attr="1907050" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://community.sap.com/" modifiedtitle="true" title="RTTS, RTTI and RTTC"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 08:17:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854988#M1685411</guid>
      <dc:creator>former_member129652</dc:creator>
      <dc:date>2012-07-04T08:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic delete and apppend</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854989#M1685412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table name can be a variable "SELECT FROM (variable)"&lt;/P&gt;&lt;P&gt;(Check &lt;A href="http://help.sap.com/abapdocu_70/en/ABENABAP_LANGUAGE_DYNAMIC.htm"&gt;Dynamic Program Development&lt;/A&gt; in SAP Abap online documentation.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 08:36:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854989#M1685412</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-07-04T08:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic delete and apppend</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854990#M1685413</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;Please go through the following document to create dynamic internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/Dynamic+Internal+table"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/Dynamic+Internal+table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here in the mentioned example, data is being fetched from data base table to the dynamic internal table &amp;lt;dyn_table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is how you can append data to the dynamic internal table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Creating work area for the dynamic internal table&lt;BR /&gt;CREATE DATA dy_line LIKE LINE OF &amp;lt;dyn_table&amp;gt;.&lt;BR /&gt;ASSIGN dy_line-&amp;gt;* TO &amp;lt;dyn_wa&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now &amp;lt;dyn_wa&amp;gt; will serve as a work area for the internal table, now you have to fill this work area and then append it to the dynamic internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since, the field symbol &amp;lt;dyn_wa&amp;gt; is untyped. It has to be filled as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN COMPONENT 1 OF STRUCTURE &amp;lt;dyn_wa&amp;gt; TO &amp;lt;dyn_field&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt; &amp;lt;dyn_field&amp;gt; = 'First field'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN COMPONENT 2 OF STRUCTURE &amp;lt;dyn_wa&amp;gt; TO &amp;lt;dyn_field&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt; &amp;lt;dyn_field&amp;gt; = 'Second field'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like wise the work area can be filled. For more details on access using field symbols you may visit the follwing link:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3605358411d1829f0000e829fbfe/frameset.htm"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3605358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once your work area is ready it can be appended as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND &amp;lt;dyn_wa&amp;gt; TO &amp;lt;dyn_table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly, delete operation can be performed as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE &amp;lt;dyn_table&amp;gt; WHERE 'FIELD1' EQ &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps. Thank you.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 08:42:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854990#M1685413</guid>
      <dc:creator>Kartik2</dc:creator>
      <dc:date>2012-07-04T08:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic delete and apppend</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854991#M1685414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;Thanks for all the help...Can anyone let me know can we delete Fieldsymbols when we are in loop?...Can anyone justify my question?..........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 09:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854991#M1685414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-04T09:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic delete and apppend</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854992#M1685415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;Thanks for all the help...Can anyone let me know can we delete Fieldsymbols when we are in loop?...Can anyone justify my question?..........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 09:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854992#M1685415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-04T09:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic delete and apppend</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854993#M1685416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can delete ....&lt;/P&gt;&lt;P&gt;LOOP AT &amp;lt;table&amp;gt; ASSIGNING &amp;lt;FS_WA&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; IF &amp;lt;condition&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delete &amp;lt;table&amp;gt; INDEX sy-tabix&amp;nbsp; or use the actual variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ENDIF.&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;This will delete the entry from the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 09:25:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854993#M1685416</guid>
      <dc:creator>JJosh</dc:creator>
      <dc:date>2012-07-04T09:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic delete and apppend</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854994#M1685417</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;What delete are you talking about, do you want to delete an entry in the table ? Do you want to delete the field symbol as such, so that it may not be used further ? Do you want to delete the internal table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not understand why would anybody want to delete a field symbol as it is. You should only justify your question, whether you really want to delete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not want to use the field symbol any more then you may unassign it and then free it, and need not use it for further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 09:26:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854994#M1685417</guid>
      <dc:creator>Kartik2</dc:creator>
      <dc:date>2012-07-04T09:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic delete and apppend</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854995#M1685418</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;&amp;nbsp; No, you can't.&amp;nbsp; If you use LOOP AT itab ASSIGNING &amp;lt;fs&amp;gt;, you cannot do UNASSIGN &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The ABAP documentation says "&lt;SPAN style="text-decoration: underline;"&gt;With the addition ASSIGNING, you assign the current line to a field symbol &amp;lt;fs&amp;gt;; within the loop, you are not allowed to assign a different memory area to the field symbol or cancel the assignment with UNASSIGN&lt;/SPAN&gt;. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 09:36:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854995#M1685418</guid>
      <dc:creator>former_member129652</dc:creator>
      <dc:date>2012-07-04T09:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic delete and apppend</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854996#M1685419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Kartik,&lt;/P&gt;&lt;P&gt;I want to delete the record which the FS is pointing towards inside the loop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 09:39:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854996#M1685419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-04T09:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic delete and apppend</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854997#M1685420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Micheal,Where can i find that documentation which you've stated above.....Thanks for you quick response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 09:41:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854997#M1685420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-04T09:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic delete and apppend</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854998#M1685421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,'&lt;/P&gt;&lt;P&gt;As I said before.. Delete using Sy-tabix, so that it deletes the record which the cursor is pointing to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 09:43:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854998#M1685421</guid>
      <dc:creator>JJosh</dc:creator>
      <dc:date>2012-07-04T09:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic delete and apppend</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854999#M1685422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should declare the internal table as a standard one, use&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;itab&amp;gt; TYPE STANDARD TABLE.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and not&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;itab&amp;gt; TYPE ANY TABLE.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;so you can use implicit index operations like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;LOOP AT &amp;lt;itab&amp;gt; ASSIGNING &amp;lt;record&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp; ASSIGN COMPONENT 'MATNR' OF STRUCTURE &amp;lt;record&amp;gt; TO &amp;lt;field&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF &amp;lt;field&amp;gt; CS 'A'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DELETE &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;PS: Be as specific as possible when you post a question, to get faster and more relevant answers. In particular, specify if a table is a database table or an internal table.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 09:44:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8854999#M1685422</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-07-04T09:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic delete and apppend</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8855000#M1685423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the ABAP editor (SE38), move your cursor to an ABAP keyword (for example, ASSIGNING) .&amp;nbsp; Press "F1".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 09:48:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-delete-and-apppend/m-p/8855000#M1685423</guid>
      <dc:creator>former_member129652</dc:creator>
      <dc:date>2012-07-04T09:48:19Z</dc:date>
    </item>
  </channel>
</rss>

