Technology Blog Posts by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
lenapadeken
Product and Topic Expert
Product and Topic Expert
1,192

In this blog, you'll learn about the new features for SAP BTP ABAP Environment 2502 that the ABAP keyword documentation team documented.

News for ABAP Release 9.14 

ABAP CDS

Writable CDS View Entities

You can now define writable CDS view entities. Use the syntax:

… WRITABLE … VIEW ENTITY view_entity …

More about writable CDS view entities

CDS Table Entities

A new kind of CDS entity is available: the CDS table entity. CDS table entities are the successor of DDIC database tables. Use the syntax:

… DEFINE TABLE ENTITY …

More about CDS table entities

Writable CDS External Entities

You can now define writable CDS external entities. Use the syntax:

… WRITABLE … EXTERNAL ENTITY ext_entity …

More about writable CDS external entities

ABAP SQL

Connection Objects

Connection objects in ABAP SQL represent database connections and can be used by implementing the interface IF_ABAP_SQL_CONNECTION. Using the following syntax, service connections can be enabled in ABAP Cloud:

… CONNECTION @con_ref

More about connection objects

Declaring a Client Column for Client-independent Data Sources

In ABAP SQL, you can declare a column of a client-independent data source as a client column and the data source as client-dependent using the addition DECLARE CLIENT in the FROM clause. Use the following syntax:

… DECLARE CLIENT clnt_col

More about client columns for client-independent data sources

Addition OPTIONS for DML Statements

OPTIONS can be used in DML statements to introduce ABAP-specific additions. You can use the addition OPTIONS at the end of a DML statement or for a subquery of DML statements.

More about the OPTIONS addition

AMDP

Client Safety of AMDP Methods

AMDP does not support implicit client handling. This means that client safety must be delegated to the objects accessed in AMDP methods and declared in the USING list. In client-safe AMDP methods, client-dependent DDIC database tables, client-independent DDIC database tables, and ABAP database schema objects can be accessed.

sXML Library

Header Options for sXML Library

The sXML Library supports header options for the XML declaration. Three different options are available:

  • CO_OPT_VAL_NO (no XML header; default)
  • CO_OPT_VAL_WITHOUT_ENCODING (version)
  • CO_OPT_VAL_WITHOUT_ENCODING (version and encoding)

More about header options for the sXML Library

ABAP EML

Runtime Type Service Method for BDEF Derived Types

Using runtime type services, you can create BDEF-derived types dynamically and type-safe.

More about Runtime type service method for BDEF derived types

Using Custom Secondary Table Keys in BDEF Derived Types

You can create custom secondary table keys for BDEF-derived types.

More about using custom secondary table keys in BDEF-derived types

If there are any questions, feel free to comment below. We hope you like the new features.