I_DocumentInfoRecordDocPrtVH
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)
| Source | Alias | Join Type |
|---|---|---|
| draw | document | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA