I_FrtCostDistrLevelText

DDL: I_FRTCOSTDISTRLEVELTEXT Type: view_entity BASIC Package: VDM_TM_TCD

Freight Cost Distribution Level Text

I_FrtCostDistrLevelText is a Basic CDS View that provides data about "Freight Cost Distribution Level Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields FrtCostDistrLevel, Language. It has 1 association to related views. Part of development package VDM_TM_TCD.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

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

Annotations (12)

NameValueLevelField
EndUserText.label Freight Cost Distribution Level Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey FrtCostDistrLevel view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
Search.searchable true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY FrtCostDistrLevel
KEY Language ddlanguage
FrtCostDistrLevelTxt
DomainValue dd07t domvalue_l
_DistributionLevel _DistributionLevel
_Language _Language
@EndUserText:   {label:              'Freight Cost Distribution Level Text'}
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel:   {representativeKey:   'FrtCostDistrLevel',
                 dataCategory:        #TEXT,
                 modelingPattern:     #LANGUAGE_DEPENDENT_TEXT,
                 usageType:           {serviceQuality: #A,
                                       sizeCategory:   #S,
                                       dataClass:      #META},
                 supportedCapabilities: [#CDS_MODELING_ASSOCIATION_TARGET,
                                        #CDS_MODELING_DATA_SOURCE,
                                        #LANGUAGE_DEPENDENT_TEXT,
                                        #SEARCHABLE_ENTITY,
                                        #SQL_DATA_SOURCE]
                                      }
@VDM:           {viewType:                #BASIC,
                 lifecycle.contract.type: #PUBLIC_LOCAL_API }
@AccessControl: {authorizationCheck:      #NOT_REQUIRED}
@Search.searchable: true
define view entity I_FrtCostDistrLevelText
  as select from dd07t
  association        to parent I_FrtCostDistrLevel as _DistributionLevel on $projection.FrtCostDistrLevel = _DistributionLevel.FrtCostDistrLevel
  association [0..1] to I_Language                 as _Language          on $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_DistributionLevel'
  key cast(substring(domvalue_l, 1, 1) as /scmtms/distr_level preserving type) as FrtCostDistrLevel,
      @Semantics.language: true
      @ObjectModel.foreignKey.association: '_Language'
  key ddlanguage                                                               as Language,
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #LOW
      @Semantics.text: true
      cast(ddtext as /scmtms/vdm_distr_level_desc preserving type )            as FrtCostDistrLevelTxt,

      @Analytics.hidden: true
      @Consumption.hidden: true
      dd07t.domvalue_l                                                         as DomainValue,

      /* Associations */
      _DistributionLevel,
      _Language
}
where
      domname                     =  '/SCMTMS/DISTR_LEVEL'
  and as4local                    =  'A'
  and substring(domvalue_l, 1, 1) <> '1'