I_AccountingServiceDocument
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)
| Source | Alias | Join Type |
|---|---|---|
| P_AcctgServiceDocumentItem | P_AcctgServiceDocumentItem | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_AcctgServiceDocumentType | _ServiceDocumentType | $projection.ServiceDocumentType = _ServiceDocumentType.ServiceDocumentType |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA