I_DocumentInfoRecordDocPrt

DDL: I_DOCUMENTINFORECORDDOCPRT SQL: ICVDOCPRT Type: view BASIC

Document Info Record Document Part

I_DocumentInfoRecordDocPrt (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

R&D Engineering

I_DocumentInfoRecordDocPrt is a Basic CDS View (Dimension) that provides data about "Document Info Record Document Part" 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.

SAP API Hub

StateC1
Line of BusinessR&D Engineering
Application ComponentCA-DMS
CapabilitiesAnalytical Dimension, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities
PackageR&D Engineering for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
draw document from

Associations (5)

CardinalityTargetAliasCondition
[0..*] I_DocumentInfoRecordDocTypeT _TEXT $projection.DocumentInfoRecordDocType = _TEXT.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 (16)

NameValueLevelField
AbapCatalog.sqlViewName ICVDOCPRT view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Document Info Record Document Part 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
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Search.searchable true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view

Fields (10)

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

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_DocumentInfoRecordDocPrt.
-- 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: ICVDOCPRT

CREATE VIEW I_DocumentInfoRecordDocPrt 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 _TEXT ON DocumentInfoRecordDocType = _TEXT.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..*]
;