I_PCESScenarioType
Scenario Type
I_PCESScenarioType is a Basic CDS View that provides data about "Scenario Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07l | ScenarioType | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_PCESScenarioTypeTxt | _Text | $projection.PCESScenarioType = _Text.PCESScenarioType |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Scenario Type | view | |
| AbapCatalog.sqlViewName | IPCESSCNTYPE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.representativeKey | PCESScenarioType | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| domvalue_l13asPCESScenarioType | ||||
| _Text | _Text |
--Label of view
@EndUserText.label: 'Scenario Type'
@AbapCatalog:
{
sqlViewName: 'IPCESSCNTYPE',
compiler.compareFilter: true
}
--Access Control: Authorizations Checks
@AccessControl:
{
// authorization check not required as view only reads domain values
authorizationCheck: #NOT_REQUIRED
}
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
--VDM view type
@VDM.viewType: #BASIC
@ObjectModel:
{
--Performance Annotations
usageType:
{
dataClass: #META,
sizeCategory: #S,
serviceQuality: #B
},
representativeKey: 'PCESScenarioType'
}
define view I_PCESScenarioType
--Select data from domain value table
as select from dd07l as ScenarioType
--Text association
association [0..*] to I_PCESScenarioTypeTxt as _Text on $projection.PCESScenarioType = _Text.PCESScenarioType
{
--Domain Value of Basic Data Status
@ObjectModel.text.association: '_Text'
key substring(ScenarioType.domvalue_l, 1, 3) as PCESScenarioType,
/*Association*/
_Text
}
where
ScenarioType.domname = 'EHSDS_ES_SCENARIO_TYPE'
and ScenarioType.as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_PCESSCENARIOTYPETXT"
],
"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