<?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: object oriented concepts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-concepts/m-p/2089093#M434121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rama Krishna ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Object Orientation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A programming technique in which solutions reflect real world objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are objects ?&lt;/P&gt;&lt;P&gt;An object is an instantiation of a class. E.g. If &amp;#147;Animal&amp;#148; is a class, A cat &lt;/P&gt;&lt;P&gt;can be an object of that class .&lt;/P&gt;&lt;P&gt;With respect to code, Object refers to a set of services ( methods / &lt;/P&gt;&lt;P&gt;attributes ) and can contain data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are classes ?&lt;/P&gt;&lt;P&gt;A class defines the properties of an object. A class can be instantiated &lt;/P&gt;&lt;P&gt;as many number of times &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advantages of Object Orientated approach &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Easier to understand when the system is complex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Easy to make changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Encapsulation - Can restrict the visibility of the data ( Restrict the access to the data )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Polymorphism - Identically named methods behave differently in different classes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inheritance - You can use an existing class to define a new class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Polymorphism and inheritance lead to code reuse &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Classes in abap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Classes in ABAP are either local or global&lt;/P&gt;&lt;P&gt;Global classes are declared in class builder (SE24 )&lt;/P&gt;&lt;P&gt;Local classes are declared within programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Components of a class &lt;/P&gt;&lt;P&gt;Attributes : Internal data fields of class &lt;/P&gt;&lt;P&gt;Attributes can be either instance attributes &amp;#150; specific to each instance of the class ( object ) or static attributes which are common to all instances &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Methods : &lt;/P&gt;&lt;P&gt;Subroutines / procedures in a class that define the behavior of the object. Methods can also be instance methods or static methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Encapsulation in ABAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Encapsulation is obtained through the restriction in visibility of attributes / methods attained through the definition of Public, Private and Protected section of a class&lt;/P&gt;&lt;P&gt;&lt;/P&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. &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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inheritance in ABAP &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inheritance allows you to derive a class based on an already existing class. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS &amp;lt;subclass&amp;gt; DEFINITION INHERITING FROM &amp;lt;superclass&amp;gt;. &lt;/P&gt;&lt;P&gt;&amp;#133;..&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;CLASS &amp;lt;subclass&amp;gt; IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;&amp;#133;&amp;#133;&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All attributes / methods of super class become the property of the subclass too. Only public and protected attributes / methods are visible in the subclass&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Polymorphism in ABAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When methods with same name perform differently under different&lt;/P&gt;&lt;P&gt;circumstances we call it polymorphism.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Methods redefined in a subclass is an example for Polymorphism&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interfaces&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interfaces are used to define the model of a class.&lt;/P&gt;&lt;P&gt;They also like classes can be either local or global.&lt;/P&gt;&lt;P&gt;Global interfaces are defined through SE24 and local interfaces are defined in program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this online document (starting page 1291).&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check this links as well.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/OO/" target="test_blank"&gt;http://www.sapgenie.com/abap/OO/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.futureobjects.de/content/intro_oo_e.html" target="test_blank"&gt;http://www.futureobjects.de/content/intro_oo_e.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/business-add-in-you-need-to-understand-abap-oo-interface-concept.htm" target="test_blank"&gt;http://www.sap-img.com/abap/business-add-in-you-need-to-understand-abap-oo-interface-concept.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;/people/ravikumar.allampallam/blog/2005/02/11/abap-oo-in-action&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the below links lot of info and examples r there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/OO/index.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/OO/index.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/victorav15/sapr3/abap_ood.html" target="test_blank"&gt;http://www.geocities.com/victorav15/sapr3/abap_ood.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.brabandt.de/html/abap_oo.html" target="test_blank"&gt;http://www.brabandt.de/html/abap_oo.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this cool weblog:&lt;/P&gt;&lt;P&gt;/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql&lt;/P&gt;&lt;P&gt;/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolves your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Bhaskar rao.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2007 06:07:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-16T06:07:18Z</dc:date>
    <item>
      <title>object oriented concepts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-concepts/m-p/2089092#M434120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;I want to know thw difference between objectoriented program and abap general programme?&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 06:00:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-concepts/m-p/2089092#M434120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T06:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: object oriented concepts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-concepts/m-p/2089093#M434121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rama Krishna ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Object Orientation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A programming technique in which solutions reflect real world objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are objects ?&lt;/P&gt;&lt;P&gt;An object is an instantiation of a class. E.g. If &amp;#147;Animal&amp;#148; is a class, A cat &lt;/P&gt;&lt;P&gt;can be an object of that class .&lt;/P&gt;&lt;P&gt;With respect to code, Object refers to a set of services ( methods / &lt;/P&gt;&lt;P&gt;attributes ) and can contain data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are classes ?&lt;/P&gt;&lt;P&gt;A class defines the properties of an object. A class can be instantiated &lt;/P&gt;&lt;P&gt;as many number of times &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advantages of Object Orientated approach &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Easier to understand when the system is complex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Easy to make changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Encapsulation - Can restrict the visibility of the data ( Restrict the access to the data )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Polymorphism - Identically named methods behave differently in different classes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inheritance - You can use an existing class to define a new class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Polymorphism and inheritance lead to code reuse &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Classes in abap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Classes in ABAP are either local or global&lt;/P&gt;&lt;P&gt;Global classes are declared in class builder (SE24 )&lt;/P&gt;&lt;P&gt;Local classes are declared within programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Components of a class &lt;/P&gt;&lt;P&gt;Attributes : Internal data fields of class &lt;/P&gt;&lt;P&gt;Attributes can be either instance attributes &amp;#150; specific to each instance of the class ( object ) or static attributes which are common to all instances &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Methods : &lt;/P&gt;&lt;P&gt;Subroutines / procedures in a class that define the behavior of the object. Methods can also be instance methods or static methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Encapsulation in ABAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Encapsulation is obtained through the restriction in visibility of attributes / methods attained through the definition of Public, Private and Protected section of a class&lt;/P&gt;&lt;P&gt;&lt;/P&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. &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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inheritance in ABAP &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inheritance allows you to derive a class based on an already existing class. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS &amp;lt;subclass&amp;gt; DEFINITION INHERITING FROM &amp;lt;superclass&amp;gt;. &lt;/P&gt;&lt;P&gt;&amp;#133;..&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;CLASS &amp;lt;subclass&amp;gt; IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;&amp;#133;&amp;#133;&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All attributes / methods of super class become the property of the subclass too. Only public and protected attributes / methods are visible in the subclass&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Polymorphism in ABAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When methods with same name perform differently under different&lt;/P&gt;&lt;P&gt;circumstances we call it polymorphism.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Methods redefined in a subclass is an example for Polymorphism&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interfaces&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interfaces are used to define the model of a class.&lt;/P&gt;&lt;P&gt;They also like classes can be either local or global.&lt;/P&gt;&lt;P&gt;Global interfaces are defined through SE24 and local interfaces are defined in program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this online document (starting page 1291).&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check this links as well.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/OO/" target="test_blank"&gt;http://www.sapgenie.com/abap/OO/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.futureobjects.de/content/intro_oo_e.html" target="test_blank"&gt;http://www.futureobjects.de/content/intro_oo_e.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/business-add-in-you-need-to-understand-abap-oo-interface-concept.htm" target="test_blank"&gt;http://www.sap-img.com/abap/business-add-in-you-need-to-understand-abap-oo-interface-concept.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;/people/ravikumar.allampallam/blog/2005/02/11/abap-oo-in-action&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the below links lot of info and examples r there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/OO/index.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/OO/index.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/victorav15/sapr3/abap_ood.html" target="test_blank"&gt;http://www.geocities.com/victorav15/sapr3/abap_ood.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.brabandt.de/html/abap_oo.html" target="test_blank"&gt;http://www.brabandt.de/html/abap_oo.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this cool weblog:&lt;/P&gt;&lt;P&gt;/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql&lt;/P&gt;&lt;P&gt;/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolves your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Bhaskar rao.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 06:07:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-concepts/m-p/2089093#M434121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T06:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: object oriented concepts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-concepts/m-p/2089094#M434122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normal report adn Dialogue programs are event driven whereas the object oriented programming is based on OOPS principles of Data hiding and encapsulation, inheritance, polymorphism&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 06:09:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-concepts/m-p/2089094#M434122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T06:09:28Z</dc:date>
    </item>
  </channel>
</rss>

