C_POItemOrderTypeValueHelp

DDL: C_POITEMORDERTYPEVALUEHELP SQL: CPOIORDTYPEVH Type: view CONSUMPTION Package: ODATA_MM_PUR_POITEMS_MONI

Order Type Value Help

C_POItemOrderTypeValueHelp is a Consumption CDS View that provides data about "Order Type Value Help" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocumentType) and exposes 2 fields with key field PurchaseOrderType. Part of development package ODATA_MM_PUR_POITEMS_MONI.

Data Sources (1)

SourceAliasJoin Type
I_PurchasingDocumentType I_PurchasingDocumentType from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CPOIORDTYPEVH view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #CONSUMPTION view
Search.searchable true view
VDM.lifecycle.contract.type #NONE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Order Type Value Help view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrderType
PurchaseOrderTypeName Order Type Description
@AbapCatalog.sqlViewName: 'CPOIORDTYPEVH'
@AbapCatalog.compiler.compareFilter: true
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
@VDM.lifecycle.contract.type : #NONE

@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE

//@ObjectModel.representativeKey: 'PurchasingDocumentType'


@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S

@EndUserText.label: 'Order Type Value Help'
define view C_POItemOrderTypeValueHelp
  as select from I_PurchasingDocumentType
{
      @ObjectModel.text.element:  [ 'PurchaseOrderTypeName' ]
      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.9 }
  key cast(PurchasingDocumentType as bsart) as PurchaseOrderType,
      
      //TODO: DATA ELEMENT

      @Semantics.text: true
      @Search: { defaultSearchElement: true, ranking: #LOW }
      @EndUserText.label: 'Order Type Description'
      _Text[1: Language = $session.system_language].PurchasingDocumentTypeName as PurchaseOrderTypeName
}
where
  PurchasingDocumentCategory = 'F'