CONSTANTS (ABAP Keyword)

EffectThe CONSTANTS statement defines global and local constants. Constants allow you to read statically declared data objects . They always have a particular data type. Data types and data objects are essential components of the ABAP/4 type concept . In contrast to variables defined with the DATA statement, you cannot change the value of a constant once it has been defined. Apart from the additions … TYPE typ OCCURS n , … LIKE f1OCCURS n and WITH HEADER LINE , all the additions used with the DATA statement are allowed. However, in contrast to the DATA statement, the addition … VALUE val or VALUE IS INITIAL obligatory with variants 1 and 2. See additions with DATA .