I_PCESScenarioType

DDL: I_PCESSCENARIOTYPE Type: view BASIC

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)

SourceAliasJoin Type
dd07l ScenarioType from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_PCESScenarioTypeTxt _Text $projection.PCESScenarioType = _Text.PCESScenarioType

Annotations (10)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/