Table A-1 shows the comparison of capabilities offered by ABAP function groups and ABAP object-oriented classes. The √ symbol denotes support for the capability, while the Ø symbol denotes no support.
Table A-1. Comparison of Capabilities Offered by ABAP Function Groups and ABAP Object-Oriented Classes
# | Capability | Function group | Classes | Comments |
---|---|---|---|---|
1 | Encapsulation | √ | √ | Offers at least some rudimentary aspect of encapsulation |
2 | Encapsulation unit | √ | √ | |
3 | Public attributes | Ø | √ | |
4 | Public behaviors | √ | √ | |
5 | Protected attributes | Ø | √ | |
6 | Protected behaviors ... |