<?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 and work area in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814795#M1469504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At what point are you getting this error? Are you getting it while looping at the internal table it_mytable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Apr 2010 07:50:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-07T07:50:51Z</dc:date>
    <item>
      <title>Internal Table and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814794#M1469503</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;in BC400 it is written I shall do something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: it_mytable TYPE TABLE OF Z_TABLEA,
wa_mywork LIKE LINE OF it_mytable.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Z_TABLEA is a table existing in the dictionary. I am getting now an error in the ABAP editor:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
The internal table "it_mytable" has no header line - explicit 
specification of an output area with "INTO wa" or "ASSIGNING &amp;lt;fs&amp;gt;" is 
required.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course in the BC400 sample code they don't use table Z_TABLEA but some other table. Is there a difference between my table and the BC400 table? What is the difference and what do I have to do?&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, 07 Apr 2010 07:46:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814794#M1469503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-07T07:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814795#M1469504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At what point are you getting this error? Are you getting it while looping at the internal table it_mytable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 07:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814795#M1469504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-07T07:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814796#M1469505</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 error may be due to the following reason:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are using internal table name(table without header line) instead of work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Soln: Create one work area and use instead of internal table name  in slect query after INTO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Rocky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 07:53:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814796#M1469505</guid>
      <dc:creator>Rocky1</dc:creator>
      <dc:date>2010-04-07T07:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814797#M1469506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;while loop .. endloop, you have to use "loop at it_mytable  into wa_mywork".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 07:54:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814797#M1469506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-07T07:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814798#M1469507</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;Incase of internal without header line , you need to use into workarea .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you have to declare the internal table with headerline explicitly.&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, 07 Apr 2010 07:54:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814798#M1469507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-07T07:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814799#M1469508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi karl ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this error u are getting because u have created the internal table without the header line , to create the table with header line &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: it_mytable TYPE TABLE OF Z_TABLEA with header line.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are selecting or looping the table then either it should be move to wordarea or headerline if defined or field symbol.&lt;/P&gt;&lt;P&gt;its better to create work area insted of header line like u have done&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: it_mytable TYPE TABLE OF Z_TABLEA,
wa_mywork LIKE LINE OF it_mytable.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;if you are getting the error in select u have to do it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single field1 field2&lt;/P&gt;&lt;P&gt;into wa_mywork&lt;/P&gt;&lt;P&gt;from z_tablea&lt;/P&gt;&lt;P&gt;where your condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while looping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_mytable into wa_mywork.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;tanmaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 07:57:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814799#M1469508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-07T07:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814800#M1469509</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;Declare internal table with header line or declare workarea seperately of type Z_TABLEA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : it_mytable TYPE TABLE OF Z_TABLEA,&lt;/P&gt;&lt;P&gt;          wa_mytable type Z_TABLEA.&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;data : it_mytable LIKE Z_TABLEA OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lokeswari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 07:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814800#M1469509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-07T07:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814801#M1469510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Karl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you write like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_mytable TYPE standard TABLE OF Z_TABLEA,&lt;/P&gt;&lt;P&gt;wa_mywork LIKE LINE OF it_mytable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 08:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-and-work-area/m-p/6814801#M1469510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-07T08:01:00Z</dc:date>
    </item>
  </channel>
</rss>

