‎2006 Dec 13 6:11 AM
Hi All,
What are the subclasses and super classes in BAPI and also what are the method in BAPI?
‎2006 Dec 13 6:17 AM
Hi Ajay,
The synonyms subclass and superclass are sometimes used for subtype and supertype.
The reuse of software code is achieved by deriving new object types from existing ones. When an object type is generated from an existing object type, the new object type is called the subtype and the existing object type is called the supertype. For example, the object type Employee is a subtype which has been derived from the supertype Person.
A subtype inherits all the properties and methods defined for the supertype from which it descends, but
can also have additional properties and methods. A subtype may also implement a different behavior for the methods inherited from the supertype. Polymorphism is the term used to describe when the same method triggers different types of behavior in different business object types.
Methods
A method is an activity that can be performed on a business object and that provides access to the object data. A method is defined by a name and a set of parameters and exceptions that can or must be provided by the calling program in order to use the method. BAPIs are examples of such methods.