I_PurgDocumentSubtypeText

DDL: I_PURGDOCUMENTSUBTYPETEXT SQL: IMMPURDOCSUBTXT Type: view BASIC

Purchasing Document Subtype Text

I_PurgDocumentSubtypeText is a Basic CDS View that provides data about "Purchasing Document Subtype Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields PurchasingDocumentSubtype, Language. 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 (16)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ObjectModel.dataCategory #TEXT view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey PurchasingDocumentSubtype view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Purchasing Document Subtype Text view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IMMPURDOCSUBTXT view
Search.searchable true view
Analytics.dataExtraction.enabled true view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentSubtype
KEY Language
DomainValue dd07t domvalue_l
PurchasingDocumentSubTypeName
_PurchasingDocumentSubtype _PurchasingDocumentSubtype
_Language _Language
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@ObjectModel.dataCategory: #TEXT
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'PurchasingDocumentSubtype'
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@EndUserText.label: 'Purchasing Document Subtype Text'
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'IMMPURDOCSUBTXT'
@Search.searchable: true
@Analytics.dataExtraction.enabled: true
@Metadata.ignorePropagatedAnnotations: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API




define view I_PurgDocumentSubtypeText 
 as select from dd07t
  association to parent I_PurchasingDocumentSubtype as _PurchasingDocumentSubtype 
    on $projection.PurchasingDocumentSubtype = _PurchasingDocumentSubtype.PurchasingDocumentSubtype
  association [0..1] to I_Language as _Language 
    on $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_PurchasingDocumentSubtype'
      @ObjectModel.text.element: ['PurchasingDocumentSubtypeName']
  key cast ( dd07t.domvalue_l as bsakz ) as PurchasingDocumentSubtype,
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key cast( dd07t.ddlanguage as spras preserving type ) as Language,      
      @Consumption.hidden: true
      dd07t.domvalue_l as DomainValue,
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
      @Semantics.text: true
      cast (dd07t.ddtext  as purchasingdocumentcategoryname preserving type ) as PurchasingDocumentSubTypeName,
      _PurchasingDocumentSubtype,
      _Language
}
where
      domname  = 'EBSAKZ'
  and dd07t.as4local = 'A'
  and dd07t.as4vers = '0000'   
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_PURCHASINGDOCUMENTSUBTYPE"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/