Ansicht
Dokumentation

ABENABAP_VERSIONS - ABAP VERSIONS

ABENABAP_VERSIONS - ABAP VERSIONS

Addresses (Business Address Services)   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

ABAP Language Versions

Each ABAP program has the program attribute ABAP language version, which is defined internally by a version ID. The version of a program determines which language elements and which repository objects can be used in the program and which syntax rules apply. The following versions are currently available:

Language Version Meaning Version ID
This version of ABAP is the universal basic version. It is an unrestricted ABAP language version that covers the entire language scope of ABAP that can be used in Unicode systems and apart from the static package concept, access to all other repository objects is allowed. The syntax check for Standard ABAP is performed as Unicode check, which is the minimum requirement for a Unicode system. The documentation of this version describes all ABAP language elements.   X
This version of ABAP is intended for the secure implementation of enhancements by key users within the scope of enhancement options provided by SAP. is a restricted ABAP language version where the general rules for apply but only a very restricted set of language elements is supported and access to repository objects is restricted as described here. Furthermore, enhancements can be implemented in methods only, where the stricter syntax rules for classes automatically apply and no obsolete language elements are allowed. The documentation of is an appropriately restricted version of the full documentation.   2
This version of ABAP is intended for developments in the and in the . is a restricted ABAP language version where the general rules for apply but only a very restricted set of language elements is supported and access to repository objects is restricted as described here. Furthermore, most developments can be implemented in methods only, where the stricter syntax rules of classes automatically apply. Almost no obsolete language elements are allowed. For ABAP SQL, the most strict syntax check mode currently available is applied. The documentation for is a restricted version of the full documentation.   5

The version ID of a program is generally transparent for developers. From a technical perspective, the version ID is stored in the column UCCHECK of the database table TRDIR of the program properties and is usually set by the respective tools. In the statements INSERT REPORT and SYNTAX-CHECK for program processing, the version is either set implicitly or explicitly using the additions VERSION and DIRECTORY ENTRY.

Notes

  • If a program has a version ID that is not listed in the table above, it is handled in the same way as a version that does not support any language elements.
  • Besides ABAP programs, also other repository objects can have an attribute named ABAP language version.

Example

The program DEMO_ABAP_VERSIONS makes it possible to check ABAP source code using the syntax rules of the different ABAP language versions.






Addresses (Business Address Services)   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 8325 Date: 20240426 Time: 162108     sap01-206 ( 101 ms )