<?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 method of a returned reference in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-method-of-a-returned-reference/m-p/1533368#M243484</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, you can't write your method calls like that in 7.00 either.  Yes, this is the way, in java, but not in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Aug 2006 20:37:14 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-08-15T20:37:14Z</dc:date>
    <item>
      <title>Calling a method of a returned reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-method-of-a-returned-reference/m-p/1533366#M243482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to instantly do a method call on a returned reference in ABAP Objects? in this case i need it for singleton behaviour of "z_example", but the compiler wont allow me to call like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;result = z_example=&amp;gt;get_instance( )-&amp;gt;do_stuff( input_param another_param ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried several other syntaxes (is this the right plural &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; ), but it wasn't successful. in java its a standard thing:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;result = Example.getInstance().doStuff(inputParam, anotherParam);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 08:44:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-method-of-a-returned-reference/m-p/1533366#M243482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T08:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a method of a returned reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-method-of-a-returned-reference/m-p/1533367#M243483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 6.20 and 6.40 I do not think this is possible. In your example you have to invoke the method on result.&lt;/P&gt;&lt;P&gt;Perhaps with release &amp;gt;= 700 it may be possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;    Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2006 20:30:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-method-of-a-returned-reference/m-p/1533367#M243483</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-08-15T20:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a method of a returned reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-method-of-a-returned-reference/m-p/1533368#M243484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, you can't write your method calls like that in 7.00 either.  Yes, this is the way, in java, but not in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2006 20:37:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-method-of-a-returned-reference/m-p/1533368#M243484</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-15T20:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a method of a returned reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-method-of-a-returned-reference/m-p/1533369#M243485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this means i always have to declare temporary variables for the returned references, a bit annoying, but O.K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 06:10:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-method-of-a-returned-reference/m-p/1533369#M243485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-16T06:10:05Z</dc:date>
    </item>
  </channel>
</rss>

