<?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: Problem with OO ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-oo-abap/m-p/3453404#M829707</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think problem is with version below ECC5.0, inversion 5.00 is does not showing any warning message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The given program activated with out any warning or error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check system version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Feb 2008 15:31:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-19T15:31:06Z</dc:date>
    <item>
      <title>Problem with OO ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-oo-abap/m-p/3453402#M829705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there. I've got a CONTAINER object in the screen and a piece of code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report ZWOP_TEST2 .

TYPE-POOLS: GFW .

DATA: retval type symsgno .

CLASS cl_gui_cfw DEFINITION LOAD .
CLASS cl_gfw_mux DEFINITION LOAD .
CLASS cl_gfw DEFINITION LOAD .

**** activate mux (handling of external graphics and synchronizations)
CALL METHOD cl_gfw_mux=&amp;gt;activate IMPORTING retval = retval .
IF retval &amp;lt;&amp;gt; cl_gfw=&amp;gt;ok .
  CALL METHOD cl_gfw=&amp;gt;show_msg EXPORTING msgno = retval .
ENDIF .

CALL SCREEN '1000' .

* data container
INCLUDE gfw_dc_pres.


*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  STATUS_1000  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
MODULE STATUS_1000 OUTPUT.
   SET PF-STATUS '1000'.
*  SET TITLEBAR 'xxx'.
ENDMODULE.                 " STATUS_1000  OUTPUT


*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  USER_COMMAND_1000  INPUT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
MODULE USER_COMMAND_1000 INPUT.
  CASE sy-ucomm .
    WHEN 'EXIT' .
      LEAVE TO SCREEN 0 .
  ENDCASE .
ENDMODULE.                 " USER_COMMAND_1000  INPUT
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Warnings&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) INCLUDE GFW_DC_PRES&lt;/P&gt;&lt;P&gt;&lt;EM&gt;In the constructor method, you can only access instance attributes after the constructor of the superclass (SUPER-&amp;gt;CONSTRUCTOR) has been called.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) INCLUDE GFW_DC_PRES&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The CONSTRUCTOR of the super class must be called even if it does not yet exists&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 10:47:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-oo-abap/m-p/3453402#M829705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T10:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with OO ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-oo-abap/m-p/3453403#M829706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pjotr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you are working on SAP release &lt;STRONG&gt;&amp;lt; ECC 6.0&lt;/STRONG&gt; because there you will find the following implementation of the CONSTRUCTOR method (class lcl_dc_pres):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*---------------------------------------------------------------------*
*       CLASS lcl_dc_pres IMPLEMENTATION
*---------------------------------------------------------------------*
*       ........                                                      *
*---------------------------------------------------------------------*
class lcl_dc_pres implementation.

******
* **** CONSTRUCTOR
******
  method constructor.
    data: offset        type i,
          single_offset type ty_offset.

    call method super-&amp;gt;constructor.

    clear data.
* set my version
...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two warnings are related to each other. I guess that the method call super-&amp;gt;constructor does not exist in the implementation of the CONSTRUCTOR method on your system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neither &lt;STRONG&gt;extended syntax check&lt;/STRONG&gt; nor the &lt;STRONG&gt;code inspector&lt;/STRONG&gt; give any of the mentioned warnings on ECC 6.0.&lt;/P&gt;&lt;P&gt;&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;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 15:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-oo-abap/m-p/3453403#M829706</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-02-19T15:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with OO ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-oo-abap/m-p/3453404#M829707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think problem is with version below ECC5.0, inversion 5.00 is does not showing any warning message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The given program activated with out any warning or error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check system version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 15:31:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-oo-abap/m-p/3453404#M829707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T15:31:06Z</dc:date>
    </item>
  </channel>
</rss>

