Get Example source ABAP code based on a different SAP table
ID PUBLIC • PUBLIC SECTION ABAP Statement
PUBLIC SECTION> Short Reference >
ABAP_SYNTAX PUBLIC SECTION.>
What does it do? This statement can only be used in the declaration part> of a class and defines the public visibility section> of the class class>. All components of the class that are declared in the area after the statement PUBLIC SECTION> can be addressed from outside the class, in their subclasses, and in the class itself, provided this is allowed by the package concept>. Public methods in particular can be redefined in subclasses.
ABAP_EXAMPLE_VX5 Declaration of a public constant const> and accesses it from outside of the class. ABEXA 00504 ABAP_EXAMPLE_END