<?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: Calling a Private method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088645#M977652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this example..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Class C2 is created using CREATE PRIVATE option. That means, only the class itself and its friends can instantiate this class.&lt;/P&gt;&lt;P&gt;	Class C2 has a private method M2 and a private attribute , NUM. This means that these components can be accessed by class C2 itself and its friends.&lt;/P&gt;&lt;P&gt;	Now, C2 has granted friendship to class C1.&lt;/P&gt;&lt;P&gt;	So, methods of class C1 can access private components of C2 as well as can instantiate class C2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;report&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT YSUBDEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CLASS C1 DEFINITION DEFERRED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CLASS C2 DEFINITION CREATE PRIVATE FRIENDS C1  .&lt;/P&gt;&lt;P&gt;  PROTECTED SECTION.&lt;/P&gt;&lt;P&gt;   DATA : NUM TYPE I VALUE 5.&lt;/P&gt;&lt;P&gt;   METHODS : M2.&lt;/P&gt;&lt;P&gt; ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CLASS C2 IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;  METHOD  M2.&lt;/P&gt;&lt;P&gt;   WRITE:/5 'I am method m2 in C2'.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.&lt;/P&gt;&lt;P&gt; ENDCLASS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; class c1 definition.&lt;/P&gt;&lt;P&gt;  public section .&lt;/P&gt;&lt;P&gt;   methods : m1.&lt;/P&gt;&lt;P&gt; endclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; class c1 implementation.&lt;/P&gt;&lt;P&gt;  method m1.&lt;/P&gt;&lt;P&gt;   DATA : OREF2 TYPE REF TO C2.&lt;/P&gt;&lt;P&gt;   CREATE OBJECT OREF2.&lt;/P&gt;&lt;P&gt;   WRITE:/5 OREF2-&amp;gt;NUM.&lt;/P&gt;&lt;P&gt;   CALL METHOD OREF2-&amp;gt;M2.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.&lt;/P&gt;&lt;P&gt; endclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  DATA : OREF1 TYPE REF TO C1.&lt;/P&gt;&lt;P&gt;  CREATE OBJECT OREF1.&lt;/P&gt;&lt;P&gt;  CALL METHOD OREF1-&amp;gt;M1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Jun 2008 10:40:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-28T10:40:04Z</dc:date>
    <item>
      <title>Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088631#M977638</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;          i have a class CL_CRM_DOCUMENTS_PLM and private method GET_DOCUMENT_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now how could i call this private method in my ABAP Editor ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 18:52:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088631#M977638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T18:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088632#M977639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First you need to create a an object of the class like&lt;/P&gt;&lt;P&gt;CREATE OBJECT class_name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now using that object you can call the method&lt;/P&gt;&lt;P&gt;CALL METHOD class_name-&amp;gt;method_name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 19:00:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088632#M977639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T19:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088633#M977640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandru,&lt;/P&gt;&lt;P&gt;                i get an error that you cannot create the object outside the class .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the method GET_DOCUMENT_DATA is private i cannot call it outside the class.&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>Fri, 27 Jun 2008 19:02:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088633#M977640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T19:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088634#M977641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Private methods can not be called from outside the class,thats why they are private.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 19:04:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088634#M977641</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-06-27T19:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088635#M977642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then how could i use that private method ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 19:06:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088635#M977642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T19:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088636#M977643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try inheriting the class CL_CRM_DOCUMENTS_PLM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 19:07:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088636#M977643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T19:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088637#M977644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Private methods can only be called from another method in the same class. As this class is delivered by SAP you can do nothing with this class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 19:08:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088637#M977644</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-06-27T19:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088638#M977645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Inherting works only for protected methods,not for private methods. private methods cannot be called in an inherited class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing is too copy the source code into an own class or do amdification on the SAP class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 19:10:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088638#M977645</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-06-27T19:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088639#M977646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if this private method is being used by some public method. If yes u can call the public method from ur abap code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 19:18:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088639#M977646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T19:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088640#M977647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rawoof,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Welcome do SDN Forum.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please dont't forget to read the Forum Rules Document on [rules of engagement|https://wiki.sdn.sap.com/wiki/x/FgQ] to know the rules we must follow to post here.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really you can't call any private Component outside its class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Don't forget to close this thread once your question be answered !&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcelo Ramos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Marcelo Ramos on Jun 27, 2008 5:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 19:34:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088640#M977647</guid>
      <dc:creator>marcelo_ramos1</dc:creator>
      <dc:date>2008-06-27T19:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088641#M977648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;for Accessing a private Method of a class you have to Call it from a Public Method of the same class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Private Methods are not accessible outside the class or even in the derived class. If you want to access the Private Method inside Derived Class you have to Change Its ATTRIBUTE to Protected which behaves like Private Outside Class but As Public Inside the derived Class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;Sumit Agarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2008 04:39:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088641#M977648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-28T04:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088642#M977649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;  dear it is not possible to call a private method directly,Instead what you can do is you calla public method of that class inside that public method you can call the private members of the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;PAVAN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2008 04:40:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088642#M977649</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-06-28T04:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088643#M977650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;plz check the steps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Declare a method in public section of the class   &lt;/P&gt;&lt;P&gt;    CL_CRM_DOCUMENTS_PLM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In the implementation of the public method , call the private method GET_DOCUMENT_DATA..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Call the public method from your report program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if found helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anirban Bhattacharjee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2008 05:01:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088643#M977650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-28T05:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088644#M977651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii!&lt;/P&gt;&lt;P&gt;   You cannot call the private method directly.&lt;/P&gt;&lt;P&gt;To call a private method, &lt;/P&gt;&lt;P&gt;You call a public method first,&lt;/P&gt;&lt;P&gt;and then from that method&lt;/P&gt;&lt;P&gt;call that private method.&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;Abhijeet Kulshreshtha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2008 05:50:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088644#M977651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-28T05:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088645#M977652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this example..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Class C2 is created using CREATE PRIVATE option. That means, only the class itself and its friends can instantiate this class.&lt;/P&gt;&lt;P&gt;	Class C2 has a private method M2 and a private attribute , NUM. This means that these components can be accessed by class C2 itself and its friends.&lt;/P&gt;&lt;P&gt;	Now, C2 has granted friendship to class C1.&lt;/P&gt;&lt;P&gt;	So, methods of class C1 can access private components of C2 as well as can instantiate class C2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;report&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT YSUBDEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CLASS C1 DEFINITION DEFERRED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CLASS C2 DEFINITION CREATE PRIVATE FRIENDS C1  .&lt;/P&gt;&lt;P&gt;  PROTECTED SECTION.&lt;/P&gt;&lt;P&gt;   DATA : NUM TYPE I VALUE 5.&lt;/P&gt;&lt;P&gt;   METHODS : M2.&lt;/P&gt;&lt;P&gt; ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CLASS C2 IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;  METHOD  M2.&lt;/P&gt;&lt;P&gt;   WRITE:/5 'I am method m2 in C2'.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.&lt;/P&gt;&lt;P&gt; ENDCLASS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; class c1 definition.&lt;/P&gt;&lt;P&gt;  public section .&lt;/P&gt;&lt;P&gt;   methods : m1.&lt;/P&gt;&lt;P&gt; endclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; class c1 implementation.&lt;/P&gt;&lt;P&gt;  method m1.&lt;/P&gt;&lt;P&gt;   DATA : OREF2 TYPE REF TO C2.&lt;/P&gt;&lt;P&gt;   CREATE OBJECT OREF2.&lt;/P&gt;&lt;P&gt;   WRITE:/5 OREF2-&amp;gt;NUM.&lt;/P&gt;&lt;P&gt;   CALL METHOD OREF2-&amp;gt;M2.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.&lt;/P&gt;&lt;P&gt; endclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  DATA : OREF1 TYPE REF TO C1.&lt;/P&gt;&lt;P&gt;  CREATE OBJECT OREF1.&lt;/P&gt;&lt;P&gt;  CALL METHOD OREF1-&amp;gt;M1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2008 10:40:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088645#M977652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-28T10:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088646#M977653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rawoof,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private methods can only be called from within the class. If you get an error like "cannot create the object outside the class" then the constructor is private, too. This is a technique frequently used in factory methods, in that case You should have a method like get_instance that will create the object and give you a refernece. If a method is declared private, it will usually not make sense to call it from outside. Check the wehere-used-refernce of the private method to find out how it is used in public method.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2008 12:57:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088646#M977653</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2008-06-28T12:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Private method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088647#M977654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thank all for the instant support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2008 21:47:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-private-method/m-p/4088647#M977654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-28T21:47:19Z</dc:date>
    </item>
  </channel>
</rss>

