Professional Documents
Culture Documents
4 New Features
Many features have been introduced in the ABAP 7.40 release. We can divide the new features
into groups such as variable declaration, string processing, internal table usage, object-oriented
tasks, conditional operators,database access etc. I will try to explain some of them with
examples.
*- type declarations
DATA(lv_text) = 'Declaring variables'.
DATA(lv_count) = 1000.
DATA(lt_years) = VALUE tt_year( FOR i = 2000 THEN i + 1 UNTIL i > 2020 ( year = i ) ).
WRITE / lv_status_text.
WRITE / lv_status_text2.
*- CONCATENATE is easy
DATA(lv_time_string) = |Date: { sy-datum } / { sy-uzeit } Status:
{ lv_status_text } |.
WRITE / lv_time_string.