<?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 Tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055844#M969530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Radhika,&lt;/P&gt;&lt;P&gt;Welcome to SAP world. You can check the below SAP help link, you can get complete information about internal tables, how many types, how to declare and how to process etc.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen Veshala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jul 2008 04:00:08 GMT</pubDate>
    <dc:creator>former_member265047</dc:creator>
    <dc:date>2008-07-03T04:00:08Z</dc:date>
    <item>
      <title>Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055840#M969526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very new to ABAP.&lt;/P&gt;&lt;P&gt;could u please clarify the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.In how many ways can we declare an internal table (wa,body,header line,structure like...)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.How to choose suitable decleration?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz give one example for each type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;helpful answers will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;Radhika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 03:54:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055840#M969526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T03:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055841#M969527</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;Welcome to SDN ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out the below related threads .. Hope it helps .&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="744104"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4265256"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4870663"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 03:57:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055841#M969527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T03:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055842#M969528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can also make  a search in forums or google&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 03:57:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055842#M969528</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2008-07-03T03:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055843#M969529</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;There are 2 ways by which u can declare internal table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with header line / without header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.with header line&lt;/P&gt;&lt;P&gt;Data : itab like &amp;lt;table-name&amp;gt; occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. without header line&lt;/P&gt;&lt;P&gt;Data : itab type table of &amp;lt;table-name&amp;gt;&lt;/P&gt;&lt;P&gt;data : wa like line of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u want to go with Sap standards then choose 2nd option but sometimes it will become lengthy so we take internal table with header lines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 03:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055843#M969529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T03:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055844#M969530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Radhika,&lt;/P&gt;&lt;P&gt;Welcome to SAP world. You can check the below SAP help link, you can get complete information about internal tables, how many types, how to declare and how to process etc.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen Veshala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 04:00:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055844#M969530</guid>
      <dc:creator>former_member265047</dc:creator>
      <dc:date>2008-07-03T04:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055845#M969531</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;1.In how many ways can we declare an internal table (wa,body,header line,structure like...)?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A : Please search in SDN forum&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;2.How to choose suitable decleration?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A : Please search in SDN forum&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 04:06:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055845#M969531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T04:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055846#M969532</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;/P&gt;&lt;P&gt;By using the Data statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 	-1  By referring to another table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	- 2 By referring to a structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	- 3 With a new structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	In the (1 and 2) first two cases Header line is optional. In the third (3) case Header line is created by default. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Example:&lt;/P&gt;&lt;P&gt;		DATA t_line TYPE line OCCURS 10 with header line. &lt;/P&gt;&lt;P&gt;2 Example:&lt;/P&gt;&lt;P&gt;		      DATA flight_tab LIKE sflight OCCURS 10.&lt;/P&gt;&lt;P&gt;		     &lt;/P&gt;&lt;P&gt;3 Syntax&lt;/P&gt;&lt;P&gt;		   Data : Begin of &amp;lt;f&amp;gt; occurs &amp;lt;n&amp;gt;,&lt;/P&gt;&lt;P&gt;			&amp;lt;component declaration&amp;gt;,&lt;/P&gt;&lt;P&gt;			u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026,&lt;/P&gt;&lt;P&gt;			End of &amp;lt;f&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;		Work area (Header) is created by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 04:35:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055846#M969532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T04:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055847#M969533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You can define Internal tables in 2 ways&lt;/P&gt;&lt;P&gt;1. with header line&lt;/P&gt;&lt;P&gt;2. with out headerline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When u choose with headerline option, there is no need to create workarea, as it itself creates 1.&lt;/P&gt;&lt;P&gt;So u should be very careful in refreshing the internal table, because the name of the internal table and work area would be same, but the only differene is ,&lt;/P&gt;&lt;P&gt;u can refer internal table body as,         'itabname[]'&lt;/P&gt;&lt;P&gt;and header(work area) as                    ' itabname'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;coming to internal table without headerline,&lt;/P&gt;&lt;P&gt;u have to creatr workarea explicitly, as&lt;/P&gt;&lt;P&gt;1. like lint type of internal table&lt;/P&gt;&lt;P&gt;2. type structure type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex for internal table without header line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*declaration of structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: befin of ty_example,&lt;/P&gt;&lt;P&gt;          v_no type i,&lt;/P&gt;&lt;P&gt;          v_age type i,&lt;/P&gt;&lt;P&gt;         end of ty_example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*declaration of internal table:&lt;/P&gt;&lt;P&gt;data: i_example type standard table of ty_example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*declaration of work area:&lt;/P&gt;&lt;P&gt; data: wa_example like line of i_example          (or)&lt;/P&gt;&lt;P&gt; data: wa_example type ty_example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a good practice to use internal table without headerline.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 04:49:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/4055847#M969533</guid>
      <dc:creator>former_member654348</dc:creator>
      <dc:date>2008-07-03T04:49:37Z</dc:date>
    </item>
  </channel>
</rss>

