<?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 Error in ABAP SyntaxCheck in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-abap-syntaxcheck/m-p/10562501#M1858350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo everybody, Hallo &lt;A __default_attr="3984" __jive_macro_name="user" class="jive_macro_user jive_macro" data-objecttype="3" data-orig-content="Horst Keller" href="https://community.sap.com/"&gt;&lt;/A&gt; !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to my sloppy coding I found some discrepancy between ABAP SyntaxCheck and ObjectCode Compiler.&lt;/P&gt;&lt;P&gt;Here is snippet of code with no sysntax error that produces ObjectCode generation error for locall class and ShortDump during generatio for Global class on SAPKB70211 on NW 702. ShortDump is identified as OBJECTS_NOT_FLAT.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;REPORT&lt;/SPAN&gt;&amp;nbsp; /FWW/RP_CLASS_ERROR&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;class&lt;/SPAN&gt; lcl_test &lt;SPAN style="color: #0000ff;"&gt;definition&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;final&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;create&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;public&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;public&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;section&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;methods&lt;/SPAN&gt; SET_wert&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;importing&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;I_wert&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;type&lt;/SPAN&gt; i &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;methods&lt;/SPAN&gt; GET_wert&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; returning&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;R_wert&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;type&lt;/SPAN&gt; i &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;methods&lt;/SPAN&gt; GET_me&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; returning&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;R_me&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;type&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;ref&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;to&lt;/SPAN&gt; lcl_test &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;private&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;section&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;data&lt;/SPAN&gt; m_wert &lt;SPAN style="color: #0000ff;"&gt;type&lt;/SPAN&gt; i &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;ENDCLASS&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;CLASS&lt;/SPAN&gt; lcl_test IMPLEMENTATION&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;method&lt;/SPAN&gt; SET_wert&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; me-&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;m_wert&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;i_wert &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;endmethod&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;method&lt;/SPAN&gt; gET_wert&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; r_wert&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;me-&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;m_wert &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;endmethod&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;method&lt;/SPAN&gt; GET_me &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; r_me&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;me &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;endmethod&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;ENDCLASS&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;START-OF-selection&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;data&lt;/SPAN&gt;:&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; lo_object &lt;SPAN style="color: #0000ff;"&gt;type&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;ref&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;to&lt;/SPAN&gt; lcl_test &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;lo_object-&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;set_wert&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt; &lt;SPAN style="color: #3399ff;"&gt;1&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;lo_object-&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;set_wert&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt; &lt;SPAN style="color: #3399ff;"&gt;1&lt;/SPAN&gt; + &lt;SPAN style="color: #3399ff;"&gt;1&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #ff0000;"&gt;lo_object-&amp;gt;set_wert( 1 + lo_object-&amp;gt;get_me( ) ) &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Cheers&lt;/P&gt;&lt;P&gt;Raitis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Sep 2014 15:34:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-09-25T15:34:20Z</dc:date>
    <item>
      <title>Error in ABAP SyntaxCheck</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-abap-syntaxcheck/m-p/10562501#M1858350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo everybody, Hallo &lt;A __default_attr="3984" __jive_macro_name="user" class="jive_macro_user jive_macro" data-objecttype="3" data-orig-content="Horst Keller" href="https://community.sap.com/"&gt;&lt;/A&gt; !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to my sloppy coding I found some discrepancy between ABAP SyntaxCheck and ObjectCode Compiler.&lt;/P&gt;&lt;P&gt;Here is snippet of code with no sysntax error that produces ObjectCode generation error for locall class and ShortDump during generatio for Global class on SAPKB70211 on NW 702. ShortDump is identified as OBJECTS_NOT_FLAT.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;REPORT&lt;/SPAN&gt;&amp;nbsp; /FWW/RP_CLASS_ERROR&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;class&lt;/SPAN&gt; lcl_test &lt;SPAN style="color: #0000ff;"&gt;definition&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;final&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;create&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;public&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;public&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;section&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;methods&lt;/SPAN&gt; SET_wert&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;importing&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;I_wert&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;type&lt;/SPAN&gt; i &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;methods&lt;/SPAN&gt; GET_wert&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; returning&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;R_wert&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;type&lt;/SPAN&gt; i &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;methods&lt;/SPAN&gt; GET_me&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; returning&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;R_me&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;type&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;ref&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;to&lt;/SPAN&gt; lcl_test &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;private&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;section&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;data&lt;/SPAN&gt; m_wert &lt;SPAN style="color: #0000ff;"&gt;type&lt;/SPAN&gt; i &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;ENDCLASS&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;CLASS&lt;/SPAN&gt; lcl_test IMPLEMENTATION&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;method&lt;/SPAN&gt; SET_wert&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; me-&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;m_wert&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;i_wert &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;endmethod&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;method&lt;/SPAN&gt; gET_wert&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; r_wert&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;me-&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;m_wert &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;endmethod&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;method&lt;/SPAN&gt; GET_me &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; r_me&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;me &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;endmethod&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;ENDCLASS&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;START-OF-selection&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;data&lt;/SPAN&gt;:&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; lo_object &lt;SPAN style="color: #0000ff;"&gt;type&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;ref&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;to&lt;/SPAN&gt; lcl_test &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;lo_object-&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;set_wert&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt; &lt;SPAN style="color: #3399ff;"&gt;1&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;lo_object-&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;set_wert&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt; &lt;SPAN style="color: #3399ff;"&gt;1&lt;/SPAN&gt; + &lt;SPAN style="color: #3399ff;"&gt;1&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #ff0000;"&gt;lo_object-&amp;gt;set_wert( 1 + lo_object-&amp;gt;get_me( ) ) &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Cheers&lt;/P&gt;&lt;P&gt;Raitis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 15:34:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-abap-syntaxcheck/m-p/10562501#M1858350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-25T15:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ABAP SyntaxCheck</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-abap-syntaxcheck/m-p/10562502#M1858351</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;The above code is not correct, since lo_object&lt;SPAN class="L0S70"&gt;-&amp;gt;get_me&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) returns a reference and not a number.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Of course, there must be a syntax error. And in fact at least in the latest support packages of&amp;nbsp; Release 7.31 and 7.40 there is a syntax error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you are right there is no syntax error in 7.02, not even in our latest support package system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means, the error is known and corrected in Releases higher than 7.02. But since the program can't be activated in 7.02, this shouldn't be a too big problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Horst&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 16:54:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-abap-syntaxcheck/m-p/10562502#M1858351</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2014-09-25T16:54:35Z</dc:date>
    </item>
  </channel>
</rss>

