I_AccountingServiceDocument

DDL: I_ACCOUNTINGSERVICEDOCUMENT Type: view_entity COMPOSITE

Accounting Service Document

I_AccountingServiceDocument is a Composite CDS View (Dimension) that provides data about "Accounting Service Document" in SAP S/4HANA. It reads from 1 data source (P_AcctgServiceDocumentItem) and exposes 5 fields with key fields ServiceDocumentType, ServiceDocument. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_AcctgServiceDocumentItem P_AcctgServiceDocumentItem from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_AcctgServiceDocumentType _ServiceDocumentType $projection.ServiceDocumentType = _ServiceDocumentType.ServiceDocumentType

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Accounting Service Document view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ObjectModel.representativeKey ServiceDocument view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
Search.searchable true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocumentType ServiceDocumentType
KEY ServiceDocument ServiceDocument
ServiceDocumentDescription ServiceDocumentDescription
ServiceDocumentTypeName ServiceDocumentTypeName
_ServiceDocumentType _ServiceDocumentType
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Accounting Service Document'
@Metadata.ignorePropagatedAnnotations: true
@Metadata.allowExtensions: true
@Analytics.dataCategory: #DIMENSION
@Analytics.internalName: #LOCAL
@ObjectModel.representativeKey: 'ServiceDocument'
@ObjectModel.semanticKey: ['ServiceDocument', 'ServiceDocumentType']
@ObjectModel.usageType:{
  serviceQuality: #C,
  sizeCategory: #L,
  dataClass: #TRANSACTIONAL
}
@ObjectModel.supportedCapabilities: 
  [ #ANALYTICAL_DIMENSION,
    #CDS_MODELING_ASSOCIATION_TARGET,
    #SQL_DATA_SOURCE, 
    #CDS_MODELING_DATA_SOURCE,
    #VALUE_HELP_PROVIDER
  ]
@VDM.viewType: #COMPOSITE
@Search.searchable: true

define view entity I_AccountingServiceDocument 
  as select from P_AcctgServiceDocumentItem
  association [0..1] to I_AcctgServiceDocumentType as _ServiceDocumentType on $projection.ServiceDocumentType = _ServiceDocumentType.ServiceDocumentType
{
  @ObjectModel.foreignKey.association: '_ServiceDocumentType'
  key ServiceDocumentType,
  @ObjectModel.text.element: ['ServiceDocumentDescription']
  key ServiceDocument,
  
  @Semantics.text: true
  ServiceDocumentDescription,
  
  @Semantics.text: true
  @Search: {
    defaultSearchElement: true,
    fuzzinessThreshold: 0.8,
    ranking: #HIGH
  }
  ServiceDocumentTypeName,
  
  _ServiceDocumentType
}
group by
  ServiceDocumentType,
  ServiceDocument,
  ServiceDocumentDescription,
  ServiceDocumentTypeName
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_ACCTGSERVICEDOCUMENTITEM"
],
"ASSOCIATED":
[
"I_ACCTGSERVICEDOCUMENTTYPE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/