<?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: Private constructor in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/private-constructor/m-p/7822058#M1589034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siby,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you ever heard about the Singleton Class. It is declared aa Private.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The constructor in the class may be called as Private class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bhargav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2011 04:17:42 GMT</pubDate>
    <dc:creator>Venkat_Sesha</dc:creator>
    <dc:date>2011-05-20T04:17:42Z</dc:date>
    <item>
      <title>Private constructor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/private-constructor/m-p/7822057#M1589033</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;&lt;/P&gt;&lt;P&gt;I have a question. I know that there is a constructor in ABAP Objects and it is declared in Public class. But i would like to know that how do we make a constructor as private. Please let me know your feedbacks.&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;Siby Chakko.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 04:14:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/private-constructor/m-p/7822057#M1589033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-20T04:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Private constructor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/private-constructor/m-p/7822058#M1589034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siby,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you ever heard about the Singleton Class. It is declared aa Private.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The constructor in the class may be called as Private class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bhargav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 04:17:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/private-constructor/m-p/7822058#M1589034</guid>
      <dc:creator>Venkat_Sesha</dc:creator>
      <dc:date>2011-05-20T04:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Private constructor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/private-constructor/m-p/7822059#M1589035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Siby,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My two cents ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of Release 701, you could declare the &lt;EM&gt;instance constructor&lt;/EM&gt; in the &lt;EM&gt;Public visibilty&lt;/EM&gt; section of the class. Of course you could mark the instantiation level of the class as &lt;EM&gt;Private&lt;/EM&gt; &amp;amp; prevent creation of the object by the usual CREATE OBJECT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of Release 702 you can declare the &lt;EM&gt;instance constructor&lt;/EM&gt; in any visibility section of the class. Check this out: [http://help.sap.com/abapdocu_702/en/abennews-71-abap-objects.htm#!ABAP_MODIFICATION_1@1@].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 05:10:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/private-constructor/m-p/7822059#M1589035</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-05-20T05:10:24Z</dc:date>
    </item>
  </channel>
</rss>

