I_ServiceOrderDocumentVH

DDL: I_SERVICEORDERDOCUMENTVH SQL: ISRVDOCVH Type: view COMPOSITE Package: K_SERVICE_DOC_CORE

Service Order Document ID

I_ServiceOrderDocumentVH is a Composite CDS View that provides data about "Service Order Document ID" in SAP S/4HANA. It reads from 1 data source (P_AcctgServiceDocumentItem) and exposes 6 fields with key fields ServiceDocument, ServiceDocumentType. Part of development package K_SERVICE_DOC_CORE.

Data Sources (1)

SourceAliasJoin Type
P_AcctgServiceDocumentItem _AcctgServiceDocumentItem from

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ISRVDOCVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.representativeKey ServiceDocument view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.dataCategory #VALUE_HELP view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
Search.searchable true view
Consumption.ranked true view
EndUserText.label Service Order Document ID view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocument ServiceDocument
KEY ServiceDocumentType P_AcctgServiceDocumentItem ServiceDocumentType
ServiceDocumentDescription ServiceDocumentDescription
ServiceDocumentTypeName ServiceDocumentTypeName
CompanyCode CompanyCode
ProfitCenter ProfitCenter
@AbapCatalog.sqlViewName: 'ISRVDOCVH'
@AbapCatalog.compiler.compareFilter:true
@AbapCatalog.preserveKey:true
@ObjectModel.representativeKey: 'ServiceDocument'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {
  dataClass: #TRANSACTIONAL,
  serviceQuality: #C,
  sizeCategory: #L
}
@ObjectModel.semanticKey: ['ServiceDocument', 'ServiceDocumentType']
@ObjectModel.dataCategory: #VALUE_HELP
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Search.searchable: true
@Consumption.ranked: true

@EndUserText.label: 'Service Order Document ID'

define view I_ServiceOrderDocumentVH
  as select from P_AcctgServiceDocumentItem as _AcctgServiceDocumentItem
    join I_ServiceDocumentType              as _SERVICEDOCUMENTTYPE        on _AcctgServiceDocumentItem.ServiceDocumentType = _SERVICEDOCUMENTTYPE.ServiceDocumentType

{
      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
  key ServiceDocument,
      @Search: { defaultSearchElement: true, ranking: #MEDIUM, fuzzinessThreshold: 0.8 }
  key _AcctgServiceDocumentItem.ServiceDocumentType,
      @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
      ServiceDocumentDescription,
      @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
      ServiceDocumentTypeName,
      CompanyCode,
      ProfitCenter
}
where _SERVICEDOCUMENTTYPE.ServiceObjectType = 'BUS2000116'
group by _AcctgServiceDocumentItem.ServiceDocumentType, ServiceDocument, ServiceDocumentDescription, ServiceDocumentTypeName, CompanyCode, ProfitCenter