ABAP - Keyword Documentation →  ABAP - Reference →  ABAP Syntax → 

Naming Conventions and Namespaces

Naming Conventions

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

Programming Guideline

Program-Internal Names

Notes

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 subroutine with the same name in an ABAP program and only one function module with the same name in the entire AS ABAP.

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

Reserved Names

The following names are reserved and cannot be used in any other declarations:

Note

The names of the following built-in data objects are not reserved and are obscured by any declarations with the same name:

It is strongly advised not to create any data objects with the names of these built-in data objects