Get Example source ABAP code based on a different SAP table
ARTICLE
ABAP Objects - Overview ABAP Code Snippet ABAP Objects is the object-oriented extension of the ABAP language. ABAP Objects adds a complete set of language elements to ABAP that allow object-oriented programming. This object-oriented extension of ABAP builds on the previous range of languages, and is fully compatible with them. ABAP Objects can be used in existing programs, and the statements that can be used in ABAP Objects correspond to practically all of the remaining SAP language scope. However, specific obsolete language elements are not permitted in conjunction with ABAP objects due to a clean up of the ABAP language.
ABAP Objects supports:
Classes
Interfaces
Objects
Object References
Inheritance
Note Package SABAP_DEMOS_CAR_RENTAL contains a complete sample application written in ABAP Objects. Its presentation layer is implemented using a Web Dynpro or screen. The Web Dynpro calls interface methods that are implemented in a class and that, in turn, access classes that implement database accesses. ABAP Code Snippet