I_DocInfoRecdDocumentVersion
Document Version Value Help
I_DocInfoRecdDocumentVersion is a Basic CDS View (Dimension) that provides data about "Document Version Value Help" in SAP S/4HANA. It reads from 1 data source (draw) and exposes 5 fields with key fields DocumentType, DocumentInfoRecord, DocumentVersion. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| draw | document | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_DocInfoRecdDocumentType | _DocumentType | $projection.DocumentType = _DocumentType.DocumentType --Get Document Number |
| [1..1] | I_DocInfoRecdNumber | _DocumentNumber | $projection.DocumentType = _DocumentNumber.DocumentType and $projection.DocumentInfoRecord = _DocumentNumber.DocumentInfoRecord |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICVDOCVERSION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Document Version Value Help | view | |
| Metadata.allowExtensions | true | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | DocumentVersion | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.successor | I_DocumentInfoRecordDocVersion | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
@AbapCatalog.sqlViewName: 'ICVDOCVERSION'
@AbapCatalog.compiler.compareFilter: true
@EndUserText.label: 'Document Version Value Help'
@Metadata.allowExtensions: true
@Analytics: { dataCategory: #DIMENSION, dataExtraction.enabled: true }
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'DocumentVersion'
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory : #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@VDM.lifecycle: {
contract: {
type: #PUBLIC_LOCAL_API
},
status: #DEPRECATED,
successor: 'I_DocumentInfoRecordDocVersion'
}
@Metadata.ignorePropagatedAnnotations:true
define view I_DocInfoRecdDocumentVersion
as select from draw as document
--Get Document Type Association
association [1..1] to I_DocInfoRecdDocumentType as _DocumentType on $projection.DocumentType = _DocumentType.DocumentType
--Get Document Number Association
association [1..1] to I_DocInfoRecdNumber as _DocumentNumber on $projection.DocumentType = _DocumentNumber.DocumentType
and $projection.DocumentInfoRecord = _DocumentNumber.DocumentInfoRecord
{
@ObjectModel.foreignKey.association:'_DocumentType'
key document.dokar as DocumentType,
@ObjectModel.foreignKey.association:'_DocumentNumber'
key document.doknr as DocumentInfoRecord,
key document.dokvr as DocumentVersion,
// Associations
_DocumentType,
_DocumentNumber
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DRAW"
],
"ASSOCIATED":
[
"I_DOCINFORECDDOCUMENTTYPE",
"I_DOCINFORECDNUMBER"
],
"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