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

How to learn OOPS ABAP ?

0 Likes
1,894

Hi folks,

I am new here and want to learn oops ABAP. Basically I know all the basic concept of OOPS in other language like C++ and JAVA but i am not able to find a proper tutorial or a way to go through in YouTube and other platforms. Can anyone recommend any course of way to learn OOPS in ABAP.

Thanks in Advance.

5 REPLIES 5
Read only

Sandra_Rossi
Active Contributor
1,728

Why would it be different in ABAP. If you know OO, you just need the syntax in ABAP and I don't see anything complex to learn. Even ABAP documentation should give you the syntax.

CLASS myclass DEFINITION.

PUBLIC SECTION.

METHODS mymethod.

CLASS myclass IMPLEMENTATION.

METHOD mymethod.

object->attribute

object->method( parameter )

etc.

Read only

FredericGirod
Active Contributor
0 Likes
1,728

sandra.rossi you high light the main difference, in ABAP you have to DEFINE & to IMPLEMENT a class. 😉

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,728

frdric.girod ABAP is like C on this aspect, if I remember well.

Read only

FredericGirod
Active Contributor
0 Likes
1,728

I don't think :

https://www.geeksforgeeks.org/c-classes-and-objects/#:~:text=A%20class%20is%20defined%20in,memory%20....

(and as Sandra could say, it is C++ not C !! 😉 )

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,728

OK, C++ 🙂