I_DocInfoRecdDocumentVersion

DDL: I_DOCINFORECDDOCUMENTVERSION SQL: ICVDOCVERSION Type: view BASIC Package: CV_VDM

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. Part of development package CV_VDM.

Data Sources (1)

SourceAliasJoin Type
draw document from

Associations (2)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY DocumentType draw dokar
KEY DocumentInfoRecord draw doknr
KEY DocumentVersion draw dokvr
_DocumentType _DocumentType
_DocumentNumber _DocumentNumber
@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
}