‎2007 Sep 13 11:51 AM
‎2007 Sep 13 12:04 PM
Hi
Similarity:
Function group and Class both will provide the Encapsulation of Data(Attributes) and Functions (Methods)
Differences:
1. A Class will allow to Create multiple instances in a program but this is not possible with Function groups.
2. Function groups can have Screens but Classes cannot have.
3. Classes can be created globally (SE24) or Locally but Function groups can be created only Globally (SE37).
Reward if Helpful
‎2007 Sep 13 12:10 PM
HI,
Fucntion group is nothing but 'GROUP OF ALL RELATED FUNCTIONS'
Classes are templates for objects. Conversely, you can say that the type of an object is the same as its class. A class is an abstract description of an object. You could say that it is a set of instructions for building an object. The attributes of objects are defined by the components of the class, which describe the state and behavior of objects.
Regards
Sudheer