ABAP Keyword Documentation → ABAP Programming Guidelines → Structure and Style → Naming
Choosing the Language
Other versions: 7.31 | 7.40 | 7.54
Background
The natural language that has established itself worldwide for computer programming is English. This
is because the language elements in all significant programming languages have been taken from English
and their syntax based on English grammar. ABAP is no exception. In fact, efforts have been made to
guarantee correct English by giving additions of related statements different names, even if they have
the same meaning. Well-known examples include the (now obsolete) additions VARYING
and VARY
of the statements DO
and WHILE
. Here, ABAP can even be viewed as a subset of the English language.
Rule
Using names in Englisch
Give your repository objects and your local program objects names that use English words only
Details
Using names in a language other than English looks unnatural (and inelegant) in programming languages whose own language elements are all in English. As well as this, English names make the source code accessible to as wide an audience as possible. Finally, using a different language throughout your code would be difficult due to the large number of English technical terms used in today's IT environment.
In instances where British and American spelling differ, use the American spelling. This is often shorter and more commonly used in IT.
Note
This rule applies regardless of the original language chosen.
Bad example
One of the most notorious examples of non-English names in ABAP is the component UZEIT of the structure SYST, plus its data element SYUZEIT. All other components (with the exception of the equally notorious DATUM (for date) and MANDT (for client)) are English terms or abbreviations.