<?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 Difference between local types and internal types in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-local-types-and-internal-types/m-p/6952409#M1488870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the class builder (se24) I have the choice to create local types (button in the toolbar) and internal types (tab). The only difference I know is that local types are always private while internal types can go from private to public.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a rule when I should favor internal types over local types (apart from the visibility) and vice versa?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jun 2010 06:31:58 GMT</pubDate>
    <dc:creator>alejiandro_sensejl</dc:creator>
    <dc:date>2010-06-21T06:31:58Z</dc:date>
    <item>
      <title>Difference between local types and internal types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-local-types-and-internal-types/m-p/6952409#M1488870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the class builder (se24) I have the choice to create local types (button in the toolbar) and internal types (tab). The only difference I know is that local types are always private while internal types can go from private to public.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a rule when I should favor internal types over local types (apart from the visibility) and vice versa?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 06:31:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-local-types-and-internal-types/m-p/6952409#M1488870</guid>
      <dc:creator>alejiandro_sensejl</dc:creator>
      <dc:date>2010-06-21T06:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between local types and internal types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-local-types-and-internal-types/m-p/6952410#M1488871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;local types are always private&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;These types are private within the class pool, which means are private to global class itself + any local classes you define within the class pool. Outside are indeed inaccessible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal types can go from private to public&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;These types are private to global class but unless are set explicitly as public there are invisible to all local classes defined in class pool. The visibility of these data types can be individualy set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a rule when I should favor internal types over local types (apart from the visibility) and vice versa?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I think the only advantage from having "internal types" over local types is that it can be accessed by subclass or friend class depending on the type of visibility you have choosen, but are invisible to all local classes (except for being declared as public). In contrary all local types can stay only local, nothing more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 07:27:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-local-types-and-internal-types/m-p/6952410#M1488871</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-06-21T07:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between local types and internal types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-local-types-and-internal-types/m-p/6952411#M1488872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; use  local types (button in the toolbar) -&amp;gt;if you want to create local classes and interfaces &lt;/P&gt;&lt;P&gt;  and internal types (tab) -&amp;gt; if you want to create local data types .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 07:31:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-local-types-and-internal-types/m-p/6952411#M1488872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-21T07:31:16Z</dc:date>
    </item>
  </channel>
</rss>

