<?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: define my class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/define-my-class/m-p/1593442#M266732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lupin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason for the error "Statement is not accessible." is a missing statement in your report. You should always separate the DATA section of your report from the "Coding" section using &amp;lt;b&amp;gt;START-OF-SELECTION.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;When I took the BC412 course (dealing with Controls) this was one of the very first remarks of our teacher.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error will only occur if you are using classes in your report. However, I recommend to use START-OF-SELECTION always because it helps to structure the coding.&lt;/P&gt;&lt;P&gt;In method HANDLE_TOP_OF_PAGE no additional statement is required. If you switch from the Grid display to the list output your text will be displayed on top of the list.&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>Sat, 14 Oct 2006 10:10:51 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2006-10-14T10:10:51Z</dc:date>
    <item>
      <title>define my class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/define-my-class/m-p/1593438#M266728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I defined a class in my program.When I check the program it always has some problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZTESTWZJ&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ztestwzj.&lt;/P&gt;&lt;P&gt;INCLUDE zmyinclude.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF mytype,&lt;/P&gt;&lt;P&gt;         carrid  LIKE sflight-carrid,&lt;/P&gt;&lt;P&gt;         connid  LIKE sflight-connid,&lt;/P&gt;&lt;P&gt;         fldate  LIKE sflight-fldate,&lt;/P&gt;&lt;P&gt;         price   LIKE sflight-price,&lt;/P&gt;&lt;P&gt;       END OF mytype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA itab TYPE TABLE OF mytype.&lt;/P&gt;&lt;P&gt;DATA wa_itab LIKE LINE OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA ok_code TYPE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA mycontainer TYPE REF TO cl_gui_custom_container.&lt;/P&gt;&lt;P&gt;DATA myalv TYPE REF TO cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA fieldcat TYPE lvc_t_fcat.&lt;/P&gt;&lt;P&gt;DATA wacat TYPE lvc_s_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA myevent TYPE REF TO myclass.&lt;/P&gt;&lt;P&gt;CREATE OBJECT myevent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT carrid connid fldate price&lt;/P&gt;&lt;P&gt;FROM sflight&lt;/P&gt;&lt;P&gt;INTO wa_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND wa_itab TO itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR wacat.&lt;/P&gt;&lt;P&gt;wacat-fieldname = 'CARRID'.&lt;/P&gt;&lt;P&gt;wacat-ref_field = 'CARRID'.&lt;/P&gt;&lt;P&gt;wacat-ref_table = 'SFLIGHT'.&lt;/P&gt;&lt;P&gt;wacat-coltext = '&amp;amp;#33322;&amp;amp;#32447;&amp;amp;#25215;&amp;amp;#36816;&amp;amp;#20154;'.&lt;/P&gt;&lt;P&gt;APPEND wacat TO fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR wacat.&lt;/P&gt;&lt;P&gt;wacat-fieldname = 'CONNID'.&lt;/P&gt;&lt;P&gt;wacat-ref_field = 'CONNID'.&lt;/P&gt;&lt;P&gt;wacat-ref_table = 'SFLIGHT'.&lt;/P&gt;&lt;P&gt;wacat-coltext = '&amp;amp;#33322;&amp;amp;#29677;&amp;amp;#36830;&amp;amp;#25509;'.&lt;/P&gt;&lt;P&gt;APPEND wacat TO fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR wacat.&lt;/P&gt;&lt;P&gt;wacat-fieldname = 'FLDATE'.&lt;/P&gt;&lt;P&gt;wacat-ref_field = 'FLDATE'.&lt;/P&gt;&lt;P&gt;wacat-ref_table = 'SFLIGHT'.&lt;/P&gt;&lt;P&gt;wacat-coltext = '&amp;amp;#33322;&amp;amp;#29677;&amp;amp;#26085;&amp;amp;#26399;'.&lt;/P&gt;&lt;P&gt;APPEND wacat TO fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR wacat.&lt;/P&gt;&lt;P&gt;wacat-fieldname = 'PRICE'.&lt;/P&gt;&lt;P&gt;wacat-ref_field = 'PRICE'.&lt;/P&gt;&lt;P&gt;wacat-ref_table = 'SFLIGHT'.&lt;/P&gt;&lt;P&gt;wacat-coltext = '&amp;amp;#33322;&amp;amp;#31354;&amp;amp;#36816;&amp;amp;#36153;'.&lt;/P&gt;&lt;P&gt;APPEND wacat TO fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 0100.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  STATUS_0100  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE status_0100 OUTPUT.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'MYSTATUS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF myalv IS INITIAL.&lt;/P&gt;&lt;P&gt;    CREATE OBJECT mycontainer&lt;/P&gt;&lt;P&gt;      EXPORTING container_name = 'CONTAINER1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CREATE OBJECT myalv&lt;/P&gt;&lt;P&gt;      EXPORTING i_parent = mycontainer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  CALL METHOD myalv-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_BUFFER_ACTIVE               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_BYPASSING_BUFFER            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_CONSISTENCY_CHECK           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_STRUCTURE_NAME              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IS_VARIANT                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_SAVE                        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_DEFAULT                     = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IS_LAYOUT                     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IS_PRINT                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_SPECIAL_GROUPS             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_TOOLBAR_EXCLUDING          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_HYPERLINK                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_ALV_GRAPHICS               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_EXCEPT_QINFO               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IR_SALV_ADAPTER               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      it_outtab                     = itab&lt;/P&gt;&lt;P&gt;      it_fieldcatalog               = fieldcat&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_SORT                       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_FILTER                     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   INVALID_PARAMETER_COMBINATION = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   PROGRAM_ERROR                 = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   TOO_MANY_LINES                = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   others                        = 4&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  SET HANDLER myevent-&amp;gt;handle_top_page FOR myalv .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SET TITLEBAR 'xxx'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " STATUS_0100  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  USER_COMMAND_0100  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_0100 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE ok_code.&lt;/P&gt;&lt;P&gt;    WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;      SET SCREEN 0.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_0100  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my class is defined in the include file:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;  &amp;amp;#21253;&amp;amp;#25324;              ZMYINCLUDE&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS myclass DEFINITION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PUBLIC SECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    METHODS handle_top_page FOR EVENT print_top_of_page OF cl_gui_alv_grid .&lt;/P&gt;&lt;P&gt;ENDCLASS.                    "zmyclass DEFINITION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CLASS myclass IMPLEMENTATION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS myclass IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;  METHOD handle_top_page.&lt;/P&gt;&lt;P&gt;    WRITE:/ 'hahahaahahahahahahahahaahahahahaha'.&lt;/P&gt;&lt;P&gt;    WRITE:/ 'hahahaahahahahahahahahaahahahahaha'.&lt;/P&gt;&lt;P&gt;    WRITE:/ 'hahahaahahahahahahahahaahahahahaha'.&lt;/P&gt;&lt;P&gt;    WRITE:/ 'hahahaahahahahahahahahaahahahahaha'.&lt;/P&gt;&lt;P&gt;    WRITE:/ 'hahahaahahahahahahahahaahahahahaha'.&lt;/P&gt;&lt;P&gt;    WRITE:/ 'hahahaahahahahahahahahaahahahahaha'.&lt;/P&gt;&lt;P&gt;    WRITE:/ 'hahahaahahahahahahahahaahahahahaha'.&lt;/P&gt;&lt;P&gt;    WRITE:/ 'hahahaahahahahahahahahaahahahahaha'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDMETHOD.                    "handle_top_page&lt;/P&gt;&lt;P&gt;ENDCLASS.                    "myclass IMPLEMENTATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I click "check" button,it  has an error"Statement is not accessible."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me, thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 03:07:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/define-my-class/m-p/1593438#M266728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T03:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: define my class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/define-my-class/m-p/1593439#M266729</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;  Before the write statement..have the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LEAVE TO LIST-PROCESSING..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 03:09:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/define-my-class/m-p/1593439#M266729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T03:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: define my class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/define-my-class/m-p/1593440#M266730</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;I tried with the same code, I haven't got any error messgae.&lt;/P&gt;&lt;P&gt;It has got activated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that u first activate the include created and then come and activate the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;Reward points if this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 03:59:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/define-my-class/m-p/1593440#M266730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T03:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: define my class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/define-my-class/m-p/1593441#M266731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can go through this weblog, which ll give you clear idea about using of OOPS concept in ABAP.&lt;/P&gt;&lt;P&gt;/people/sap.user72/blog/2005/05/10/a-small-tip-for-the-beginners-in-oo-abap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;MRUTYUN^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 04:03:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/define-my-class/m-p/1593441#M266731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T04:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: define my class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/define-my-class/m-p/1593442#M266732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lupin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason for the error "Statement is not accessible." is a missing statement in your report. You should always separate the DATA section of your report from the "Coding" section using &amp;lt;b&amp;gt;START-OF-SELECTION.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;When I took the BC412 course (dealing with Controls) this was one of the very first remarks of our teacher.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error will only occur if you are using classes in your report. However, I recommend to use START-OF-SELECTION always because it helps to structure the coding.&lt;/P&gt;&lt;P&gt;In method HANDLE_TOP_OF_PAGE no additional statement is required. If you switch from the Grid display to the list output your text will be displayed on top of the list.&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>Sat, 14 Oct 2006 10:10:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/define-my-class/m-p/1593442#M266732</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-10-14T10:10:51Z</dc:date>
    </item>
  </channel>
</rss>

