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

OOAbap

Former Member
0 Likes
461

HI friends,

I am creating a class in se24. While defining the methods for the class there is a check box callled Modeled only. What is the difference between modeled and realized.

Regards,

Gowtham K.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
378

Modelled Checkbox. If you check that Checkbox then you cannot use the attribute for the real time purpose.

The status specifies the development status of an object type, component, or relationship.

The possible statuses are modeled or realized. Only object types and components with status realized can have executable code.

If the field is selected, the component has the status modeled, or more precisely only modeled.

they are not same. A modelled class or method or an attribute will not have any realtime appliaction. Say for example you want to provide a method or Attribute which may be used in future or expected to be used in future, then you declare that method as Modelled. YOu can execute such a method or access such an attribute.

Abstract Class is an executable class...but it will have some methods with no implementation. The implementation of such methods will upto the user who is accessing that class.A class defined as ABSTRACT cannot be instantiated, that is, you cannot use CREATE OBJECT with reference to the class. Instead, you can only address the class using its static components or its subclasses. The major purpose of an abstract class is to serve as a template for subclasses.

If a class contains abstract methods, that is, method declarations with the ABSTRACT addition, the whole class must also be abstract (that is, have the ABSTRACT addition), since a class may not be instantiated if it has unimplemented methods. Equally, if a subclass does not implement all of the abstract methods of its superclasses, it must itself declare them abstract.

1 REPLY 1
Read only

Former Member
0 Likes
379

Modelled Checkbox. If you check that Checkbox then you cannot use the attribute for the real time purpose.

The status specifies the development status of an object type, component, or relationship.

The possible statuses are modeled or realized. Only object types and components with status realized can have executable code.

If the field is selected, the component has the status modeled, or more precisely only modeled.

they are not same. A modelled class or method or an attribute will not have any realtime appliaction. Say for example you want to provide a method or Attribute which may be used in future or expected to be used in future, then you declare that method as Modelled. YOu can execute such a method or access such an attribute.

Abstract Class is an executable class...but it will have some methods with no implementation. The implementation of such methods will upto the user who is accessing that class.A class defined as ABSTRACT cannot be instantiated, that is, you cannot use CREATE OBJECT with reference to the class. Instead, you can only address the class using its static components or its subclasses. The major purpose of an abstract class is to serve as a template for subclasses.

If a class contains abstract methods, that is, method declarations with the ABSTRACT addition, the whole class must also be abstract (that is, have the ABSTRACT addition), since a class may not be instantiated if it has unimplemented methods. Equally, if a subclass does not implement all of the abstract methods of its superclasses, it must itself declare them abstract.