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

Restriction using OABAP

Former Member
0 Likes
810

Hi there!

Are there any restricitions, where OABAP should not be used? (Speed etc.)

Bye Markus

7 REPLIES 7
Read only

former_member69765
Contributor
0 Likes
755

One word answer for you ... NONE

Read only

Former Member
0 Likes
755

OOALV's programs will give you dump when you run it in background you have to start using docking container to avoid that.

Read only

0 Likes
755

I think the OP was referring to OOABAP in general not specifically the ALV.

Cheers

jimbo

Read only

Former Member
0 Likes
755

hi,

Refer to the link.

http://www.allinterview.com/showanswers/36463.html

Regards

Sumit Agarwal

Read only

0 Likes
755

I think your reference here is MISLEADING.

There is NO FUNDAMENTAL REASON WHATSOEVER why OO should be complicated or difficult. The only reason it might seem that way is that you are probably very used to "classical" non OO ABAP.

There's alwways a learning curve but once you get the hang of it you can develop applications MUCH MORE SIMPLY AND QUICKLY and what's more with the MINIMUM of errors. Code is also much more maintainable as well.

Cheers

-K

Read only

Former Member
0 Likes
755

HI,

Advantage:

ABAP OOP:

You can customize the Objects

Already more Objects are predefined

JAVA:

Easy to use

Disadvantage:

ABAP:

Very Complicated

Java:

Fully Program

you should write code to create every objects, class

everything

Regards,

manju

Read only

Former Member
0 Likes
755

Actually you should restrict the use of NON OO ABAP. Ideally you should also try (where practicable) to replace function modules either by classes or attributes.

You can't obviously re-write the whole of the SAP system especially the older finiancial and HR bits (such has PROVIDE / GET on infotypes) but there is no reason in general why you can't use classes where you would use a "Z" or "Y" function module.

cheers

jimbo