<?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: Selecting into an internal table with deep structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-into-an-internal-table-with-deep-structure/m-p/4971846#M1158696</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will this solve ur requirement -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: tt_bdc type standard table of bdcmsgcoll&lt;/P&gt;&lt;P&gt;      with default key.&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;data:  begin of t_test occurs 0,&lt;/P&gt;&lt;P&gt;        vbeln like vbak-vbeln,&lt;/P&gt;&lt;P&gt;        tab   type tt_bdc,&lt;/P&gt;&lt;P&gt;      end of t_test.&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;select vbeln from vbak into &lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;CORRESPONDING FIELDS OF TABLE t_test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  where aedat &amp;gt; '20081101'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2009 17:14:58 GMT</pubDate>
    <dc:creator>amit_khare</dc:creator>
    <dc:date>2009-01-06T17:14:58Z</dc:date>
    <item>
      <title>Selecting into an internal table with deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-into-an-internal-table-with-deep-structure/m-p/4971845#M1158695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working in ECC 6.0 now and it is giving me a syntax error for the following code.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;types: tt_bdc type standard table of bdcmsgcoll
      with default key.
     
data:  begin of t_test occurs 0,
        vbeln like vbak-vbeln,
        tab   type tt_bdc,
      end of t_test.
     
select vbeln from vbak into table t_test
  where aedat &amp;gt; '20081101'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is:&lt;/P&gt;&lt;P&gt;+The work area (or internal table) "T_TEST" is not flat, or contains&lt;/P&gt;&lt;P&gt;reference or internal tables as components . components. components.&lt;/P&gt;&lt;P&gt;components. components.+&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've done this in countless other programs in the past.  How can I use a deep structure this way?  What am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 17:08:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-into-an-internal-table-with-deep-structure/m-p/4971845#M1158695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T17:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting into an internal table with deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-into-an-internal-table-with-deep-structure/m-p/4971846#M1158696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will this solve ur requirement -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: tt_bdc type standard table of bdcmsgcoll&lt;/P&gt;&lt;P&gt;      with default key.&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;data:  begin of t_test occurs 0,&lt;/P&gt;&lt;P&gt;        vbeln like vbak-vbeln,&lt;/P&gt;&lt;P&gt;        tab   type tt_bdc,&lt;/P&gt;&lt;P&gt;      end of t_test.&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;select vbeln from vbak into &lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;CORRESPONDING FIELDS OF TABLE t_test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  where aedat &amp;gt; '20081101'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 17:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-into-an-internal-table-with-deep-structure/m-p/4971846#M1158696</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2009-01-06T17:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting into an internal table with deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-into-an-internal-table-with-deep-structure/m-p/4971847#M1158697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Amit,&lt;/P&gt;&lt;P&gt;I guessed at this after reading this page:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/EN/fc/eb39eb358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/EN/fc/eb39eb358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hate into corresponding fields due to the overhead, but I see no other option.  For now, this gets me done though so thanks very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ray&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 17:25:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-into-an-internal-table-with-deep-structure/m-p/4971847#M1158697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T17:25:18Z</dc:date>
    </item>
  </channel>
</rss>

