<?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: error: you cannot create an internal table as work area in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-you-cannot-create-an-internal-table-as-work-area/m-p/3950023#M944385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Bujji, i tried urs too. but as i told Kannaigh, i am getting the error "specified type has no structure and therefore no component called" , "VBELN"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 May 2008 13:16:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-30T13:16:04Z</dc:date>
    <item>
      <title>error: you cannot create an internal table as work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-you-cannot-create-an-internal-table-as-work-area/m-p/3950019#M944381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, My code is as follows and when i perform a check it gives the above mentioned error in the select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t_vbrk,&lt;/P&gt;&lt;P&gt;        vbeln            TYPE vbrk-vbeln,&lt;/P&gt;&lt;P&gt;        vtweg            TYPE vbrk-vtweg,&lt;/P&gt;&lt;P&gt;      END OF t_vbrk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA vbrktab TYPE TABLE OF t_vbrk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT      vbeln&lt;/P&gt;&lt;P&gt;                vtweg&lt;/P&gt;&lt;P&gt;         FROM   vbrk&lt;/P&gt;&lt;P&gt;         INTO  vbrktab&lt;/P&gt;&lt;P&gt;         FOR ALL ENTRIES IN xxcvb&lt;/P&gt;&lt;P&gt;         WHERE  vbeln       = xxcvb-vbeln.&lt;/P&gt;&lt;P&gt;      INSERT TABLE vbrktab.&lt;/P&gt;&lt;P&gt;    ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where xxcvb is another internal table with some key values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 12:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-you-cannot-create-an-internal-table-as-work-area/m-p/3950019#M944381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T12:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: error: you cannot create an internal table as work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-you-cannot-create-an-internal-table-as-work-area/m-p/3950020#M944382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TYPES: BEGIN OF t_vbrk,&lt;/P&gt;&lt;P&gt;vbeln TYPE vbrk-vbeln,&lt;/P&gt;&lt;P&gt;vtweg TYPE vbrk-vtweg,&lt;/P&gt;&lt;P&gt;END OF t_vbrk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA vbrktab TYPE TABLE OF t_vbrk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT vbeln&lt;/P&gt;&lt;P&gt;vtweg&lt;/P&gt;&lt;P&gt;FROM vbrk&lt;/P&gt;&lt;P&gt;INTO &lt;STRONG&gt;TABLE&lt;/STRONG&gt; vbrktab&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN xxcvb&lt;/P&gt;&lt;P&gt;WHERE vbeln = xxcvb-vbeln.&lt;/P&gt;&lt;P&gt;INSERT TABLE vbrktab.&lt;/P&gt;&lt;P&gt;ENDSELECT.&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;Kannaiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 12:51:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-you-cannot-create-an-internal-table-as-work-area/m-p/3950020#M944382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T12:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: error: you cannot create an internal table as work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-you-cannot-create-an-internal-table-as-work-area/m-p/3950021#M944383</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;  Check the below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA vbrktab TYPE TABLE OF t_vbrk,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wa_vbrktab type t_vbrk.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT vbeln&lt;/P&gt;&lt;P&gt;vtweg&lt;/P&gt;&lt;P&gt;FROM vbrk&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INTO wa_vbrktab&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN xxcvb&lt;/P&gt;&lt;P&gt;WHERE vbeln = xxcvb-vbeln.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Append wa_vbrktab to vbrktab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Bujji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 12:53:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-you-cannot-create-an-internal-table-as-work-area/m-p/3950021#M944383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T12:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: error: you cannot create an internal table as work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-you-cannot-create-an-internal-table-as-work-area/m-p/3950022#M944384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks kannaiah, but now i am getting another error following that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it says "specified type has no structure and therefore no component called" , "VBELN"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what can it mean ? again it is pointing to the same SELECT statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 13:12:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-you-cannot-create-an-internal-table-as-work-area/m-p/3950022#M944384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T13:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: error: you cannot create an internal table as work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-you-cannot-create-an-internal-table-as-work-area/m-p/3950023#M944385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Bujji, i tried urs too. but as i told Kannaigh, i am getting the error "specified type has no structure and therefore no component called" , "VBELN"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 13:16:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-you-cannot-create-an-internal-table-as-work-area/m-p/3950023#M944385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T13:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: error: you cannot create an internal table as work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-you-cannot-create-an-internal-table-as-work-area/m-p/3950024#M944386</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;I don't know how you've defined XXCVB, but u should write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF T_VBRK,
         VBELN TYPE VBRK-VBELN,
         VTWEG TYPE VBRK-VTWEG,
       END OF T_VBRK.

DATA: VBRKTAB    TYPE TABLE OF T_VBRK,
      WA_VBRKTAB TYPE T_VBRK.


SELECT VBELN VTWEG FROM VBRK INTO TABLE VBRKTAB
  FOR ALL ENTRIES IN XXCVB
     WHERE VBELN = XXCVB-VBELN.

LOOP AT VBRKTAB INTO WA_VBRKTAB.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 13:20:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-you-cannot-create-an-internal-table-as-work-area/m-p/3950024#M944386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T13:20:37Z</dc:date>
    </item>
  </channel>
</rss>

