I_MaterialDocumentPostgTypeTxt

DDL: I_MATERIALDOCUMENTPOSTGTYPETXT Type: view_entity BASIC

Material Document Posting Type - Text

I_MaterialDocumentPostgTypeTxt is a Basic CDS View that provides data about "Material Document Posting Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields MaterialDocumentPostingType, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

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

Annotations (14)

NameValueLevelField
Analytics.technicalName IMatlDocPostgTpTxt view
Analytics.dataExtraction.enabled true view
EndUserText.label Material Document Posting Type - Text view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey MaterialDocumentPostingType view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY MaterialDocumentPostingType
KEY Language
MaterialDocumentPostgTypeName
_MatlDocPostgType _MatlDocPostgType
_Language _Language
@Analytics: { technicalName: 'IMatlDocPostgTpTxt',
              dataExtraction.enabled:true }

@EndUserText.label: 'Material Document Posting Type - Text'

@AccessControl.authorizationCheck: #NOT_REQUIRED

@Metadata.ignorePropagatedAnnotations: true

@ObjectModel: { dataCategory: #TEXT,
                modelingPattern: #LANGUAGE_DEPENDENT_TEXT,
                representativeKey: 'MaterialDocumentPostingType',
                supportedCapabilities: [#CDS_MODELING_ASSOCIATION_TARGET,
                                        #CDS_MODELING_DATA_SOURCE,
                                        #EXTRACTION_DATA_SOURCE,
                                        #LANGUAGE_DEPENDENT_TEXT,
                                        #SEARCHABLE_ENTITY,
                                        #SQL_DATA_SOURCE],
                usageType: { serviceQuality: #A, 
                             dataClass: #META, 
                             sizeCategory: #S } }

@Search.searchable: true

@VDM: { lifecycle.contract.type: #PUBLIC_LOCAL_API,
        viewType: #BASIC }
define view entity I_MaterialDocumentPostgTypeTxt 
  as select from dd07t

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

{
      @ObjectModel.foreignKey.association: '_MatlDocPostgType'
  key cast(substring(domvalue_l, 1, 1) as kzsto)       as MaterialDocumentPostingType,
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key cast(ddlanguage as spras preserving type)        as Language,

      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #LOW
      @Semantics.text: true
      cast(ddtext as vdm_lkngseq_text preserving type) as MaterialDocumentPostgTypeName,

      //Associations

      _MatlDocPostgType,
      _Language

}
where domname  = 'KZSTO'
  and as4local = 'A'
  and (valpos  = '0001' or valpos = '0002' or valpos = '0003')
  and as4vers  = '0000'
  and domvalue_l <> '3';