I_VrtConsumptionDirectionT

DDL: I_VRTCONSUMPTIONDIRECTIONT SQL: IPALVRTCSPMDIRT Type: view BASIC

Vertical Consumption Direction - Text

I_VrtConsumptionDirectionT is a Basic CDS View (Dimension) that provides data about "Vertical Consumption Direction - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields VerticalConsumptionDirection, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[1..1] I_VerticalConsumptionDirection _VerticalConsumptionDirection $projection.VerticalConsumptionDirection = _VerticalConsumptionDirection.VerticalConsumptionDirection

Annotations (15)

NameValueLevelField
EndUserText.label Vertical Consumption Direction - Text view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey VerticalConsumptionDirection view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IPALVRTCSPMDIRT view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #META view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY VerticalConsumptionDirection
KEY Language ddlanguage
VerticalCnsmpnDirectionDesc
_VerticalConsumptionDirection _VerticalConsumptionDirection
_Language _Language
@EndUserText.label: 'Vertical  Consumption Direction - Text' //same as DDL description

@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@Analytics.dataCategory: #DIMENSION
@Analytics.dataExtraction.enabled: true
@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'VerticalConsumptionDirection'
@AccessControl.authorizationCheck: #NOT_REQUIRED //or #CHECK 

@AbapCatalog.sqlViewName: 'IPALVRTCSPMDIRT'
@ClientHandling.algorithm: #SESSION_VARIABLE 
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #META
@ObjectModel.modelingPattern:           #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.supportedCapabilities:  [  #LANGUAGE_DEPENDENT_TEXT,
                                        #CDS_MODELING_DATA_SOURCE,
                                        #CDS_MODELING_ASSOCIATION_TARGET,
                                        #SQL_DATA_SOURCE,
                                        #EXTRACTION_DATA_SOURCE,
                                        #SEARCHABLE_ENTITY                   ]
@Metadata.ignorePropagatedAnnotations: true
define view I_VrtConsumptionDirectionT //must start with "I_"; same as DDL source name in upper-camelcase notation 

   as select from dd07t
   association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
   association [1..1] to I_VerticalConsumptionDirection as _VerticalConsumptionDirection 
      on $projection.VerticalConsumptionDirection = _VerticalConsumptionDirection.VerticalConsumptionDirection
{
     @ObjectModel.foreignKey.association: '_VerticalConsumptionDirection'
    key cast ( substring( domvalue_l, 1, 2 ) as verticalconsumptiondirection preserving type ) as VerticalConsumptionDirection,
    @Semantics.language
    key ddlanguage as Language,
    @Semantics.text
    cast( ddtext as verticalcnsmpndirectiondesc preserving type ) as VerticalCnsmpnDirectionDesc, 
    _VerticalConsumptionDirection, //decomment only if no problems in analytics

    _Language 
}
where domname = 'VERTICALCONSUMPTIONDIRECTION' and as4local = 'A'
  
  
  
  
 /*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_VERTICALCONSUMPTIONDIRECTION"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/