Sunday, December 11, 2022

Clean ABAP resources

Clean ABAP or Clean ABAP style guide is an initiative launched by SAP to promote the use of modern, object-oriented programming practices in the development of ABAP applications. It is a set of coding standards and best practices that aim to improve the readability and maintainability of ABAP code, while at the same time reducing the risk of potential errors and inconsistencies. It encourages the use of modern object-oriented design patterns and principles, such as encapsulation, abstraction, and separation of concerns. It also encourages the use of more modern syntax, such as using the New ABAP statement and using the new ABAP Core Data Services (CDS) to define and access data.

Below I’m summing up few of resources ABAP developer can use to follow Clean ABAP practice.

 

"Good Example" vs "Bad Example" on ABAP online documentation:

Latest documentation

ABAP 7.51 Modern ABAP

 

ABAP Examples in online documentation

 

Clean ABAP

 

Cheat sheets

 

Golden Rules

 

Best Practice


Book "A Style Guide for Developers" by SAP PRESS.

 

Code Pal for ABAP - tool that provides a set of checks to help adhering to the Clean ABAP

picture credit: DALL·E


No comments: