Skip to content

ABAP Keyword Documentation →  ABAP - Release-Specific Changes →  Changes in Release 7.0 and its EhPs →  Changes in Release 7.0, EhP2 

Further Changes in 7.0, EhP2


1. Lossless assignments


2. New RTTC methods


3. New API for creating UUIDs


4. New time formats


5. String constants in PXA


6. Class for generation limits


7. Splitter control on dynpros


8. Extended jump distance


9. Dynamic programming


10. File interface

Other versions: 7.31 | 7.40 | 7.54

Modification 1

Lossless Assignments

The new addition EXACT of the statements MOVE and MOVE-CORRESPONDING enables lossless assignments; if data is lost or values are invalid, an exception is raised.

Modification 2

New RTTC Methods

The new GET method of classes CL_ABAP_STRUCTDESCR, CL_ABAP_TABLEDESCR, CL_ABAP_REFDESCR, plus GET_BY_NAME of class CL_ABAP_REFDESCR return the type description object specified by the input parameters. A new type description object is created or an existing one is used again.

Modification 3

New API for Creating UUIDs

The methods of the class CL_SYSTEM_UUID create UUIDs in different formats, such as 16-digit byte-type UUIDs, 22-digit character-type UUIDs with upper and lower case letters, and 32-digit character-type UUIDs in hexadecimal. They also make it possible to convert the UUIDs from one type to another.

Modification 4

New Time Formats

While number and date formats for output have always been formatted according to the formatting setting of the language environment, until now only the 24-hour format has been available for time output.

From SP14 in Release 7.0, four additional 12 hour formats have been introduced. These formats can be selected in the fixed values in the user master record or stored specifically for each country in a new column TIMEFM in the T005X database table.

If enough space is available, a time is displayed on the dynpro in 12-hour format when the relevant settings are made in the user master record.

In ABAP, new formats can be used by means of the new ENVIRONMENT TIME FORMAT addition of the WRITE TO and WRITE statements as well as by using the environment and COUNTRY formatting options for embedded expressions in character string templates.

The new class CL_ABAP_TIMEFM contains methods for converting between external and internal times, as well as some auxiliary methods.

The predefined time formats of the statements WRITE TO and WRITE cannot be influenced automatically due to downward compatibility.


Note

The new formats are supported on dynpros and in Screen Painter from EhP2.

Modification 5

String Constants in PXA

From Release 7.0, EhP2, strings declared as constants are saved globally in PXA in the same way as all constants. This can significantly reduce the amount of memory required.

Modification 6

Class for Generation Limits

From Release 7.0, EhP2, the static method GET_VALUES of class CL_ABAP_GEN_LIMITS returns the generation limits for an ABAP program.


Notes

This change was previously introduced in Release 7.0, SP16.

Modification 7

Splitter Control on Dynpros

From Release 7.0, EhP2, splitter controls can be used on classic dynpros. A splitter control enables two subscreens to be arranged above and below or beside one another in a way that allows the border between the subscreen areas to be adjusted.

Modification 8

Extended Jump Distance

Prior to Release 7.0, EhP2, errors could occur in ABAP programs in which jump distances were too large. This could also occur, for example, if processing blocks were exited with RETURN, since this statement jumps to the end of the block. From Release 7.0, EhP2, the jump distance is essentially unlimited.


Note

The unlimited jump distance should not be intentionally exploited. It enables errors to prevented in large procedures or control blocks, but the maximum recommended number of statements to be used in a procedure must always be adhered to as outlined in the programming guidelines.

Modification 9

Dynamic Programming

The documented class CL_ABAP_DYN_PRG provides a set of static methods that support error-free, secure dynamic programming.

Modification 10

File Interface

The documented class CL_FS_PATH provides a set of static methods that support the error-free, secure handling of file names.