ABAP Keyword Documentation → ABAP − Release-Specific Changes → Changes for Release 7.0
Further Changes in Release 7.0
2. Number of main sessions per user session
3. Storing of interface constants
4. Exception handling for data clusters
5. Authorization check for users
6. Strings on selection screens
7. Format of lists when sending
Other versions: 7.31 | 7.40 | 7.54
Modification 1
Class for system statuses
The static methods of the class CL_ABAP_SYST return important system statuses and replace the evaluation of the corresponding system fields if you need to ensure that a system field has not been incorrectly overwritten in a program.
Modification 2
Number of main sessions per user session
From Release 7.0, up to 16 main sessions can be opened per user session, compared to the previous maximum of
6. The actual number is controlled by the system parameter rdisp/max_alt_modes. The standard value for this parameter is 6 as before.
To enable more than single-digit numbers in the
system field sy-modno
, its data type has been changed (incompatibly ) from c
of length 1 to i
.
Modification 3
Storage of interface constants
From Release 7.0, an interface constant is created exactly once in the
internal session
and GET REFERENCE
returns the same reference regardless of the name. Before
Release 7.0, a new interface constant was created for each implementation and different formulations
like i1=>const
, c1=>i1~const
, or c2=>i1~const
resulted in different references for a constant const
with GET REFERENCE
.
Modification 4
Exception handling for data clusters
In IMPORT
, the exception IMPORT_FORMAT_ERROR
has
been made handleable by assigning it to the new class CX_SY_IMPORT_FORMAT_ERROR.
The exception CONNE_IMPORT_CONVERSION_ERROR
has been made handleable by assigning
it to the existing class CX_SY_CONVERSION_CODEPAGE (change was also transported back to Release 6.40)
The addition IGNORING CONVERSION ERRORS now also suppresses the exception raised by the fact that the number of bytes of an imported character-like component increases when it is converted to another code page, and therefore no longer fits into the target object. Up to now, only superflous blanks were cut off without raising an exception (change was also transported back to Release 6.40).
Modification 5
Authorization check for users
From Release 7.0, the statement AUTHORITY-CHECK
now has the addition FOR USER
, which can be used to check the authorizations of any user.
Modification 6
Strings on selection screens
In the statement PARAMETERS
,
it is now also possible to specify the data type string
after the addition TYPE
.
Modification 7
Format of lists when sending
The internal format into which an ABAP list is packed when the send function is called, has been changed. The previous format can still be read. From Release 7.0, in order to send lists to systems with older releases, the new format must be converted to the previous format using the function module LIST_CONVERT_TO_OLD_FORMAT.