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

Where to use OOPs

Former Member
0 Likes
422

Dear All,

I have done Object Oriented Programming for the purpose of ALV, and BADIs,

where else would OOPs cocenpts be used in ABAP.

Is there any reason for using OOPs concept, where the same work can be done with normal regular programming.

Regards.

Vinay.

1 ACCEPTED SOLUTION
Read only

matt
Active Contributor
0 Likes
394

Use OOPs everywhere. Correctly used, it will lead to:

a) Better program design

b) Programs that are easier to maintain

c) Programs that are cheaper to maintain

d) Programs that are easier to enhance

e) Programs that are cheaper to enhance

f) Programs that can be changed with affecting stability

Part of this is because certain program practices - like typing, no header line tables - are enforced.

I now use non-OOPs only where strictly necessary. And even then, I link to classes.

matt

Dear All,

I have done Object Oriented Programming for the purpose of ALV, and BADIs,

where else would OOPs cocenpts be used in ABAP.

Is there any reason for using OOPs concept, where the same work can be done with normal regular programming.

Regards.

Vinay.

1 REPLY 1
Read only

matt
Active Contributor
0 Likes
395

Use OOPs everywhere. Correctly used, it will lead to:

a) Better program design

b) Programs that are easier to maintain

c) Programs that are cheaper to maintain

d) Programs that are easier to enhance

e) Programs that are cheaper to enhance

f) Programs that can be changed with affecting stability

Part of this is because certain program practices - like typing, no header line tables - are enforced.

I now use non-OOPs only where strictly necessary. And even then, I link to classes.

matt