Naming Conventions and Namespaces

Naming Conventions

The following conventions apply for the names of all definable objects within ABAP programs, such as data types, data objects, classes, macros, or procedures:

Namespaces

Outside of class declarations, different objects have separate namespaces, so it is possible that data types, data objects or procedures can have the same name. Classes and interfaces thus lie within the same namespace as data types. The namespace is valid for the respective context. Within a context, the names of the same objects must be unique. For example, there can only be one subprogram of a name in an ABAP program and only one function module of a name in the entire ABAP system.

Within a class declaration, the name of every class component (data type, attribute, method, event, or alias name) must be unique.

Notes