<?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: question on CLASS creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-class-creation/m-p/3823510#M919539</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To instantiate a class, you use &lt;STRONG&gt;CREATE OBJECT objref,&lt;/STRONG&gt; where &lt;STRONG&gt;objref&lt;/STRONG&gt; is of type &lt;STRONG&gt;REFERENCE TO&lt;/STRONG&gt; class.  This creates an instance of the class, and assigns the reference to &lt;STRONG&gt;objref&lt;/STRONG&gt;.  All access to the instance is through this object reference.  It is impossible to deal with instances of classes without an object reference somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 May 2008 08:20:02 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2008-05-12T08:20:02Z</dc:date>
    <item>
      <title>question on CLASS creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-class-creation/m-p/3823509#M919538</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 just have some doubt about creation of  CLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why must we use a OBJECT REFERENCE to create a instance, is there any other method on creating instance ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's better tht some people tell me the mechanism of this process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 02:45:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-class-creation/m-p/3823509#M919538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T02:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: question on CLASS creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-class-creation/m-p/3823510#M919539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To instantiate a class, you use &lt;STRONG&gt;CREATE OBJECT objref,&lt;/STRONG&gt; where &lt;STRONG&gt;objref&lt;/STRONG&gt; is of type &lt;STRONG&gt;REFERENCE TO&lt;/STRONG&gt; class.  This creates an instance of the class, and assigns the reference to &lt;STRONG&gt;objref&lt;/STRONG&gt;.  All access to the instance is through this object reference.  It is impossible to deal with instances of classes without an object reference somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 08:20:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-class-creation/m-p/3823510#M919539</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-05-12T08:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: question on CLASS creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-class-creation/m-p/3823511#M919540</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;STRONG&gt;CREATE OBJECT  refobject&lt;/STRONG&gt;  will actually instatiate the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in lay-man point of view its like creating a copy of the class by which we can access all the properties( here attributes or methods)  if any of the class .&lt;/P&gt;&lt;P&gt;we cannot directly access the class . we need to have a ref object to access the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;pratyush&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 11:14:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-class-creation/m-p/3823511#M919540</guid>
      <dc:creator>former_member5472</dc:creator>
      <dc:date>2008-05-12T11:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: question on CLASS creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-class-creation/m-p/3823512#M919541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chao,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instance is the one of the main mechanism of the Objects Oriented. You must use a reference variable to create the Instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Certainly the use of ABAP OO brings many advantages over procedural ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"ABAP Objects is indicated for who wants to guarantee agility during the development, minimize the efforts during the modifications, enhance existing applications and create complex applications using a simple way..." &lt;/P&gt;&lt;H5&gt;&lt;SPAN&gt;font: [ABAP Objects|https://wiki.sdn.sap.com/wiki/x/o5k]&lt;/SPAN&gt;&lt;/H5&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see samples of ABAP Objects use on [ABAP Objects Examples|https://wiki.sdn.sap.com/wiki/x/Aq].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also there many information on [Object-oriented programming|http://en.wikipedia.org/wiki/Object-oriented]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Don't forget to close this thread and all yours previous when your question be answered !&lt;/STRONG&gt; In case of doubt read the [rules of engagement|].&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;&lt;/P&gt;&lt;P&gt;Marcelo Ramos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 15:36:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-class-creation/m-p/3823512#M919541</guid>
      <dc:creator>marcelo_ramos1</dc:creator>
      <dc:date>2008-05-12T15:36:43Z</dc:date>
    </item>
  </channel>
</rss>

