AS ABAP Release 758, ©Copyright 2024 SAP SE. All rights reserved.
ABAP - Keyword Documentation → ABAP - ABAP Release News → News for ABAP Release 7.5x → News for ABAP Release 7.55 →
ABAP SQL in ABAP Release 7.55
New Aggregate Function ALLOW_PRECISION_LOSS
ABAP SQL now supports the following new aggregate function in combination with the aggregate expression SUM:
Optional Window Frame Specification within a Window Function
The optional window frame specification defines a subset
of rows within a window, called frame. Frames are determined with respect to the current row, which enables the frame to move within a window.
New Window Functions FIRST_VALUE and LAST_VALUE
ABAP SQL now supports the following new window functions in window expressions:
New Date/Time Conversion Functions
ABAP SQL now supports the following new date/time conversion functions:
New Time Stamp Functions
ABAP SQL now supports the following new time stamp functions:
New Date Functions
ABAP SQL now supports the following new date functions:
New Additions After the ORDER BY Clause
ABAP SQL now supports the following additions after the ORDER BY clause:
New Aggregate Functions
ABAP SQL now supports the following new aggregate functions:
New Geometry Conversion Function as_geo_json
ABAP SQL now supports the following new geometry conversion function:
SQL Conditions Revised
The following ABAP SQL conditions were revised:
New Window Function NTILE
ABAP SQL now supports the following new window function in window expressions:
SELECT, INTO target Modification
When using SELECT, INTO target, host variables can now be declared inline
even when the FROM clause is dynamic, as long as all fields of the
SELECT list are known statically. Previously, the structure of the result set, including the
SELECT list, the FROM clause, and any indicators needed to be static.
New Type Conversion Function to_blob
See New Type Conversion Function to_clob.
New Type Conversion Function to_clob
ABAP SQL now supports the new type conversion functions
to_clob and to_blob.
New Currency Conversion Function currency conversion
ABAP SQL now supports the new currency conversion function currency_conversion.
Streaming and Locators Can Now Be Used on SQL Expressions
Streaming and locators can now be used in combination with SQL expressions such as
TO_CLOB, TO_BLOB,
and AS_GEO_JSON.
Further Data Types Allowed in Elementary SQL Expressions
Elementary SQL expressions can now also have the dictionary data types STRING and RAWSTRING.
Hierarchy Load Options
The hierarchy generator HIERARCHY can now use the new addition LOAD BULK|INCREMENTAL|load_option to specify the load policy for a generated hierarchy.
Typed Literals
Typed literals for many ABAP Dictionary types are now available in ABAP SQL.
New String Functions
ABAP SQL now supports the new string functions REPLACE_REGEXPR,
LIKE_REGEXPR, and OCCURRENCES_REGEXPR
that support regular expressions.
Addition to the UPDATE FROM Clause
Set indicators can now be used as additions
after the UPDATE FROM clause to indicate columns to be updated.
Strict Mode of the Syntax Check
If one the new features listed above is used in an ABAP SQL statement, the syntax check is performed in a
strict mode, which handles the statement more strictly than the regular syntax check.
Change Regarding the CONNECTION Addition
The addition CONNECTION is supported by the
ABAP SQL engine for the
standard connection as well as for
service connections. Only
secondary connections from table DBCON cannot be processed by the
ABAP SQL engine.