I_PurgDocTypeSubsetText

DDL: I_PURGDOCTYPESUBSETTEXT SQL: IPURGDOCTYPSST Type: view BASIC

Text View for Document types subset

I_PurgDocTypeSubsetText is a Basic CDS View that provides data about "Text View for Document types subset" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields Language, PurchasingDocumentType. 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 (14)

NameValueLevelField
AbapCatalog.sqlViewName IPURGDOCTYPSST view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Text View for Document types subset view
VDM.viewType #BASIC view
ObjectModel.dataCategory #TEXT view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey PurchasingDocumentType view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
VDM.lifecycle.contract.type #NONE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY PurchasingDocumentType
PurchasingDocumentTypeName dd07t ddtext
_DocType _DocType
_Language _Language
@AbapCatalog.sqlViewName: 'IPURGDOCTYPSST'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Text View for Document types subset'
@VDM.viewType: #BASIC
@ObjectModel.dataCategory: #TEXT
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.representativeKey: 'PurchasingDocumentType'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.sizeCategory: #S
@VDM.lifecycle.contract.type: #NONE

define view I_PurgDocTypeSubsetText
  as select from dd07t

  association        to parent I_PurgDocTypeSubset as _DocType  on $projection.PurchasingDocumentType = _DocType.PurchasingDocumentType
  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: '_DocType'
      @ObjectModel.text.element: ['PurchasingDocumentTypeName']
  key cast( substring( dd07t.domvalue_l, 1, 1 ) as char01 preserving type ) as PurchasingDocumentType,

      @Semantics.text: true
      dd07t.ddtext                                                          as PurchasingDocumentTypeName,
      
      _DocType,
      _Language
}
where
      dd07t.domname  = 'VDM_MM_DOCUMENTTYPESUBSET'
  and dd07t.as4local = 'A'
  and dd07t.as4vers  = '0000'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_PURGDOCTYPESUBSET"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/