<?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: Code Inspector Checks in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-checks/m-p/4220081#M1008330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When we define an internal table like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA itab TYPE STANDARD TABLE OF T001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we create an internal table without a heading record, with the same exact structure of T001. &lt;/P&gt;&lt;P&gt;If you define an internal table using OCCURS, which seems to be outdated, you explicitly define the table's size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So TYPE TABLE OF is better..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2008 09:03:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-23T09:03:46Z</dc:date>
    <item>
      <title>Code Inspector Checks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-checks/m-p/4220080#M1008329</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 am doing Code Inspector Check for my Program.&lt;/P&gt;&lt;P&gt;Doing this, I am getting an Error Message Indicating to use TYPE TABLE OF instead of OCCURS 0 statement while declaring Internal Tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question is, Is there any difference between TYPE TABLE OF and  OCCURS 0 (Performance wise) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Helpful answers will be rewarder by points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Swatantra Pathak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 08:59:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-checks/m-p/4220080#M1008329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T08:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Code Inspector Checks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-checks/m-p/4220081#M1008330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When we define an internal table like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA itab TYPE STANDARD TABLE OF T001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we create an internal table without a heading record, with the same exact structure of T001. &lt;/P&gt;&lt;P&gt;If you define an internal table using OCCURS, which seems to be outdated, you explicitly define the table's size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So TYPE TABLE OF is better..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 09:03:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-checks/m-p/4220081#M1008330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T09:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Code Inspector Checks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-checks/m-p/4220082#M1008331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;occurs 0 will allocate a memory of 8kb statically....but &lt;/P&gt;&lt;P&gt;type standard table is a dynamic one it will allocate memory dynamically for the internal table...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 09:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-checks/m-p/4220082#M1008331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T09:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Code Inspector Checks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-checks/m-p/4220083#M1008332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OCCURS 0 is obsolete now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we define internal table with OCCURS 0 it will allocate a default memory of 8KB. In TYPE TABLE/STANDARD TABLE OF it is dynamic i.e as and when we get a record memory will be allocated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: If ur itab is with OCCURS 0 and u have data of size 2kb then 6KB memory is wasted i.e allocated and not used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg2: If ur itab is with OCCURS 0 , Each record accupies 1 KB. Then after filling 8 records and at the time of getting 9 th records another 8KB is allocated. If u have 9 records in ur table then 7KB is wasted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u r getting allocated with some memory(Resource) and not using means performancewise it is bad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope above examples are clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 09:11:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-checks/m-p/4220083#M1008332</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-07-23T09:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Code Inspector Checks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-checks/m-p/4220084#M1008333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vinod...&lt;/P&gt;&lt;P&gt;doubt is clear now...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 09:20:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-checks/m-p/4220084#M1008333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T09:20:40Z</dc:date>
    </item>
  </channel>
</rss>

