<?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 documentation error for the obsolete CALL METHOD form, about method chaining ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/documentation-error-for-the-obsolete-call-method-form-about-method-chaining/m-p/840332#M44118</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;In this &lt;A href="https://help.sap.com/http.svc/rc/abapdocu_753_index_htm/7.53/en-US/index.htm?file=abapcall_method_static.htm"&gt;page of the documentation&lt;/A&gt; about obsolete CALL METHOD variants, we see: &lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;CALL METHOD { static_meth( ) 
 | static_meth( a ) 
 | static_meth( p1 = a1 p2 = a2 ... ) 
 | static_meth(  ) }. 

CALL METHOD static_meth .&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;If CALL METHOD is used for the standalone method call, no chained method&lt;BR /&gt;calls are possible and the operators NEW and CAST cannot be used to specify the method. &lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;(note: "standalone method call" is the name for "static_meth")&lt;/P&gt;
  &lt;P&gt;I think that "If CALL METHOD is used for the standalone method call, no chained method calls are possible ..."&lt;/P&gt;
  &lt;P&gt;is missing a "NOT". The right sentence should be :&lt;/P&gt;
  &lt;P&gt;"If CALL METHOD is &lt;STRONG&gt;not&lt;/STRONG&gt; used for the standalone method call, no chained method calls are possible ..."&lt;/P&gt;
  &lt;P&gt;This question was asked in stackoverflow by someone else: &lt;A href="https://stackoverflow.com/questions/54329867/abap-call-method-and-method-chaining" target="test_blank"&gt;https://stackoverflow.com/questions/54329867/abap-call-method-and-method-chaining&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;What do you think?&lt;/P&gt;
  &lt;P&gt;Thanks!&lt;/P&gt;
  &lt;P&gt;Sandra&lt;/P&gt;
  &lt;P&gt;Adding &lt;SPAN class="mention-scrubbed"&gt;horst.keller&lt;/SPAN&gt; in the loop...&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jan 2019 17:57:29 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2019-01-23T17:57:29Z</dc:date>
    <item>
      <title>documentation error for the obsolete CALL METHOD form, about method chaining ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/documentation-error-for-the-obsolete-call-method-form-about-method-chaining/m-p/840332#M44118</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;In this &lt;A href="https://help.sap.com/http.svc/rc/abapdocu_753_index_htm/7.53/en-US/index.htm?file=abapcall_method_static.htm"&gt;page of the documentation&lt;/A&gt; about obsolete CALL METHOD variants, we see: &lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;CALL METHOD { static_meth( ) 
 | static_meth( a ) 
 | static_meth( p1 = a1 p2 = a2 ... ) 
 | static_meth(  ) }. 

CALL METHOD static_meth .&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;If CALL METHOD is used for the standalone method call, no chained method&lt;BR /&gt;calls are possible and the operators NEW and CAST cannot be used to specify the method. &lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;(note: "standalone method call" is the name for "static_meth")&lt;/P&gt;
  &lt;P&gt;I think that "If CALL METHOD is used for the standalone method call, no chained method calls are possible ..."&lt;/P&gt;
  &lt;P&gt;is missing a "NOT". The right sentence should be :&lt;/P&gt;
  &lt;P&gt;"If CALL METHOD is &lt;STRONG&gt;not&lt;/STRONG&gt; used for the standalone method call, no chained method calls are possible ..."&lt;/P&gt;
  &lt;P&gt;This question was asked in stackoverflow by someone else: &lt;A href="https://stackoverflow.com/questions/54329867/abap-call-method-and-method-chaining" target="test_blank"&gt;https://stackoverflow.com/questions/54329867/abap-call-method-and-method-chaining&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;What do you think?&lt;/P&gt;
  &lt;P&gt;Thanks!&lt;/P&gt;
  &lt;P&gt;Sandra&lt;/P&gt;
  &lt;P&gt;Adding &lt;SPAN class="mention-scrubbed"&gt;horst.keller&lt;/SPAN&gt; in the loop...&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 17:57:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/documentation-error-for-the-obsolete-call-method-form-about-method-chaining/m-p/840332#M44118</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-01-23T17:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: documentation error for the obsolete CALL METHOD form, about method chaining ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/documentation-error-for-the-obsolete-call-method-form-about-method-chaining/m-p/840333#M44119</link>
      <description>&lt;P&gt;I close the question because there was an answer in &lt;A href="https://stackoverflow.com/questions/54329867/call-method-and-method-chaining#comment95547484_54332534"&gt;stackoverflow&lt;/A&gt; : "the docu team [...] answered that it has already been reported and they corrected it in the latest version."&lt;/P&gt;&lt;P&gt;Old statement:&lt;/P&gt;&lt;P&gt;"If CALL METHOD is used for the standalone method call, no chained method calls are possible and the operators NEW and CAST cannot be used to specify the method."&lt;/P&gt;&lt;P&gt;New statement according to stackoverflow's answer:&lt;/P&gt;&lt;P&gt;"With the second variant without round brackets, chained method calls are not possible and the operators NEW and CAST cannot be used."&lt;/P&gt;</description>
      <pubDate>Sat, 23 Feb 2019 16:48:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/documentation-error-for-the-obsolete-call-method-form-about-method-chaining/m-p/840333#M44119</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-02-23T16:48:22Z</dc:date>
    </item>
  </channel>
</rss>

