Get Example source ABAP code based on a different SAP table
Standard SAP Help for PUBLIC
PUBLIC SECTION
Short Reference • PUBLIC SECTION ABAP Statement
ABAP Syntax PUBLIC SECTION.
What does it do? You can only use this statement in thedeclaration part of a class. It defines the public visibility section of the class class. All components of the class that are declared after the statement PUBLIC SECTION are accessible from outside the class, in their subclasses, and in the class itself as long as this permitted by the package concept. Public methods in particular can be redefined in subclasses.