cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

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.

0 Likes
View Entire Topic
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