<?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 CLASS DEFINATION in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194528#M129309</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HELLO EVERYBODY CAN YOU EXPLAIN THE DIFFERENCE BETWEEN &lt;/P&gt;&lt;P&gt;CUSTOMER EXIT AND USER EXIT AND ALSO BETWEEN THE TWO OPERATORS &amp;lt;- AND &amp;lt;=.&lt;/P&gt;&lt;P&gt;THANKS IN ADVANCE.&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;MANISH.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2006 04:18:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-23T04:18:53Z</dc:date>
    <item>
      <title>CLASS DEFINATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194528#M129309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HELLO EVERYBODY CAN YOU EXPLAIN THE DIFFERENCE BETWEEN &lt;/P&gt;&lt;P&gt;CUSTOMER EXIT AND USER EXIT AND ALSO BETWEEN THE TWO OPERATORS &amp;lt;- AND &amp;lt;=.&lt;/P&gt;&lt;P&gt;THANKS IN ADVANCE.&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;MANISH.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 04:18:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194528#M129309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T04:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: CLASS DEFINATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194529#M129310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;User exit and customer exit are really the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In regards to class/methods, the -&amp;gt; means that you are calling a method of an instance or object of a class. The =&amp;gt; means that you are calling a method of static class.  The static class has no instance or object. It is static.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 04:21:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194529#M129310</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-23T04:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: CLASS DEFINATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194530#M129311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First there were&lt;/P&gt;&lt;P&gt;  user-exits,&lt;/P&gt;&lt;P&gt;  then came the concept of customer-exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  (both are for writing of customer code only)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. user-exits :&lt;/P&gt;&lt;P&gt;   the are implemented using&lt;/P&gt;&lt;P&gt;   a INCLUDE &lt;/P&gt;&lt;P&gt;  in which different FORMS are provided.&lt;/P&gt;&lt;P&gt;  SAP programs call this FORMS (using performs)&lt;/P&gt;&lt;P&gt;  and the customer has to write&lt;/P&gt;&lt;P&gt;  code in this (if required)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Whereeas in customer-exits,&lt;/P&gt;&lt;P&gt;   it is implemented using FUNCTION MODULES&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;4. The important difference is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  user-exit : ALWAYS CALLED&lt;/P&gt;&lt;P&gt;  CUSTOMER-EXIT : Called only if ACTIVATED.&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;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 04:22:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194530#M129311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T04:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: CLASS DEFINATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194531#M129312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a sample program to illistrate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report  zrich_0001.

*----------------------------------------------------------------------*
*       CLASS lcl_app DEFINITION
*----------------------------------------------------------------------*
*
*----------------------------------------------------------------------*
class lcl_app definition.

  public section.
    methods: fire_plug.

endclass.                    "lcl_app DEFINITION



*----------------------------------------------------------------------*
*       CLASS lcl_app IMPLEMENTATION
*----------------------------------------------------------------------*
*
*----------------------------------------------------------------------*
class lcl_app implementation.
  method fire_plug.
    write:/ 'Plug has been fired from object of class'.
  endmethod.                    "fire_plug
endclass.                    "lcl_app IMPLEMENTATION

*----------------------------------------------------------------------*
*       CLASS lcl_app_static DEFINITION
*----------------------------------------------------------------------*
*
*----------------------------------------------------------------------*
class lcl_app_static definition.

  public section.
    class-methods: fire_plug.

endclass.                    "lcl_app DEFINITION



*----------------------------------------------------------------------*
*       CLASS lcl_app IMPLEMENTATION
*----------------------------------------------------------------------*
*
*----------------------------------------------------------------------*
class lcl_app_static implementation.
  method fire_plug.
    write:/ 'Plug has been fired from static class'.
  endmethod.                    "fire_plug
endclass.                    "lcl_app IMPLEMENTATION

data: a_app type ref to lcl_app.

start-of-selection.

* Create object and call method
  create object a_app.
  a_app-&amp;gt;fire_plug( ).

* call method of static class
  lcl_app_static=&amp;gt;fire_plug( ).

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 04:27:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194531#M129312</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-23T04:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: CLASS DEFINATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194532#M129313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi munish...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;customer and user exits are same..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...exits defines for customer ( user ) ...so that he can use it according to needs and reuirements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 04:33:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194532#M129313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T04:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: CLASS DEFINATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194533#M129314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User exit:&lt;/P&gt;&lt;P&gt;The R/3 enhancement concept allows you to add your own functionality to SAP&amp;#146;s standard business applications without having to modify the original applications.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP creates user exits for specific programs, screens, and menus within standard R/3 applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. You can hang your own add-on functionality onto these hooks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in oo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; is used for calling the function which retruns a function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;ls_exclude = cl_gui_alv_grid=&amp;gt;mc_fc_maximum .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; is used for static &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD gr_alvgrid-&amp;gt;get_frontend_fieldcatalog IMPORTING et_fieldcatalog = lt_fcat[] .&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;kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 04:36:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194533#M129314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T04:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: CLASS DEFINATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194534#M129315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not exactly correct.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

n oo

=&amp;gt; is used for calling the function which retruns a function

ex.
ls_exclude = cl_gui_alv_grid=&amp;gt;mc_fc_maximum .


-&amp;gt; is used for static 

CALL METHOD gr_alvgrid-&amp;gt;get_frontend_fieldcatalog IMPORTING et_fieldcatalog = lt_fcat[] 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First the =&amp;gt; references static elements of a class, in my example, i was using a method, but you can also have static atttributes, such as cl_gui_alv_grid=&amp;gt;mc_fc_maximum.  This is how you would reference the STATIC attribute of a class.  It really has nothing to do with "returning a function" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The -&amp;gt; is not used when referring to static attributes or methods, it is used when referring to instances of the class attributes or methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 04:42:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194534#M129315</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-23T04:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: CLASS DEFINATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194535#M129316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes  your are absolutely correct.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mistakely i have pasted the examples wrongly&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;kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 04:47:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-defination/m-p/1194535#M129316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T04:47:00Z</dc:date>
    </item>
  </channel>
</rss>

