Thursday, December 20, 2007

Coding Style

SAP ABAP coding style is an important aspect as this provides an ease to the developer to read and understand the implemented logic. The coding style:

1. Should be consistent throughout the SAP ABAP code program.
2. Should be well structured and indented (Use pretty print to make keywords in upper cases, Align coding blocks i.e. IF…ENDIF).
3. Should use modularization techniques as Subroutines, BOR methods, FMs to avoid use of lengthy code blocks as we as to increase the re-usability.
4. Should have proper code related comments.
5. Avoid leaving commented code in the SAP ABAP program
6. Avoid leaving unused declarations in the SAP ABAP program

No comments:

Blog Archive