<?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 alv class??? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-class/m-p/1381409#M186142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear frnds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the earlier answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is 1more problem now,&lt;/P&gt;&lt;P&gt;when i am defining &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CLASS lcl_event_receiver DEFINITION DEFERRED.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam getting error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"CLASS LCL_EVENT_RECEIVER DEFINITION DEFERRED" does not have "CLASS&lt;/P&gt;&lt;P&gt;LCL_EVENT_RECEIVER DEFINITION".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please tell me what does it mean and how to resolve it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jun 2006 05:16:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-29T05:16:55Z</dc:date>
    <item>
      <title>alv class???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-class/m-p/1381409#M186142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear frnds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the earlier answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is 1more problem now,&lt;/P&gt;&lt;P&gt;when i am defining &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CLASS lcl_event_receiver DEFINITION DEFERRED.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam getting error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"CLASS LCL_EVENT_RECEIVER DEFINITION DEFERRED" does not have "CLASS&lt;/P&gt;&lt;P&gt;LCL_EVENT_RECEIVER DEFINITION".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please tell me what does it mean and how to resolve it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 05:16:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-class/m-p/1381409#M186142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T05:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: alv class???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-class/m-p/1381410#M186143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you specify this statement&lt;/P&gt;&lt;P&gt;CLASS lcl_event_receiver DEFINITION DEFERRED.&lt;/P&gt;&lt;P&gt;it means you are making a delay in writing the definition of the class.&lt;/P&gt;&lt;P&gt;It means you will write the definition in the later part of your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What the error in the program says is that you have not written your definition anywhere in the program. It could not find the defintion. That is why it is raising such an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just give the definition for the class by giving the defintion of suitable methods and attributes.The error will be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually you use this statement to provide the declaration of the objects of the class before the class is defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can go through this link for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/controls/alvgrid.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/controls/alvgrid.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Close the thread once the problem is solved&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 05:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-class/m-p/1381410#M186143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T05:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: alv class???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-class/m-p/1381411#M186144</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;Why can'nt you use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLASS lcl_event_receiver DEFINITION.
ENDCLASS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; . Is that you need to DEFERRED it later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;TM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 05:27:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-class/m-p/1381411#M186144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T05:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: alv class???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-class/m-p/1381412#M186145</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 correct procedure is to define &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLASS lcl_event_receiver DEFINITION DEFERRED.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;in the top include and aftre that define the local class and its implementation in the class include like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS lcl_event_receiver 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;    DATA: gridtyp TYPE char03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Top of Page&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    METHODS handle_top_of_page&lt;/P&gt;&lt;P&gt;        FOR EVENT top_of_page OF cl_gui_alv_grid&lt;/P&gt;&lt;P&gt;            IMPORTING e_dyndoc_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Print Top of Page&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    METHODS: handle_print_top_of_page&lt;/P&gt;&lt;P&gt;        FOR EVENT print_top_of_page OF cl_gui_alv_grid,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Print End of List&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     handle_print_end_of_list&lt;/P&gt;&lt;P&gt;        FOR EVENT print_end_of_list OF cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLASS lcl_event_receiver IMPLEMENTATION.

* Handle Top of Page
  METHOD handle_top_of_page.
    CASE gridtyp.
      WHEN c_reslt.
        PERFORM sub_top_of_grid USING e_dyndoc_id
                                     w_contnr_top.
      WHEN OTHERS.
        PERFORM output_parameters USING e_dyndoc_id
                                     'OUTPUT_PARAMS'.
    ENDCASE.
  ENDMETHOD.

* Handle Top of Page at Print
  METHOD handle_print_top_of_page.
    PERFORM output_headings.
  ENDMETHOD.

* Handle End of List at Print

  METHOD handle_print_end_of_list.
    PERFORM output_parameters USING w_html space.
  ENDMETHOD.


ENDCLASS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error will come if the program dosent find a defination of the class which was deffered earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 05:56:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-class/m-p/1381412#M186145</guid>
      <dc:creator>former_member480923</dc:creator>
      <dc:date>2006-06-29T05:56:37Z</dc:date>
    </item>
  </channel>
</rss>

