Home ABAP Tutorials ABAP Objects Introduction to Object Oriented Principles
Introduction to Object Oriented Principles PDF Print E-mail
User Rating: / 9
PoorBest 
ABAP Tutorials - Object Oriented ABAP
Written by mastram   
Friday, 06 June 2008 13:14

Object Oriented Programming (OOP) is a programming paradigm that uses the concept of objects that can encapsulate data and its related functions on data.

Some of the features of OOP are:

  • Encapsulation
  • Abstraction
  • Inheritance
  • Polymorphism

Each of these will be describes in detail in the coming chapters. The basic building blocks of any OOP language are Classes. The entire principles of object oriented programming can be understood if we can clearly understand the following in detail

  • Classes
  • Instances
  • Methods

ABAP : A hybrid programming language

ABAP has evolved as a hybrid programming language. ABAP runtime supports both procedural programming as well as ABAP Objects. You might have leared in previous chapters that ABAP is n event driven programming language and now you will learn that ABAP is a object oriented programming language.

Although applications with pure OO ABAP can be designed, most applications still use a mix of procedural and object oriented approach of ABAP. Thus you have the advantage to take the best practices of both paradigms.

In the following chapters you will learn more about how to code with ABAP Objects. 

Comments
Add New Search
rajesh  - Advantags of using class's methods over function   |address117.193.3.127 |2008-08-24 16:49:17
Please explain the adv. of using methods over function modules.
admin  - Advantages.   |SAdministrator |2008-08-27 18:22:19
Hi Rajesh,
the advantages are many.. For e.g. If you refer to the examples given
in tutorials here, about the Matrix, Neo and Architect.. Just think about that
example, you can never achieve that using FMs.
Moreover, with FMs you do not
have the flexibility of modeling the real world applications..
(You would
understand this clearly when I post more articles about design patterns)

I hope
I was able to answer your question.
Anonymous   |address117.192.198.72 |2009-05-02 13:22:58
Anonymous   |address119.151.70.16 |2010-04-14 06:50:19

Write comment
Name:
Email:
 
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 
Please input the anti-spam code that you can read in the image.

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated ( Thursday, 14 August 2008 02:10 )
 

Advertisement

 

Google Search

Advertisement