<?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 declaration in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382971#M1734233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Egeman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if you declare : w_tab type t_t_tab will throw you a syntax error.&lt;/P&gt;&lt;P&gt;but if you declare it like&amp;nbsp; w_tab like t_t_tab then it will create an internal table of the same type as t_t_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santanu Mohapatra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Apr 2013 14:43:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-04-18T14:43:03Z</dc:date>
    <item>
      <title>Internal table declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382970#M1734232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an example from some code, that placed a question mark inside my head &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1389/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; So i have a simple example here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN class="L0S52"&gt;types&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;begin &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;of t_table&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pernr&amp;nbsp; &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;p2001&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;pernr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;end &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;of &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;t_table&lt;/SPAN&gt;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;BR /&gt;Now we declare a itab like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t_t_tab type standard table of t_table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;and a workarea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; w_tab type t_table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;However, what does this do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; w_tab type t_t_tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Can you please explain?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 13:57:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382970#M1734232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-18T13:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382971#M1734233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Egeman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if you declare : w_tab type t_t_tab will throw you a syntax error.&lt;/P&gt;&lt;P&gt;but if you declare it like&amp;nbsp; w_tab like t_t_tab then it will create an internal table of the same type as t_t_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santanu Mohapatra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 14:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382971#M1734233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-18T14:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382972#M1734234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Egeman ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you declare like 'data : w_tab type t_t_tab' , It will get create the without header line Internal table with name &lt;STRONG&gt;w_tab&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;BR /&gt;Mallikarjun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 15:01:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382972#M1734234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-18T15:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382973#M1734235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you declare t_t_tab as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : t_t_tab type standard table of t_table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then data : w_tab type t_t_tab, then w_tab becomes a standard internal table with the structure same as t_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else as Santanu has correctly mentioned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 15:20:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382973#M1734235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-18T15:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382974#M1734236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Egemen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it will refer to an existing data object for the type which you have created before.........and its not &lt;STRONG&gt;type&lt;/STRONG&gt; it is &lt;STRONG&gt;like&lt;/STRONG&gt;. you got to know the difference between type and like. so hoping it is clear goodbye........&lt;SPAN __jive_emoticon_name="cool" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1389/images/emoticons/cool.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;narayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 15:20:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382974#M1734236</guid>
      <dc:creator>uppu_narayan</dc:creator>
      <dc:date>2013-04-18T15:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382975#M1734237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF YOU DECLARE &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; T_T_TAB&amp;nbsp; TYPE STANDARD TABLE OF T_TABLE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;T_T_TAB&lt;/SPAN&gt; IS A TYPE TABLE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;THEN,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;DATA:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt; WA_TAB TYPE T_T_TAB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;WA_TAB IS A INTERNAL TABLE WITH STRUCTURE T_TABLE.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 15:28:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382975#M1734237</guid>
      <dc:creator>alessandroieva</dc:creator>
      <dc:date>2013-04-18T15:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382976#M1734238</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;Please be note that Work area should always have a same structure . So what ever the structure that you have created &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;t_table&lt;/SPAN&gt;. Work area should be of that structure only &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&amp;nbsp; w_tab type t_table&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you have defined an internal t_t_tab and for that line &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;w_tab type t_t_tab&lt;/SPAN&gt;.&amp;nbsp; The system itself will tell that t_t_tab is unknown but there is similar name t_table.Its an error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that work area should have same structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this line : w_tab like t_t_tab if you specify like this then ur w_tab have as same structure of that table and also act as an internal table too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 18:13:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382976#M1734238</guid>
      <dc:creator>former_member189845</dc:creator>
      <dc:date>2013-04-18T18:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382977#M1734239</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;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;If you declare&lt;STRONG&gt; w_tab type t_t_tab,&lt;/STRONG&gt; it will act as an &lt;STRONG&gt;Internal Table.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Prasanna. &lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 13:27:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382977#M1734239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-24T13:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382978#M1734240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simplify you life!&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;types&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt; t_pernr&amp;nbsp; &lt;SPAN class="L0S52"&gt;type table of&amp;nbsp; &lt;/SPAN&gt;p2001&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;pernr.&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 14:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382978#M1734240</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2013-04-24T14:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382979#M1734241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Hi Egeman,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;data&amp;nbsp; w_tab type t_table&amp;nbsp; ( w_tab behaves like work area) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;data w_tab type t_t_tab (which gives syntax error)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;data w_tab like t_t_tab (here w_tab is a internal table )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;data w_tab like line of&amp;nbsp; t_t_tab ( here w_tab is a work area)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Chinni&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 05:53:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declaration/m-p/9382979#M1734241</guid>
      <dc:creator>chinni_adapa</dc:creator>
      <dc:date>2013-04-25T05:53:52Z</dc:date>
    </item>
  </channel>
</rss>

