ABAP Keyword Documentation →  ABAP − Reference →  Declarations →  Declaration Statements →  Classes and Interfaces →  CLASS →  CLASS - DEFINITION → 

PRIVATE SECTION  Syntax Diagram

Syntax

PRIVATE SECTION.

Effect

This statement can only be used in the declaration part of a class. It defines the private visibility section of the class class. All components of the class defined in the section behind the PRIVATE SECTION statement can only be addressed in the class itself, and in its friends.

Notes

Example

See Visibility Sections.