<?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: Internal table error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/2486197#M560674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE ZTAB FROM TABLE itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No loop is required then as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jul 2007 16:20:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-20T16:20:39Z</dc:date>
    <item>
      <title>Internal table error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/2486196#M560673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends...&lt;/P&gt;&lt;P&gt;    I am updating the database from Internal table  with this syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab type standard table of ztab with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;   update ztab from itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it gives me the error "the work area Itab is not long enough. "&lt;/P&gt;&lt;P&gt;i have used explicit work area as well here then i found the same erro as well. please tell me what is the problem here... any help appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 16:08:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/2486196#M560673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-20T16:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/2486197#M560674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE ZTAB FROM TABLE itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No loop is required then as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 16:20:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/2486197#M560674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-20T16:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/2486198#M560675</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;  this works fine.. check with ur ztab is it exist or not and also ensure that you declare this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : ztab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab type standard table of ztab with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;update ztab from itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&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;update ztab from table itab[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 16:27:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/2486198#M560675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-20T16:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/2486199#M560676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your error message is due to that: &lt;/P&gt;&lt;P&gt;Your internal table structure is not same as the database table.&lt;/P&gt;&lt;P&gt;The syntaxt you are using, the internal table should have exact structure as the database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: ztab&lt;/P&gt;&lt;P&gt;DATA: itab type table of ztab initial size 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. update ztab from table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will update whole line of your ZTAB by comparing the key fields from itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to update only one or two fields, you can use SET along with UPDATE,&lt;/P&gt;&lt;P&gt;please refer to the doc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;A.Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jul 2007 02:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/2486199#M560676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-21T02:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/2486200#M560677</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;  First make sure that sturcutre of internal table and ztab is same.&lt;/P&gt;&lt;P&gt;  Instead of modifying table in loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Modify internal table itself and then make mass update to customized table.&lt;/P&gt;&lt;P&gt;  Check below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT itab.&lt;/P&gt;&lt;P&gt;      MODIFY itab INDEX sy-index.&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODIFY ztab FROM TABLE itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit R.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jul 2007 04:21:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/2486200#M560677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-21T04:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/2486201#M560678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope error would have solved...&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;MM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Aug 2007 10:41:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/2486201#M560678</guid>
      <dc:creator>Manoj_Mahajan78</dc:creator>
      <dc:date>2007-08-19T10:41:44Z</dc:date>
    </item>
  </channel>
</rss>

