ABAP Keyword Documentation → ABAP - Reference → Declarations → Declaration Statements → Data Types and Data Objects → Declaring Data Types → TYPES
TYPES - CLIENT SPECIFIED
Other versions:
7.31 | 7.40 | 7.54
Syntax
TYPES dtype TYPE cds_entity CLIENT SPECIFIED clnt.
Effect
The statement TYPES
uses the addition CLIENT SPECIFIED
to define a structured type constructed from all components of a
CDS entity cds_entity
and that also has an initial component clnt
with the type of a
client column.
cds_entity
expects the name of a
CDS entity of a
CDS view as defined after
the CDS DDL statement DEFINE VIEW. Any name for the client column that complies with the
naming conventions can be specified for clnt
.
Notes
-
A structure of a type defined using this statements can be used as a work area of a
SELECT
statement for CDS entities of CDS views in which automatic client handling is switched off usingCLIENT SPECIFIED
. -
The name specified for
clnt
has absolutely no dependency on the actual name of a client column in a data source of a CDS view.