Deprecated PUBLIC_LOCAL_API
This CDS view is deprecated in S/4HANA. Use I_DocumentInfoRecordDocVersion instead. View all deprecated CDS views →

I_DocInfoRecdDocumentVersion

DDL: I_DOCINFORECDDOCUMENTVERSION SQL: ICVDOCVERSION Type: view BASIC

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)

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 SW Document Type
KEY DocumentInfoRecord draw doknr Document
KEY DocumentVersion draw dokvr Doc. Version
_DocumentType _DocumentType
_DocumentNumber _DocumentNumber

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_DocInfoRecdDocumentVersion.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ICVDOCVERSION

CREATE VIEW I_DocInfoRecdDocumentVersion AS
SELECT
  document.dokar AS DocumentType,
  document.doknr AS DocumentInfoRecord,
  document.dokvr AS DocumentVersion
FROM draw AS document
LEFT OUTER JOIN I_DocInfoRecdDocumentType AS _DocumentType ON DocumentType = _DocumentType.DocumentType  -- association [1..1]
LEFT OUTER JOIN I_DocInfoRecdNumber AS _DocumentNumber ON DocumentType = _DocumentNumber.DocumentType AND DocumentInfoRecord = _DocumentNumber.DocumentInfoRecord  -- association [1..1]
;