I_DocumentInfoRecordDocPrtVH

DDL: I_DOCUMENTINFORECORDDOCPRTVH SQL: ICVDOCPRTVH Type: view BASIC

Document Info Record Document Part VH

I_DocumentInfoRecordDocPrtVH is a Basic CDS View (Dimension) that provides data about "Document Info Record Document Part VH" in SAP S/4HANA. It reads from 1 data source (draw) and exposes 10 fields with key fields DocumentInfoRecordDocType, DocumentInfoRecordDocNumber, DocumentInfoRecordDocVersion, DocumentInfoRecordDocPart. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
draw document from

Associations (5)

CardinalityTargetAliasCondition
[0..*] I_DocumentInfoRecordDocTypeT _DocTypeText $projection.DocumentInfoRecordDocType = _DocTypeText.DocumentInfoRecordDocType
[1..1] I_DocumentInfoRecordDocType _DocType $projection.DocumentInfoRecordDocType = _DocType.DocumentInfoRecordDocType --Get Document Number
[1..1] I_DocumentInfoRecordDocNumber _DocNumber $projection.DocumentInfoRecordDocType = _DocNumber.DocumentInfoRecordDocType and $projection.DocumentInfoRecordDocNumber = _DocNumber.DocumentInfoRecordDocNumber --Get Document Version
[1..1] I_DocumentInfoRecordDocVersion _DocVersion $projection.DocumentInfoRecordDocType = _DocVersion.DocumentInfoRecordDocType and $projection.DocumentInfoRecordDocNumber = _DocVersion.DocumentInfoRecordDocNumber and $projection.DocumentInfoRecordDocVersion = _DocVersion.DocumentInfoRecordDocVersion --Get Document Description
[0..*] I_DocumentInfoRecordDesc _DocDescription $projection.DocumentInfoRecordDocPart = _DocDescription.DocumentInfoRecordDocPart and $projection.DocumentInfoRecordDocType = _DocDescription.DocumentInfoRecordDocType and $projection.DocumentInfoRecordDocVersion = _DocDescription.DocumentInfoRecordDocVersion and $projection.DocumentInfoRecordDocNumber = _DocDescription.DocumentInfoRecordDocNumber

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName ICVDOCPRTVH view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Document Info Record Document Part VH view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey DocumentInfoRecordDocPart view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.dataCategory #VALUE_HELP view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
Search.searchable true view
Consumption.ranked true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY DocumentInfoRecordDocType draw dokar SW Document Type
KEY DocumentInfoRecordDocNumber draw doknr Document
KEY DocumentInfoRecordDocVersion draw dokvr Doc. Version
KEY DocumentInfoRecordDocPart draw doktl Document Part
DocumentDescription Document Description
_DocDescription _DocDescription
_DocType _DocType
_DocNumber _DocNumber
_DocVersion _DocVersion
_DocTypeText _DocTypeText

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_DocumentInfoRecordDocPrtVH.
-- 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: ICVDOCPRTVH

CREATE VIEW I_DocumentInfoRecordDocPrtVH AS
SELECT
  document.dokar AS DocumentInfoRecordDocType,
  document.doknr AS DocumentInfoRecordDocNumber,
  document.dokvr AS DocumentInfoRecordDocVersion,
  document.doktl AS DocumentInfoRecordDocPart,
  _DocDescription[1:Language = $session.system_language].DocumentDescription AS DocumentDescription
FROM draw AS document
LEFT OUTER JOIN I_DocumentInfoRecordDocTypeT AS _DocTypeText ON DocumentInfoRecordDocType = _DocTypeText.DocumentInfoRecordDocType  -- association [0..*]
LEFT OUTER JOIN I_DocumentInfoRecordDocType AS _DocType ON DocumentInfoRecordDocType = _DocType.DocumentInfoRecordDocType  -- association [1..1]
LEFT OUTER JOIN I_DocumentInfoRecordDocNumber AS _DocNumber ON DocumentInfoRecordDocType = _DocNumber.DocumentInfoRecordDocType AND DocumentInfoRecordDocNumber = _DocNumber.DocumentInfoRecordDocNumber  -- association [1..1]
LEFT OUTER JOIN I_DocumentInfoRecordDocVersion AS _DocVersion ON DocumentInfoRecordDocType = _DocVersion.DocumentInfoRecordDocType AND DocumentInfoRecordDocNumber = _DocVersion.DocumentInfoRecordDocNumber AND DocumentInfoRecordDocVersion = _DocVersion.DocumentInfoRecordDocVersion  -- association [1..1]
LEFT OUTER JOIN I_DocumentInfoRecordDesc AS _DocDescription ON DocumentInfoRecordDocPart = _DocDescription.DocumentInfoRecordDocPart AND DocumentInfoRecordDocType = _DocDescription.DocumentInfoRecordDocType AND DocumentInfoRecordDocVersion = _DocDescription.DocumentInfoRecordDocVersion AND DocumentInfoRecordDocNumber = _DocDescription.DocumentInfoRecordDocNumber  -- association [0..*]
;