Get Example source ABAP code based on a different SAP table
• CLIENT SPECIFIED TYPES (obsolete)
TYPES>, CLIENT SPECIFIED> Short Reference >
ABAP_SYNTAX_OBS TYPES dtype TYPE cds_entity CLIENT SPECIFIED clnt.>
What does it do? With the addition CLIENT SPECIFIED> the statement TYPES> defines a structured type constructed from all components of a CDS entity> cds_entity> and an additional first component clnt> with the type of a client column>. cds_entity> expects the name of a non-abstract CDS entity>, namely:
The name of a CDS view>
The name of a CDS table function>
The name of a CDS hierarchy> as defined in the corresponding DEFINE> > statement of the CDS DDL>. Any name for the client column that follows the naming conventions> can be specified for clnt>.
Latest notes:
A structure of a type defined using this statement can be used as a work area of a SELECT>> statement for CDS entities in which implicit client handling> is disabled using the obsolete statement CLIENT SPECIFIED>>. USING>> is used to switch implicit client handling and not disable it, which means the addition CLIENT SPECIFIED> is also obsolete for TYPES>.