cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP OOP

omar-oun_1
Explorer
0 Likes
544

Hi all,

I have a two Questions.

How is ABAP OOP used in real SAP projects? (I know the basics but need a resource)

Do companies use global or local classes for ABAP OOP? (or it depends on the task)
need guide to use OOP for leveling up my skills in ABAP.


Best regards,

Omar oun.

Accepted Solutions (1)

Accepted Solutions (1)

Julien-Gagnier
Explorer

Hello

First, yes, ABAP OOP can be used on real projects, but it always depends on what you want to do.

I would recommend you to start from the following course: https://learning.sap.com/learning-journeys/acquiring-core-abap-skills

Then, you could go further with ABAP Cloud and RAP topics

Additionally, you will need to focus on clean core principles. Here is a resource: https://www.sap.com/documents/2022/10/52e0cd9b-497e-0010-bca6-c68f7e60039b.html

Best regards

 

 

 

omar-oun_1
Explorer
0 Likes
Hello Julien-Gagnier, Thank you for the recommendations and the shared resources. I really appreciate your guidance. Best regards, Omar

Answers (1)

Answers (1)

0 Likes

In real SAP projects, ABAP OOP is widely used, especially in S/4 HANA, RAP, FIORI and BADI Implementation.

  • Global classes are used for reusable business logic and framework (Preferred in real projects).
  • Local classes are used when the logic is specific to one report/program.

So, it depends on the requirement, but enterprise development mostly relies on global classes.

To level up, practice separating business logic into service classes and avoid logic directly in reports.

Best Regard,

Meenakshi.

omar-oun_1
Explorer
0 Likes
Appreciate your answer. Big thanks