SAP LANGU CHOICE - Guide
Get Example source ABAP code based on a different SAP table
GUIDELINE 4.9
Choosing the Language
ABAP_BACKGROUND
ABAP Code Snippet
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
ABAP Code Snippet
ABAP_RULE
Write all comments in ABAP programs in English only, so that as many readers as possible can understand them and benefit from them.
ABAP_DETAILS
English comments are a basic prerequisite for distributed development at an international level. There are other good reasons for using English as the comment language:
Exception
Technical terms that originate from country-specific legislation (such as 'Abgeltungssteuer' in German) or specific abbreviations (such as
Note
This rule applies regardless of the
Bad example
The following source code shows a typical example of German comments, mixed with English terms, which usually do not even follow the required notation or terminology.
CREATE OBJECT splitter_h
EXPORTING
parent = help_container
rows = 1
columns = 2.
CREATE OBJECT splitter_v
EXPORTING
parent = container_left
rows = 2
columns = 1.
Good example
The following source code shows the above source code with English comments, as set out in the above rule.
CREATE OBJECT splitter_h
EXPORTING
parent = help_container
rows = 1
columns = 2.
CREATE OBJECT splitter_v
EXPORTING
parent = container_left
rows = 2
columns = 1.
The goal of this example is to show the difference between German and English comments. If more meaningful