Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

function module

Former Member
0 Likes
323

diff n similarities b/w function group n class

2 REPLIES 2
Read only

varma_narayana
Active Contributor
0 Likes
304

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

Read only

Former Member
0 Likes
304

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