Ansicht
Dokumentation

ABENCDS_CLIENT_HANDLING_OBS_ABEXA - CDS CLIENT HANDLING OBS ABEXA

ABENCDS_CLIENT_HANDLING_OBS_ABEXA - CDS CLIENT HANDLING OBS ABEXA

General Material Data   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

, Obsolete Client Handling

This example demonstrates how obsolete client-independent are handled.

Source Code

Execute

Description

The program accesses the following :

They are used to demonstrate the behavior in rare cases where with the obsolete notation ClientDependent:false are made into client-independent views even though they contain client-dependent data sources:

  • DEMO_CDS_SPFLI_CLIENT_2 is a client-independent CDS view in which the client column is not specified in the SELECT list.
  • DEMO_CDS_SPFLI_CLIENT_3 is a client-independent CDS view in which the client column is specified in the SELECT list.

RTTI is used to read the components of the associated data types:

  • The structure of the client-independent CDS entity without client column in the SELECT list does not have a client column.
  • The CDS-managed DDIC view of the client-independent CDS view without client column in the SELECT list has a client column.
  • The structure of the client-independent CDS entity without client column in the SELECT list does not have a client column.
  • The CDS-managed DDIC view of the client-independent CDS view with client column in the SELECT list has a client column, which makes it client-dependent.

The statement SELECT is used to make the following accesses:

  • Regular access to a client-independent CDS entity without client column in the SELECT list. The data is read from all clients. No conditions can be specified for the client. The result set does not have a client column.
  • Regular access to a CDS-managed DDIC view of the client-independent CDS entity without client column in the SELECT list. The data is read from all clients. No conditions can be specified for the client. The result set does not have a client column.
  • Regular access to a client-independent CDS entity with client column in the SELECT list. The data of the client specified in the WHERE condition is read. It is not possible to specify the obsolete addition CLIENT SPECIFIED here. The result set has a client column.
  • Access to a CDS-managed DDIC view of the client-independent CDS view with client column in the SELECT list using the obsolete addition CLIENT SPECIFIED. The data of the client specified in the WHERE condition is read. The result set has a client column.

Note

The accesses to the CDS-managed DDIC views of the shown here are for demonstration purposes only. This way of accessing such CDS views is obsolete and only the CDS entities should now be accessed.






TXBHW - Original Tax Base Amount in Local Currency   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 4215 Date: 20240329 Time: 155835     sap01-206 ( 58 ms )