ERP Database - The Unofficial ERP Knowledge Base

Facebook Twitter del.icio.us Digg it
ERP Database contains a huge collection of articles related to ERP System and Software. Many of the articles are specifically related to SAP. All these ERP/SAP articles are freely available to everyone.

If you would like to submit an article or share any document related to ERP or any specific ERP software. Please mail it to support@erpdb.info. Please make sure that the documents are not copyrighted.
Social Bookmarks:

Object Oriented Programming in SAP ABAP

Print This Post Email This Post Written by admin on Aug 28th, 2008 | Filed under: ABAP

Object Oriented Programming in SAP ABAP

Object oriented programming tries to map the real world objects with their attributes and methods as realistically as possible in program constructs. The aim is to create the program flow in such a way as if it is taking place in the real world. This makes the interaction between the developer and the user easier. The user can formulate business requirements on a program in the language in which the user is familiar with and the developer can convert these directly instead of the classic programming model.

In the object oriented programming model a different approach is used. Attributes and methods which belong to a specific object are grouped together and made accessible to the user using a well defined interface behind which the actual implementation details are hidden. so, the attributes of the object are only changed by the methods of the object and not directly by the user of and object. This ensures that the status of the object is always consistent.

When do you call an object an object oriented programming? if it has these features.

Abstraction
Abstraction refers to the ability to reflect the real world  processes as realistically as possible through programming. These processes can be a business or a technical nature.

Encapsulation
Implementation details are hidden behind well-defined an documented interfaces. They ensure that the abstract representation of a object is used only in accordance with its spefication.

Inheritance
New abstractions i.e. classes are derived from existing ones. They inherit all the attributes and methods of the higher class and can expand and specialize them.

Polymorphism
Different objects can present the same interface to the outside. A user only needs to know the interface and need not know every minute details of the classes.

If you like this post, you may as well like these too:

  1. Object Oriented ABAP (OOABAP) – FAQs Here are some of the questions which you must know, when you say that you are good in Object Oriented Programming in SAP ABAP. 1.  Priniples of oops? 2.  What...
  2. ABAP Tutorials on Report Painter / Writer and ABAP Programming Report Painter – Lecture 1 Report Painter – Lecture 2 Report Writer — Lecture 1 Report Writer — Lecture 2 ABAP Programming – Ch. 1-3 ABAP Programming – Ch. 4...
  3. What is SAP Business Object SAP Business Object  is similar to real-world business objects such as Sales Order, Invoice, Employee, etc., which consist of various tables/programs that are related to each other in a business...
  4. SAP Project Reference Object (SPRO) Configuration Manuals Working with SPRO (SAP Project Reference Object) in SAP can be very complicated just because of the complex nature of the SAP System. Here are some different SPRO Configuration manuals...
  5. ABAP HR Programming SAP ABAP HR Programming Prerequisites : ABAP Programming, Logical database, Module pool programming & SAP Scripts. Course Outline: Brief description of modules in SAP-HR Concept of Infotypes Infotype Structures Creation...
  6. ABAP Programming Tips This is a very vast collection of ABAP Programming Tips for download. Download ABAP Programming Tips from Rapidshare...
  7. ABAP Tips : Programming ABAP Language Language Dependent Formatting of Amount and Currency Dynamic Programming Assign Variable Type at Runtime Dynamic SQL Dynamic program generation Dynamic Tokens Field symbols Dynamically read fields, fieldnames and...
  8. ABAP Programming Language The ABAP Programming language allows multi language applications which allows SQL Access so has been enhanced for use with object oriented language. It’s especially created for dialog-based business programs. ABAP...
  9. ABAP Procedural Programming Drawbacks SAP has come a long way from ABAP Procedural Programming to Object Oriented ABAP Programming. ABAP Procedural Programming Drawbacks Program Maintenance is complicated Difficulty in program management as program size ...
  10. Authorization Object Authorization Object are a group of fields used to check if an particular transaction/events/steps can be executed or not. AUTHORITY-CHECK is the statement used in the ABAP program to perform...



4 Responses to “Object Oriented Programming in SAP ABAP”

  1. hello

  2. What is the syntax used for Object Oriented Programming in SAP ABAP?

  3. Muchas gracias lol. Got a big test on a related topic soon so practicing Spanish and this at the same time haha.

  4. anybody provide tutorial for HR module

Leave a Reply