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

OO programming

Former Member
0 Likes
524

hi experts,

i m new to oo programming in SAP.

i know only abap programmimg well.

i know the concepts of java.but,i don't know programming concepts.

now i would like to learn oo concepts and start to build reports and all other stuff in oo concept.

can anyone tell me how to approach to learn oo abap progamming.

if anyone has material on oops concepts and programming please mail me at

shivat05@yahoo.com

this will be helpful to me plzzz.

points will be rewarded.

4 REPLIES 4
Read only

Former Member
0 Likes
468

Hi,

Normal ABAP is process oriented, where is OOP-ABAP is a new methodology in ABAP which uses object oriented programming.

we have C++, java, C#, etc as OOP languages.

ABAP has also implemented the OOP technology.

it uses classes, methods and interfaces instead of functiongroups and function modules.

As part of SAP’s long-standing commitment to object technology, Release 4.0

of R/3 will contain object-oriented enhancements to the ABAP programming

language. SAP’s object strategy is based on SAP Business Objects and now

covers modeling, programming, interfacing, and workflow. By using principles

like encapsulation, inheritance, and polymorphism, the object-oriented

extensions of ABAP will support real object-oriented development. This will

result in improvements in the areas of reusability, maintenance, and quality of

code. SAP offers an evolutionary approach toward objects which leverages

SAP’s own and its customers’ investments in existing business processes,

functionality and data.

Refer these basics

OO ABAP

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

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

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

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

Detailed

OOPS – OO ABAP

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

http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt

http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf

http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt

http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8

http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm

Regards,

KK

Read only

uwe_schieferstein
Active Contributor
0 Likes
468

Hello Nani

If you know the concepts of Java then you know to concepts of ABAP-OO, too. The main principles are the same.

Regards

Uwe

Read only

0 Likes
468

hi,

thank u for responding me.

my main problem is:for example,in abap program we will follow some procedure to work with a report like declaring tables first,then data types,then parameters then selection screen ..................like we go in a flow.

as i am new to oops-abap,i m not getting the flow like how to structure a program step by step.i m totally confused with like

should i create the object first or should i call the method,when should i declare data types.......so...on.

so to get into the flow what sholud i do?

any ideas or opinions r appreciated.

thanks in advance.

Read only

0 Likes
468

Hello Nani

You may want to have a look at a few of my sample reports (all beginning with ZUS_SDN_... 😞

These sample reports may give you an idea how to structure reports. However, bear in mind that using controls (like ALV grid, tree) is not a synonym for ABAP-OO programming.

And my reports are by no means perfect in an ABAP-OO sense.

Regards

Uwe