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

I_DocInfoRecdDescription

DDL: I_DOCINFORECDDESCRIPTION SQL: ICVDOCINFRECDESC Type: view BASIC

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)

SourceAliasJoin Type
drat documentdesc from

Associations (5)

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

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;