I_DocInfoRecdDescription
Document Info Record Description
I_DocInfoRecdDescription is a Basic CDS View that provides data about "Document Info Record Description" in SAP S/4HANA. It reads from 1 data source (drat) and exposes 13 fields with key fields DocumentType, DocumentInfoRecord, DocumentVersion, DocumentPart, Language. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| drat | documentdesc | from |
Associations (5)
| 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 --Get Document Part |
| [1..1] | I_DocInfoRecdDocumentPart | _DocumentPart | $projection.DocumentType = _DocumentPart.DocumentType and $projection.DocumentPart = _DocumentPart.DocumentPart and $projection.DocumentInfoRecord = _DocumentPart.DocumentInfoRecord and $projection.DocumentVersion = _DocumentPart.DocumentVersion --Get Document Version |
| [1..1] | I_DocInfoRecdDocumentVersion | _DocumentVersion | $projection.DocumentType = _DocumentVersion.DocumentType and $projection.DocumentInfoRecord = _DocumentVersion.DocumentInfoRecord and $projection.DocumentVersion = _DocumentVersion.DocumentVersion |
| [1..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICVDOCINFRECDESC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | DocumentDescription | view | |
| Analytics.dataExtraction.enabled | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Document Info Record Description | view | |
| Search.searchable | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.successor | I_DocumentInfoRecordDesc | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DocumentType | drat | dokar | SW Document Type |
| KEY | DocumentInfoRecord | drat | doknr | Document |
| KEY | DocumentVersion | drat | dokvr | Doc. Version |
| KEY | DocumentPart | drat | doktl | Document Part |
| KEY | Language | drat | langu | Primary lang. |
| KEY | DocumentDescription | drat | dktxt | Document Description |
| LongTextExists | drat | ltxin | LgText ID | |
| DocInfoRecdShortText | drat | dktxt_uc | Document Short Description | |
| _Language | _Language | |||
| _DocumentType | _DocumentType | |||
| _DocumentVersion | _DocumentVersion | |||
| _DocumentPart | _DocumentPart | |||
| _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_DocInfoRecdDescription.
-- 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: ICVDOCINFRECDESC
CREATE VIEW I_DocInfoRecdDescription AS
SELECT
documentdesc.dokar AS DocumentType,
documentdesc.doknr AS DocumentInfoRecord,
documentdesc.dokvr AS DocumentVersion,
documentdesc.doktl AS DocumentPart,
documentdesc.langu AS Language,
documentdesc.dktxt AS DocumentDescription,
documentdesc.ltxin AS LongTextExists,
documentdesc.dktxt_uc AS DocInfoRecdShortText
FROM drat AS documentdesc
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]
LEFT OUTER JOIN I_DocInfoRecdDocumentPart AS _DocumentPart ON DocumentType = _DocumentPart.DocumentType AND DocumentPart = _DocumentPart.DocumentPart AND DocumentInfoRecord = _DocumentPart.DocumentInfoRecord AND DocumentVersion = _DocumentPart.DocumentVersion -- association [1..1]
LEFT OUTER JOIN I_DocInfoRecdDocumentVersion AS _DocumentVersion ON DocumentType = _DocumentVersion.DocumentType AND DocumentInfoRecord = _DocumentVersion.DocumentInfoRecord AND DocumentVersion = _DocumentVersion.DocumentVersion -- association [1..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language -- association [1..1]
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- 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
- 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