What is Object Orientation in SAP?

Object Orientation in SAP: Software systems are defined by data and functionality. In a non object oriented system, functionality and data and treated separately. The focus in such a system remains on functionality. On the other hand, object oriented systems data and functionality are combined together using objects. Objects are concrete representation of real world things. So in a object oriented systems, developer need to map real world things with software objects and they need to define functions a of each object in such a manner that it reflects its behavior in the real world.

Typical objects in a SAP software system can be Invoice, Customer, order etc. It is not possible to introduce Object orientation with this small article.

 Object Orientation in SAP

Objects

Objects are formed out of classes. Class is the structure of object. For example, cuckoo belongs to the bird class, Amazon belongs to the river class. Objects have attributes (also called its characteristics) and functions or services. The services of an object work upon the attributes of the object to change the value of attributes. Attributes and services can be private, public or protected.


Classes

As already described, classes are structure of objects. Any number of objects can be formed out of  a class. Each object has its own values of its attributes.

Object References


Object references are not the real objects but their references. So you can very well access data and services of object using its reference.

Abstraction

The implementation of objects is not visible to the users. Users see only the data and services of the object. But how the services manipulate the data is unknown to the user of the object, such feature is called encapsulation. For example : Tata innova and Maruti are objects of the car class and Average is a service of car class. Average returns different value for both these objects. But how it calculates the average of the car if unknown. User only knows the name of the service, the data it takes and the result it gives.

sap Orientation

Inheritance

New classes can be formed from existing classes. This feature of object orientation is called inheritance. The new class thus formed is called derived class. Derived class has data and functions of the parent class. But it can overwrite data and functions of the parent class.

Polymorphism

In ABAP Objects, polymorphism is implemented by redefining methods during inheritance and by using constructs called interfaces. Identical methods behave differently in different classes. Polymorphism means same method behaves differently in different classes.

Polymorphism is a great feature of object orientation technology. Code written using polymorphism is easy to maintain. With polymorphism, the developer writes a general interface and not a concrete implementation. Change in the requirement of the client can be handled very easily if the program developed has polymorphism feature in it.

Please see in Detail Explaination

Also See: How to Upload Transactional Data Into SAP System

Recommended Reading For You

  • How to apply SAP License Key?How to apply SAP License Key?SAP license key: SAP environment, there will be a requirement to install a license to a new installed SAP system or to a system refreshed from another system. This is the primary step in […]
  • What is SAP Landscape?What is SAP Landscape?Just try to understand the system sap landscape, Every company follows their own landscape as a standard you will have three servers like development, quality assurance and production […]
  • How to Clean Data for an ERP ImplementationHow to Clean Data for an ERP ImplementationERP Implementation: Access to current and historical data is one of the top benefits of an ERP system. But if that data in inaccurate or untrustworthy, it can compromise quite a bit of the […]
  • Define System LandscapeDefine System LandscapeThe purpose of this activity is to establish the system landscape. The system landscape consists of the SAP Systems and clients that will enable you to adapt the SAP standard software to […]
  • SAP Indtroduction – SAP Largest Enterprise Software Firm in the WorldSAP Indtroduction – SAP Largest Enterprise Software Firm in the WorldSAP AG (ISIN: DE0007164600, FWB: SAP, NYSE: SAP) is a German global software corporation that provides enterprise software applications and support to businesses of all sizes globally. […]

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: