<?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: abap objects in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1743424#M322779</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;Public Section:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;main class can access&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;sub class can access&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;friend class can access&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Protected Section:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;main class can access &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;sub class can access&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;friend class can access&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Private Section:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;main class can access with the help of public mehod&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;sub class cannot access&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;friend class can access&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Dec 2006 06:12:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-08T06:12:45Z</dc:date>
    <item>
      <title>abap objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1743422#M322777</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;wat is the difference betn public and private and protected in aba objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 05:56:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1743422#M322777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T05:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: abap objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1743423#M322778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Public Section&lt;/P&gt;&lt;P&gt;All of the components declared in the public section are accessible to all users of the class, and to the methods of the class and any classes that inherit from it. The public components of the class form the interface between the class and its users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Protected Section&lt;/P&gt;&lt;P&gt;All of the components declared in the protected section are accessible to all methods of the class and of classes that inherit from it. Protected components form a special interface between a class and its subclasses. Since inheritance is not active in Release 4.5B, the protected section currently has the same effect as the private section. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Private Section&lt;/P&gt;&lt;P&gt;Components that you declare in the private section are only visible in the methods of the same class. The private components are not part of the external interface of the class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 06:01:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1743423#M322778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T06:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: abap objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1743424#M322779</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;Public Section:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;main class can access&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;sub class can access&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;friend class can access&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Protected Section:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;main class can access &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;sub class can access&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;friend class can access&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Private Section:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;main class can access with the help of public mehod&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;sub class cannot access&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;friend class can access&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 06:12:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1743424#M322779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T06:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: abap objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1743425#M322780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically the idea of sections(public, protected and private) is to restrict the access to those variables/itabs, etc that you declared in a given section. Here are its description:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Public Section &lt;/P&gt;&lt;P&gt;All of the components in the public sections are visible to all users of the class, and to the methods of the class and its subclasses. The public components form the external interface between the class and its users. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Protected Section &lt;/P&gt;&lt;P&gt;All of the components in the protected section are visible to the methods of the class and its subclasses. This section forms a special interface between the class and the classes that inherit from it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Private Section &lt;/P&gt;&lt;P&gt;The components that you declare in the private section are only visible in the methods of the class itself. They are not visible at all externally. The private components form no part of the external interface between the class and its users. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;pankaj singh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edited by pankaj singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 06:21:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1743425#M322780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T06:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: abap objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1743426#M322781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No Matter which technology we are going to use,the OOPs concepts are going to remain same, so as in ABAP also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward point if helpfull.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 06:29:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1743426#M322781</guid>
      <dc:creator>former_member508729</dc:creator>
      <dc:date>2006-12-08T06:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: abap objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1743427#M322782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANKS FOR ALL UR ANSWERS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 06:29:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1743427#M322782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T06:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: abap objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1743428#M322783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of  the three Access Specifiers,&lt;/P&gt;&lt;P&gt;components declared as,&lt;/P&gt;&lt;P&gt;PUBLIC -&amp;gt; is accessable by any other class, also the base class, sub class and as well the friend class can access that component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROTECTED -&amp;gt; can be accessed by both base class and sub class, but by declaring a public method.A friend class say B can access the protected componenet of class A , as its taken as public(ie class A gives the permission for class B to take it as public.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRIVATE -&amp;gt; this can be accessed only by the class in which the component is declared. here again, a friend class say B can access the private componenet of class A , as its taken as public(ie class A gives the permission for class B to take it as public.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, to access a private component, it can be done with thehelp of the public component of the same class,where in protected component is declared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this info would be of help to u.&lt;/P&gt;&lt;P&gt;all the best.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 06:34:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1743428#M322783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T06:34:46Z</dc:date>
    </item>
  </channel>
</rss>

