<?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: How to declare internal table using include Pnnnn? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125966#M1708178</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;You can declare an internal table of type Pnnnn as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : gt_table type table of Pnnnn [with header line initial size 0].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : gt_table TYPE TABLE OF p0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will create internal table of type p0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use Include structure , below is an example - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF gs_table,&lt;/P&gt;&lt;P&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; INCLUDE STRUCTURE p0000,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END OF gs_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : gt_table TYPE STANDARD TABLE OF gs_table.&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;Chirag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2012 08:47:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-11-20T08:47:19Z</dc:date>
    <item>
      <title>How to declare internal table using include Pnnnn?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125963#M1708175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to create a internal table using include?&lt;/P&gt;&lt;P&gt;I am trying to define an internal table and a structure based on P0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S31"&gt;TYPES: BEGIN OF ty_p0000,&lt;BR /&gt;&lt;SPAN class="L1S31"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; include TYPE p0000,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L1S31"&gt;&amp;nbsp; END OF ty_p0000.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S31"&gt;DATA: g_p0000 type ty_p0000,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S31"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t_p0000 type TABLE OF ty_p0000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S31"&gt;the above statements creat a flat structure table where all columns are condensed into single column and all values are concatenated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S31"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="L1S52"&gt;data &lt;SPAN class="L1S52"&gt;BEGIN&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt; t_p0000 &lt;SPAN class="L1S52"&gt;OCCURS&lt;/SPAN&gt; &lt;SPAN class="L1S32"&gt;0&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;INCLUDE&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;type&lt;/SPAN&gt; p0000.&lt;BR /&gt;&lt;SPAN class="L1S52"&gt;data&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;END&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt; t_p0000.&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&lt;SPAN class="L1S52"&gt;data&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;BEGIN&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt; g_p0000. &lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;INCLUDE&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;type&lt;/SPAN&gt; p0000.&lt;BR /&gt;&lt;SPAN class="L1S52"&gt;data&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;END&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt; g_p0000.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;the above creates a table but this is obsolete.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S31"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 08:33:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125963#M1708175</guid>
      <dc:creator>atif_bhatti</dc:creator>
      <dc:date>2012-11-20T08:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to declare internal table using include Pnnnn?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125964#M1708176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; DATA&amp;nbsp; :&amp;nbsp;&amp;nbsp; BEGIN&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt;"&gt;OF&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; X_P0000.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Include&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt;"&gt;Structure&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; P0000.&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;END&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt;"&gt;OF&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; X_P0000,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; background: white; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TB_P0000&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Like&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt;"&gt;Standard&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt;"&gt;Table&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt;"&gt;of&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; X_P0000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;Hope this helps..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 08:37:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125964#M1708176</guid>
      <dc:creator>Venkat_Sesha</dc:creator>
      <dc:date>2012-11-20T08:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to declare internal table using include Pnnnn?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125965#M1708177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where P0000 is an infotype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above code is ok if its a structure but for infotype it will not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 08:45:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125965#M1708177</guid>
      <dc:creator>atif_bhatti</dc:creator>
      <dc:date>2012-11-20T08:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to declare internal table using include Pnnnn?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125966#M1708178</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;You can declare an internal table of type Pnnnn as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : gt_table type table of Pnnnn [with header line initial size 0].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : gt_table TYPE TABLE OF p0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will create internal table of type p0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use Include structure , below is an example - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF gs_table,&lt;/P&gt;&lt;P&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; INCLUDE STRUCTURE p0000,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END OF gs_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : gt_table TYPE STANDARD TABLE OF gs_table.&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;Chirag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 08:47:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125966#M1708178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-20T08:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to declare internal table using include Pnnnn?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125967#M1708179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;data&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;BEGIN&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt; g_p0000. &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;INCLUDE&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;type&lt;/SPAN&gt; p0000.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;data&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;END&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt; g_p0000.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;the above creates a table but this is obsolete.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;Instead of the above you can use :-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;TYPES : &lt;SPAN class="L0S52"&gt;BEGIN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;gs_p0000.&lt;BR /&gt;&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;include &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;p0000.&lt;BR /&gt;TYPES:&amp;nbsp; &lt;SPAN class="L0S52"&gt;END &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;gs_p0000.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;: gt_p0000 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;STANDARD &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;gs_p0000.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 08:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125967#M1708179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-20T08:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to declare internal table using include Pnnnn?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125968#M1708180</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;Just use the structure of that Infotype &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/157836" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 09:06:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125968#M1708180</guid>
      <dc:creator>Venkat_Sesha</dc:creator>
      <dc:date>2012-11-20T09:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to declare internal table using include Pnnnn?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125969#M1708181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;types: &lt;SPAN class="L1S52"&gt;BEGIN&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt; ty_p0000,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;include&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;structure&lt;/SPAN&gt; p0000,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;END&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt; ty_p0000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;getting an error message the key word structure has been highlighted with red color.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;message text: "," expected after include.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;If I replace structure with type then there is no syntax error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 09:31:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125969#M1708181</guid>
      <dc:creator>atif_bhatti</dc:creator>
      <dc:date>2012-11-20T09:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to declare internal table using include Pnnnn?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125970#M1708182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;TYPES : &lt;SPAN class="L0S52"&gt;BEGIN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF ty&lt;/SPAN&gt;_p0000.&lt;BR /&gt;&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;include &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;p0000.&lt;BR /&gt;TYPES:&amp;nbsp; &lt;SPAN class="L0S52"&gt;END &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF ty&lt;/SPAN&gt;_p0000.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;: ti_p0000 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;STANDARD &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF ty&lt;/SPAN&gt;_p0000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if you want to use structure then use :- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;DATA : &lt;SPAN class="L0S52"&gt;BEGIN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;ty_p0000.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;include &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;structure &lt;/SPAN&gt;p0000.&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;: &lt;SPAN class="L0S52"&gt;END &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;ty_p0000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;But this is outdated ( as u told &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1079/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; ).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 09:42:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125970#M1708182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-20T09:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to declare internal table using include Pnnnn?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125971#M1708183</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;Just try using the following global declarations (just like DATA, TYPES, TABLES statement).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;INFOTYPES: Pnnnn.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;There are various parameters following this declaration which is mentioned in help (F1).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Hardik Mehta&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 09:55:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125971#M1708183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-20T09:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to declare internal table using include Pnnnn?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125972#M1708184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="message-body"&gt;I got the correct answer &lt;/P&gt;&lt;P class="message-body"&gt;&lt;/P&gt;&lt;P class="message-body"&gt;Types: ty_p0000 type p0000. &lt;BR /&gt;Data: g_p0000 type ty_p0000, &lt;BR /&gt;Gt_p0000 like table of g_p0000. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The other way, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ty_p0000, &lt;BR /&gt;include TYPE p0000, &lt;BR /&gt;END OF ty_p0000. &lt;BR /&gt;DATA: g_p0000 type ty_p0000, &lt;BR /&gt;t_p0000 type TABLE OF ty_p0000 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field is p0000 and you address each by p0000 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So t_p0000-p0000-pernr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read table t_p0000 &lt;BR /&gt;With key p0000-pernr = prel-pernr. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 11:53:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125972#M1708184</guid>
      <dc:creator>atif_bhatti</dc:creator>
      <dc:date>2012-11-20T11:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to declare internal table using include Pnnnn?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125973#M1708185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to use &lt;STRONG&gt;PA0000&lt;/STRONG&gt;, since that's the underlying database table for the infotype P0000.&amp;nbsp; Your open SQL Select would also obtain data from PA0000.&amp;nbsp; On the other hand, you could also use the function modules named like HR_READ...but the most commonly used (HR_READ_INFOTYPE) is for one pernr at a time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 21:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125973#M1708185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-20T21:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to declare internal table using include Pnnnn?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125974#M1708186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or even more simply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA lt_p0000 TYPE STANDARD TABLE OF p0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Amy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 21:39:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-internal-table-using-include-pnnnn/m-p/9125974#M1708186</guid>
      <dc:creator>amy_king</dc:creator>
      <dc:date>2012-11-20T21:39:12Z</dc:date>
    </item>
  </channel>
</rss>

