P_SVTConstants
P_SVTConstants is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (ehfndv_dummy) and exposes 16 fields with key field Dummy.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ehfndv_dummy | ehfndv_dummy | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSVTCONST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #META | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Dummy | dummy | ||
| Constant0 | constant0 | |||
| Constant1 | constant1 | |||
| Constant2 | constant2 | |||
| Constant3 | constant3 | |||
| Constant4 | constant4 | |||
| Constant01 | constant01 | |||
| Constant02 | constant02 | |||
| Constant03 | constant03 | |||
| Constant04 | constant04 | |||
| ConstantCCMPS | constantccmps | |||
| ConstantCCI | constantcci | |||
| ConstantCRR | constantcrr | |||
| ConstantMaterial | constantmaterial | |||
| ConstantESL | constantesl | |||
| ConstantEmptyRaw16 | constantemptyraw16 |
@AbapCatalog:
{
sqlViewName: 'PSVTCONST',
compiler.compareFilter: true,
preserveKey: true
}
--Access Control: Authorizations Checks
@AccessControl:
{
authorizationCheck: #NOT_REQUIRED
}
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
--VDM view type
@VDM.viewType: #BASIC
@VDM.private: true
@ObjectModel.usageType:{ serviceQuality: #A, // < 1 msec
sizeCategory: #S, // < 1.000
dataClass: #META }
// Dummy constant selection to solve issues with case-statements with constants (not null-preserving)
define view P_SVTConstants
as select from ehfndv_dummy
{
key dummy as Dummy,
constant0 as Constant0,
constant1 as Constant1,
constant2 as Constant2,
constant3 as Constant3,
constant4 as Constant4,
constant01 as Constant01,
constant02 as Constant02,
constant03 as Constant03,
constant04 as Constant04,
constantccmps as ConstantCCMPS,
constantcci as ConstantCCI,
constantcrr as ConstantCRR,
constantmaterial as ConstantMaterial,
constantesl as ConstantESL,
constantemptyraw16 as ConstantEmptyRaw16
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EHFNDV_DUMMY"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA