I_CostOriginTypeText

DDL: I_COSTORIGINTYPETEXT SQL: IFICOSTORITYPET Type: view BASIC

Cost Origin Type - Text

I_CostOriginTypeText is a Basic CDS View that provides data about "Cost Origin Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key fields Language, CostOriginType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

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

Annotations (12)

NameValueLevelField
ObjectModel.representativeKey CostOriginType view
EndUserText.label Cost Origin Type - Text view
AbapCatalog.sqlViewName IFICOSTORITYPET view
VDM.viewType #BASIC view
ObjectModel.dataCategory #TEXT view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY CostOriginType
CostOriginTypeName ddtext
_Language _Language
@ObjectModel.representativeKey: 'CostOriginType'
@EndUserText.label: 'Cost Origin Type - Text'
@AbapCatalog.sqlViewName: 'IFICOSTORITYPET'
@VDM.viewType: #BASIC
@ObjectModel.dataCategory: #TEXT
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.supportedCapabilities: [ #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #LANGUAGE_DEPENDENT_TEXT ]

@ObjectModel.usageType: {
  dataClass: #META,
  serviceQuality: #A,
  sizeCategory: #M
}

@Metadata.ignorePropagatedAnnotations: true

define view I_CostOriginTypeText as select from dd07t

association [0..1] to I_Language as _Language on $projection.Language = _Language.Language

{
  @Semantics.language
  @ObjectModel.foreignKey.association: '_Language'
  key cast( ddlanguage as spras ) as Language,
  
  key cast ( cast ( substring( domvalue_l, 1, 2 ) as abap.char( 2 ) ) as hrktyp ) as CostOriginType,
  @Semantics.text: true
  ddtext as CostOriginTypeName, 
  
  _Language
  
} where domname = 'HRKTYP' and as4local = 'A'