Q:

Using an include with constants in ABAP OO

I have an ABAP include containing only constants. (Not my code)
I want to use these constants in an ABAP OO method. (My code)
How can I use these constants in an object oriented ABAP environment without copying them?
The idea is to define these constants once and only once. And they are already defined in this include.
Additional question: is it possible to create a class that contains the constants of the above include in a public section, so that I do the include only once and use these constants in an object oriented way from other classes?

A:

Assuming that the include really only contains constant definitions: From the Class Builder, select Goto --> Class-relevant Local Definitions and place an INCLUDE statement there. This should make the constants available throughout your implementation.

