<?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 Syntax error in insert statment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-insert-statment/m-p/1439579#M209262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to insert values an Internal table into a ZTABLE.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;INSERT ZTABLE FROM TABLE FINAL.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Error message:&amp;lt;/i&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;The work area "FINAL" is not long enough.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have declared the structure of the internal table FINAL same as the ZTABLE. Still I am getting the error message&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Jul 2006 13:41:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-15T13:41:50Z</dc:date>
    <item>
      <title>Syntax error in insert statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-insert-statment/m-p/1439579#M209262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to insert values an Internal table into a ZTABLE.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;INSERT ZTABLE FROM TABLE FINAL.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Error message:&amp;lt;/i&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;The work area "FINAL" is not long enough.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have declared the structure of the internal table FINAL same as the ZTABLE. Still I am getting the error message&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jul 2006 13:41:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-insert-statment/m-p/1439579#M209262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-15T13:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in insert statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-insert-statment/m-p/1439580#M209263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think in the ztable you have a field for mandt and that field you havent included in final internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare as follows:&lt;/P&gt;&lt;P&gt;data: begin of final occurs 0.&lt;/P&gt;&lt;P&gt;      include structure zfinal.&lt;/P&gt;&lt;P&gt;data: end of final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jul 2006 13:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-insert-statment/m-p/1439580#M209263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-15T13:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in insert statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-insert-statment/m-p/1439581#M209264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viven,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lit_ztable TYPE TABLE OF ztable,&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;INSERT ztable FROM TABLE lit_ztable               ACCEPTING DUPLICATE KEYS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Rward useful answer&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jul 2006 13:54:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-insert-statment/m-p/1439581#M209264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-15T13:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in insert statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-insert-statment/m-p/1439582#M209265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This error is because FINAL is not defined as an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare it as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : final like ztable occurs 0 with header line.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jul 2006 14:06:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-insert-statment/m-p/1439582#M209265</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-07-15T14:06:09Z</dc:date>
    </item>
  </channel>
</rss>

