Ansicht
Dokumentation

ABENDDIC_PROJECTION_VIEWS - DDIC PROJECTION VIEWS

ABENDDIC_PROJECTION_VIEWS - DDIC PROJECTION VIEWS

CPI1466 during Backup   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

- Projection Views

A DDIC projection view is a special view for hiding fields from a single basis table. An SQL view is not created on the database. No selection conditions can be specified for a DDIC projection view.

The structure type defined using the view fields of the projection view can be referenced in ABAP programs using TYPE. A projection view can be accessed using but not using CDS views, Native SQL, or AMDP. The database interface transforms an statement that accesses a projection view to a platform-dependent SQL statement that provides the correct result.

The Access setting in the maintenance status of a projection view can have the following values:

  • Read only
The projection view can only be used to read data with .
  • Read, change, delete, and insert
The projection view can only be used to change data with .

When lines are inserted using projection views, all table fields not in the view are given the type-specific initial values of the field. This is done regardless of whether the field is defined as NOT NULL on the database.

Notes

  • As in a DDIC database table, the client dependency of a projection view is determined by an initial column with the built-in dictionary type CLNT.
  • Like a DDIC database table, the maintenance status of a projection view has a Display and Maintain setting alongside the Access setting. The setting must match the Access setting.

Example

The projection view DEMO_SPFLI contains fields of the tables SPFLI. The view can be accessed as follows using :






BAL_S_LOG - Application Log: Log header data   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2893 Date: 20240425 Time: 101407     sap01-206 ( 48 ms )