<?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: Why do I still report an error after using a dynamic DELETE statement? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-do-i-still-report-an-error-after-using-a-dynamic-delete-statement/m-p/13995075#M2038343</link>
    <description>&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I see why, single quotes must be close to parentheses, no spaces.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jan 2025 02:58:23 GMT</pubDate>
    <dc:creator>mimanchi</dc:creator>
    <dc:date>2025-01-24T02:58:23Z</dc:date>
    <item>
      <title>Why do I still report an error after using a dynamic DELETE statement?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-do-i-still-report-an-error-after-using-a-dynamic-delete-statement/m-p/13991793#M2038324</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;Hello everyone:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;I defined an inner table using any table in the function change parameter, and after checking, I cleared the non-eligible table rows.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Finally, I'm going to use DELETE ct_tab WHERE ('table_line IS INITIAL') to delete the unwanted data, but it still reports an error, prompting:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;The row type of the table must be identifiable statically in "... &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;WHERE...".&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;How can I adjust?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;PS: Use DELETE ct_tab WHERE table_line IS INITIAL The same error.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 Jan 2025 10:03:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-do-i-still-report-an-error-after-using-a-dynamic-delete-statement/m-p/13991793#M2038324</guid>
      <dc:creator>mimanchi</dc:creator>
      <dc:date>2025-01-21T10:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I still report an error after using a dynamic DELETE statement?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-do-i-still-report-an-error-after-using-a-dynamic-delete-statement/m-p/13994316#M2038340</link>
      <description>&lt;P&gt;Hi, I think your mistake is enclosing the actual condition you use in the WHERE clause in single quotes. Try removing them and check the results.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 12:52:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-do-i-still-report-an-error-after-using-a-dynamic-delete-statement/m-p/13994316#M2038340</guid>
      <dc:creator>radinator</dc:creator>
      <dc:date>2025-01-23T12:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I still report an error after using a dynamic DELETE statement?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-do-i-still-report-an-error-after-using-a-dynamic-delete-statement/m-p/13995075#M2038343</link>
      <description>&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I see why, single quotes must be close to parentheses, no spaces.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 02:58:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-do-i-still-report-an-error-after-using-a-dynamic-delete-statement/m-p/13995075#M2038343</guid>
      <dc:creator>mimanchi</dc:creator>
      <dc:date>2025-01-24T02:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I still report an error after using a dynamic DELETE statement?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-do-i-still-report-an-error-after-using-a-dynamic-delete-statement/m-p/13995437#M2038348</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;REPORT zzz_test.

DATA: ct_tab TYPE TABLE OF tadir,
      ldref  TYPE REF TO data.

FIELD-SYMBOLS: &amp;lt;lt_tab&amp;gt; TYPE STANDARD TABLE.


SELECT * FROM tadir INTO TABLE ct_tab UP TO 10 ROWS.

APPEND INITIAL LINE TO ct_tab.
APPEND INITIAL LINE TO ct_tab.
APPEND INITIAL LINE TO ct_tab.


CREATE DATA ldref LIKE ct_tab.

ASSIGN ldref-&amp;gt;* TO &amp;lt;lt_tab&amp;gt;.

LOOP AT ct_tab ASSIGNING FIELD-SYMBOL(&amp;lt;fs_any&amp;gt;).
  IF &amp;lt;fs_any&amp;gt; IS NOT INITIAL.
    APPEND &amp;lt;fs_any&amp;gt; TO &amp;lt;lt_tab&amp;gt;.
  ENDIF.
ENDLOOP.


BREAK-POINT.&lt;/LI-CODE&gt;&lt;P&gt;The result is in &amp;lt;lt_tab&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 08:31:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-do-i-still-report-an-error-after-using-a-dynamic-delete-statement/m-p/13995437#M2038348</guid>
      <dc:creator>thomas_mller13</dc:creator>
      <dc:date>2025-01-24T08:31:03Z</dc:date>
    </item>
  </channel>
</rss>

