I_PurchasingDocumentTypeText

DDL: I_PURCHASINGDOCUMENTTYPETEXT SQL: IMMPURGDOCTYPTXT Type: view BASIC

Purchasing Document Type - Text

I_PurchasingDocumentTypeText is a Basic CDS View that provides data about "Purchasing Document Type - Text" in SAP S/4HANA. It reads from 1 data source (t161t) and exposes 7 fields with key fields PurchasingDocumentType, PurchasingDocumentCategory, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
t161t t161t from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_PurchasingDocumentCategory _PurchasingDocumentCategory $projection.PurchasingDocumentCategory = _PurchasingDocumentCategory.PurchasingDocumentCategory
[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 PurchasingDocumentType view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
AbapCatalog.sqlViewName IMMPURGDOCTYPTXT view
EndUserText.label Purchasing Document Type - Text view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
Search.searchable true view
Analytics.dataExtraction.enabled true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Metadata.ignorePropagatedAnnotations true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentType bsart
KEY PurchasingDocumentCategory bstyp
KEY Language spras
PurchasingDocumentTypeName batxt
_PurchasingDocumentType _PurchasingDocumentType
_PurchasingDocumentCategory _PurchasingDocumentCategory
_Language _Language
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@ObjectModel.dataCategory: #TEXT
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'PurchasingDocumentType'
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.supportedCapabilities: [ #SEARCHABLE_ENTITY, #LANGUAGE_DEPENDENT_TEXT, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ]
@AbapCatalog.sqlViewName: 'IMMPURGDOCTYPTXT'
@EndUserText.label: 'Purchasing Document Type - Text'
@AccessControl.authorizationCheck:#NOT_REQUIRED
@VDM.viewType : #BASIC
@Search.searchable: true
@Analytics.dataExtraction.enabled: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@Metadata.ignorePropagatedAnnotations:true

define view I_PurchasingDocumentTypeText
  as select from t161t
  association        to parent I_PurchasingDocumentType as _PurchasingDocumentType     on  $projection.PurchasingDocumentCategory = _PurchasingDocumentType.PurchasingDocumentCategory
                                                                                       and $projection.PurchasingDocumentType     = _PurchasingDocumentType.PurchasingDocumentType
  association [1..1] to I_PurchasingDocumentCategory    as _PurchasingDocumentCategory on  $projection.PurchasingDocumentCategory = _PurchasingDocumentCategory.PurchasingDocumentCategory

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


{
      @ObjectModel.foreignKey.association: '_PurchasingDocumentType'
      @ObjectModel.text.element: ['PurchasingDocumentTypeName']
  key bsart as PurchasingDocumentType,
      @ObjectModel.foreignKey.association: '_PurchasingDocumentCategory'
  key bstyp as PurchasingDocumentCategory,
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key spras as Language,

      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
      @Semantics.text: true
      batxt as PurchasingDocumentTypeName,

      _PurchasingDocumentType,
      _PurchasingDocumentCategory,
      _Language

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"T161T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_PURCHASINGDOCUMENTCATEGORY",
"I_PURCHASINGDOCUMENTTYPE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/