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

ABAP Vs Object oriented programming

Former Member
0 Likes
891

Dear Friends,

Its been almost 5 years I'm working as ABAPer. I have worked in almost all the areas of ABAP Programming except ABAP Objects(other than using ALV functinlaity some times).

I was trying to understand SAP's objects and the more i read or look at the demo programs I get more confused. I do understand the basic concepts of OOPS like Inheretance, polymorphism...etc but when it comes to programming in SAP It doesn't get in to me. For exapmple the references like =>,->,->,variable...etc.

my question to you expers is what is the best way to learn the OOPS programming in SAP. Does any one has any good documentation to read about it.

any help in this regards is really appreciated.

thanks

Shammi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
637

Hi,

<b>OO Oriented Concept</b>

http://www.sapgenie.com/abap/OO/

http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm

http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt

http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf

http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf

=> ........means ur refering to method of statis object

-> ........Means ur refering to method of object ( not static . object has to be created )

it support inheritence etc.

for example

when goto SE24 ( for creating class....class defination )

display any class

u will have many option

like --create subtype ( subclass ) etc.

<b>Reward points & Mark Helpful Answers</b>

4 REPLIES 4
Read only

Former Member
0 Likes
638

Hi,

<b>OO Oriented Concept</b>

http://www.sapgenie.com/abap/OO/

http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm

http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt

http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf

http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf

=> ........means ur refering to method of statis object

-> ........Means ur refering to method of object ( not static . object has to be created )

it support inheritence etc.

for example

when goto SE24 ( for creating class....class defination )

display any class

u will have many option

like --create subtype ( subclass ) etc.

<b>Reward points & Mark Helpful Answers</b>

Read only

Former Member
0 Likes
637

HI

GOOD

GO THROUGH THIS LINK WHICH LL GIVE YOU SOME IDEA ABOUT THE IMPLEMENTATION OF OOPS CONCEPT IN ABAP,

WWW.SAPPOINT.COM

YOUR SHOULD HAVE SOME KNOWLEDGE IN C++ AND JAVA TOO WHICH LL GIVE YOU MORE CONFIDENCE TO WORK WITH

OOPS CONCEPT

THANKS

MRUTYUN

Read only

Former Member
0 Likes
637

hi Sadam,

Check these Links

OO ABAP

http://www.sapgenie.com/abap/OO/

For understanding COntrol Frameworks in OO ABAP, check this.

http://www.sapgenie.com/abap/controls/index.htm

You can get nice docs regarding OO ABAP from these links also...

http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf

Regards,

Santosh

Read only

uwe_schieferstein
Active Contributor
0 Likes
637

As I have written in another forum thread already, OO-programming consists of two main parts:

- OO-analysis and

- OO-design

A big help in OO-design are the so-called "design patterns" that have profed themselves as best-practice solution for recurring programming tasks.

I have found the following book very useful in order to learn and understand design patterns:

"Head First Design Patterns"

In november they will publish another book:

"Head First Object-Oriented Analysis and Design"

Have a look at Amazon at these books. The direct link is:

http://www.oreilly.com/catalog/hfobjects/index.html

You have understood a very important point: learning ABAP-OO is not about learning ABAP but OO.

Besided reading books I took a postgraduate coure in Java covering the material for the "Java Programmer" certification. I haven't done yet a lot of work in Java yet the principles about OO that I have learned there were very helpful.

Regards

Uwe