I_TranspCalcMethodTypeText

DDL: I_TRANSPCALCMETHODTYPETEXT Type: view_entity BASIC Package: VDM_TM_TCM_COMMON

Transp Calculation Method Type - Text

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

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

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

Annotations (13)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.technicalName ITCALCMETHTYPTXT view
EndUserText.label Transp Calculation Method Type - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey TranspCalculationMethodType 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
Search.searchable true view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY TranspCalculationMethodType
KEY Language ddlanguage
TranspCalcMethTypeDescription
DomainValue dd07t domvalue_l
_TranspCalculationMethodType _TranspCalculationMethodType
_Language _Language
@AccessControl: {authorizationCheck: #NOT_REQUIRED}
@Analytics.technicalName: 'ITCALCMETHTYPTXT'
@EndUserText:   {label: 'Transp Calculation Method Type - Text'}
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel:   {representativeKey:  'TranspCalculationMethodType',
                 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]}
@Search.searchable: true
@VDM:           {viewType:                #BASIC,
                 lifecycle.contract.type: #PUBLIC_LOCAL_API }

define view entity I_TranspCalcMethodTypeText
  as select from dd07t
  association        to parent I_TranspCalcMethodType as _TranspCalculationMethodType on $projection.TranspCalculationMethodType = _TranspCalculationMethodType.TranspCalculationMethodType
  association [0..1] to I_Language                    as _Language                    on $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_TranspCalculationMethodType'
  key cast(substring(domvalue_l, 1, 1) as /scmtms/vdm_tcm_calc_mthd_type preserving type) as TranspCalculationMethodType,
      @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_tcm_calc_mthd_typt preserving type)                      as TranspCalcMethTypeDescription,
      @Analytics.hidden: true
      @Consumption.hidden: true
      dd07t.domvalue_l                                                                    as DomainValue,

      /* Associations */
      _TranspCalculationMethodType,
      _Language
}
where
      domname                     =  '/SCMTMS/TCM_CALC_METHOD_CODE'
  and as4local                    =  'A'
  and substring(domvalue_l, 1, 1) <> '3'
  and substring(domvalue_l, 1, 1) <> '5'
  and substring(domvalue_l, 1, 1) <> '6'
  and substring(domvalue_l, 1, 1) <> '9'
  and substring(domvalue_l, 1, 1) <> 'A'
  and substring(domvalue_l, 1, 1) <> 'B'