I_StkMatlPrValuationTypeText

DDL: I_STKMATLPRVALUATIONTYPETEXT SQL: ISTKMATPRVTYPET Type: view BASIC Package: ODATA_ML_CHANGEMATERIALPRICES

Type of Valuation Segment - Text

I_StkMatlPrValuationTypeText is a Basic CDS View that provides data about "Type of Valuation Segment - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields Language, StkMaterialPriceValuationType. It has 1 association to related views. Part of development package ODATA_ML_CHANGEMATERIALPRICES.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

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

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName ISTKMATPRVTYPET view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Type of Valuation Segment - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey StkMaterialPriceValuationType view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
Search.searchable true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY StkMaterialPriceValuationType
DomainValue dd07t domvalue_l
StkMatlPriceValuationTypeName
_StkMatlPriceValuationType _StkMatlPriceValuationType
_Language _Language
@AbapCatalog.sqlViewName: 'ISTKMATPRVTYPET'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Type of Valuation Segment - Text'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.dataCategory: #TEXT
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.representativeKey: 'StkMaterialPriceValuationType'
@ObjectModel.supportedCapabilities: [#CDS_MODELING_ASSOCIATION_TARGET,
                                     #CDS_MODELING_DATA_SOURCE,
                                     #LANGUAGE_DEPENDENT_TEXT,
                                     #SEARCHABLE_ENTITY,
                                     #SQL_DATA_SOURCE]
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.sizeCategory: #S
@Search.searchable: true
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@VDM.viewType: #BASIC
define view I_StkMatlPrValuationTypeText
  as select from dd07t
  association        to parent I_StkMatlPriceValuationType as _StkMatlPriceValuationType on $projection.StkMaterialPriceValuationType = _StkMatlPriceValuationType.StkMaterialPriceValuationType
  association [0..1] to I_Language                         as _Language                  on $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key cast( dd07t.ddlanguage as spras preserving type )                    as Language,
      @ObjectModel.foreignKey.association: '_StkMatlPriceValuationType'
      @ObjectModel.text.element: ['StkMatlPriceValuationTypeName']
  key cast( dd07t.domvalue_l as fml_otype )                                as StkMaterialPriceValuationType,
      @Analytics.hidden: true
      @Consumption.hidden: true
      dd07t.domvalue_l                                                     as DomainValue,
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #LOW
      @Semantics.text: true
      cast( dd07t.ddtext as fml_chmp_valn_sgmt_type_name preserving type ) as StkMatlPriceValuationTypeName,
      _StkMatlPriceValuationType,
      _Language
}
where
      dd07t.domname  = 'FML_OTYPE'
  and dd07t.as4local = 'A'
  and dd07t.as4vers  = '0000'