<?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 Internal Table - Work Area issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-work-area-issue/m-p/4600150#M1084307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guru's:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am selecting the mentioned fields from TVAKT into t_itt1 (internal table) - I however an encountering &lt;STRONG&gt;"you canot use an internal table as a work area"&lt;/STRONG&gt; as an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: s_bezei LIKE tvakt-bezei,&lt;/P&gt;&lt;P&gt;      s_auart LIKE tvakt-auart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA t_itt1 LIKE tvakt OCCURS 0.&lt;/P&gt;&lt;P&gt;DATA z_itt LIKE tvakt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its at this stage of the code that I am facing this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT spras auart bezei FROM tvakt&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INTO t_itt1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE bezei IN s_bezei&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AND auart IN s_auart.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;would appreciate your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Oct 2008 18:58:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-17T18:58:57Z</dc:date>
    <item>
      <title>Internal Table - Work Area issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-work-area-issue/m-p/4600150#M1084307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guru's:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am selecting the mentioned fields from TVAKT into t_itt1 (internal table) - I however an encountering &lt;STRONG&gt;"you canot use an internal table as a work area"&lt;/STRONG&gt; as an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: s_bezei LIKE tvakt-bezei,&lt;/P&gt;&lt;P&gt;      s_auart LIKE tvakt-auart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA t_itt1 LIKE tvakt OCCURS 0.&lt;/P&gt;&lt;P&gt;DATA z_itt LIKE tvakt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its at this stage of the code that I am facing this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT spras auart bezei FROM tvakt&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INTO t_itt1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE bezei IN s_bezei&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AND auart IN s_auart.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;would appreciate your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 18:58:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-work-area-issue/m-p/4600150#M1084307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T18:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table - Work Area issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-work-area-issue/m-p/4600151#M1084308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to change your code, since you're selecting only one line not several lines when you're using internal tables in the select command you need to use the &lt;STRONG&gt;INTO TABLE&lt;/STRONG&gt; clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT spras auart bezei FROM tvakt
INTO TABLE t_itt1
WHERE bezei IN s_bezei
AND auart IN s_auart.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 19:01:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-work-area-issue/m-p/4600151#M1084308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T19:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table - Work Area issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-work-area-issue/m-p/4600152#M1084309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of INTO use INTO TABLE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 19:01:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-work-area-issue/m-p/4600152#M1084309</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-10-17T19:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table - Work Area issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-work-area-issue/m-p/4600153#M1084310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your valuable inputs: i did make the necessary chagnes as mentioned, I however an encountering another bug:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;near the where clause this is what i am encountering &lt;STRONG&gt;"The IN operator with S_SPRAS is followed neither by an internal table nor by a vlue list"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT spras auart bezei FROM tvakt&lt;/P&gt;&lt;P&gt;INTO TABLE t_itt1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE spras IN s_spras&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;AND auart IN s_auart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;would appreciate any help..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 19:33:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-work-area-issue/m-p/4600153#M1084310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T19:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table - Work Area issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-work-area-issue/m-p/4600154#M1084311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, how is s_spras defined?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 19:37:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-work-area-issue/m-p/4600154#M1084311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T19:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table - Work Area issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-work-area-issue/m-p/4600155#M1084312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to change the declaration of the s_spras to use the &lt;STRONG&gt;IN&lt;/STRONG&gt; clause:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See these for more informations: &lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/18/a1f251e28b11d295f500a0c929b3c3/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/18/a1f251e28b11d295f500a0c929b3c3/frameset.htm&lt;/A&gt; and &lt;SPAN __jive_macro_name="thread" id="155168"&gt;&lt;/SPAN&gt;.&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, 17 Oct 2008 19:37:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-work-area-issue/m-p/4600155#M1084312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T19:37:44Z</dc:date>
    </item>
  </channel>
</rss>

