C_PurchasingDocTypeVH

DDL: C_PURCHASINGDOCTYPEVH SQL: CPURDOCTYPEVH Type: view CONSUMPTION

Purchasing Doc Type VH

C_PurchasingDocTypeVH is a Consumption CDS View that provides data about "Purchasing Doc Type VH" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocumentType) and exposes 3 fields with key fields PurchasingDocumentType, PurchasingDocumentCategory.

Data Sources (1)

SourceAliasJoin Type
I_PurchasingDocumentType I_PurchasingDocumentType from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CPURDOCTYPEVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Purchasing Doc Type VH view
VDM.viewType #CONSUMPTION view
Search.searchable true view
ObjectModel.semanticKey PurchasingDocumentType view
ObjectModel.representativeKey PurchasingDocumentType view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentType PurchasingDocumentType
KEY PurchasingDocumentCategory PurchasingDocumentCategory
PurchasingDocumentTypeName
@AbapCatalog.sqlViewName: 'CPURDOCTYPEVH'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Purchasing Doc Type VH'
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
@ObjectModel.semanticKey: 'PurchasingDocumentType'
@ObjectModel.representativeKey: 'PurchasingDocumentType'
@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass: #CUSTOMIZING      // Table T161 is Customizing

//@OData.publish: true



define view C_PurchasingDocTypeVH
  as select from I_PurchasingDocumentType
{
      @ObjectModel.text.element:  [ 'PurchasingDocumentTypeName' ]
      @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
      key PurchasingDocumentType,
      
      @Search: {defaultSearchElement: true, ranking: #MEDIUM, fuzzinessThreshold: 0.8 }
      key PurchasingDocumentCategory,
      
      @Semantics.text: true
      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
      _Text[1: Language = $session.system_language].PurchasingDocumentTypeName
}