I_DocumentInfoRecordDescTP

DDL: I_DOCUMENTINFORECORDDESCTP SQL: ICVDOCDESCTP Type: view TRANSACTIONAL

DocumentInfoRecdDescriptionTransactional

I_DocumentInfoRecordDescTP is a Transactional CDS View that provides data about "DocumentInfoRecdDescriptionTransactional" in SAP S/4HANA. It reads from 1 data source (I_DocumentInfoRecordDesc) and exposes 15 fields with key fields DocumentInfoRecordDocType, DocumentInfoRecordDocNumber, DocumentInfoRecordDocVersion, DocumentInfoRecordDocPart, Language. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_DocumentInfoRecordDesc Desc from

Associations (7)

CardinalityTargetAliasCondition
[1..1] I_DocumentInfoRecordDocType _DocType $projection.DocumentInfoRecordDocType = _DocType.DocumentInfoRecordDocType --Get Document Number
[0..1] I_DocumentInfoRecordDocNumber _DocNumber $projection.DocumentInfoRecordDocType = _DocNumber.DocumentInfoRecordDocType and $projection.DocumentInfoRecordDocNumber = _DocNumber.DocumentInfoRecordDocNumber --Get Document Part
[0..1] I_DocumentInfoRecordDocPrt _DocPart $projection.DocumentInfoRecordDocType = _DocPart.DocumentInfoRecordDocType and $projection.DocumentInfoRecordDocPart = _DocPart.DocumentInfoRecordDocPart and $projection.DocumentInfoRecordDocNumber = _DocPart.DocumentInfoRecordDocNumber and $projection.DocumentInfoRecordDocVersion = _DocPart.DocumentInfoRecordDocVersion --Get Document Version
[0..1] I_DocumentInfoRecordDocVersion _DocVersion $projection.DocumentInfoRecordDocType = _DocVersion.DocumentInfoRecordDocType and $projection.DocumentInfoRecordDocNumber = _DocVersion.DocumentInfoRecordDocNumber and $projection.DocumentInfoRecordDocVersion = _DocVersion.DocumentInfoRecordDocVersion
[0..1] I_Language _Language $projection.Language = _Language.Language
[0..1] I_Language _LanguageForEdit _LanguageForEdit.LanguageISOCode = $projection.LanguageForEdit and _LanguageForEdit.Language = $projection.Language
[1..1] I_DocumentInfoRecordTP _DocInfo $projection.DocumentInfoRecordDocType = _DocInfo.DocumentInfoRecordDocType and $projection.DocumentInfoRecordDocNumber = _DocInfo.DocumentInfoRecordDocNumber and $projection.DocumentInfoRecordDocVersion = _DocInfo.DocumentInfoRecordDocVersion and $projection.DocumentInfoRecordDocPart = _DocInfo.DocumentInfoRecordDocPart

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName ICVDOCDESCTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label DocumentInfoRecdDescriptionTransactional view
ObjectModel.representativeKey DocumentInfoRecordDocType view
ObjectModel.dataCategory #TEXT view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.writeDraftPersistence DRAT_DRAFT view
ObjectModel.draftEnabled true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ClientHandling.algorithm #SESSION_VARIABLE view
ClientHandling.type #INHERITED view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY DocumentInfoRecordDocType I_DocumentInfoRecordDesc DocumentInfoRecordDocType Document Type
KEY DocumentInfoRecordDocNumber I_DocumentInfoRecordDesc DocumentInfoRecordDocNumber Document
KEY DocumentInfoRecordDocVersion I_DocumentInfoRecordDesc DocumentInfoRecordDocVersion Doc. Version
KEY DocumentInfoRecordDocPart I_DocumentInfoRecordDesc DocumentInfoRecordDocPart Document Part
KEY Language I_DocumentInfoRecordDesc Language Report Text Language
LanguageForEdit _Language LanguageISOCode Language ISO Code
DocumentDescription I_DocumentInfoRecordDesc DocumentDescription Doc. Name
LongTextExists I_DocumentInfoRecordDesc LongTextExists LgText ID
_DocNumber _DocNumber
_DocPart _DocPart
_DocType _DocType
_DocVersion _DocVersion
_Language _Language
_LanguageForEdit _LanguageForEdit
_DocInfo _DocInfo

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_DocumentInfoRecordDescTP.
-- 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: ICVDOCDESCTP

CREATE VIEW I_DocumentInfoRecordDescTP AS
SELECT
  Desc.DocumentInfoRecordDocType AS DocumentInfoRecordDocType,
  Desc.DocumentInfoRecordDocNumber AS DocumentInfoRecordDocNumber,
  Desc.DocumentInfoRecordDocVersion AS DocumentInfoRecordDocVersion,
  Desc.DocumentInfoRecordDocPart AS DocumentInfoRecordDocPart,
  Desc.Language AS Language,
  _Language.LanguageISOCode AS LanguageForEdit,
  Desc.DocumentDescription AS DocumentDescription,
  Desc.LongTextExists AS LongTextExists
FROM I_DocumentInfoRecordDesc AS Desc
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 [0..1]
LEFT OUTER JOIN I_DocumentInfoRecordDocPrt AS _DocPart ON DocumentInfoRecordDocType = _DocPart.DocumentInfoRecordDocType AND DocumentInfoRecordDocPart = _DocPart.DocumentInfoRecordDocPart AND DocumentInfoRecordDocNumber = _DocPart.DocumentInfoRecordDocNumber AND DocumentInfoRecordDocVersion = _DocPart.DocumentInfoRecordDocVersion  -- association [0..1]
LEFT OUTER JOIN I_DocumentInfoRecordDocVersion AS _DocVersion ON DocumentInfoRecordDocType = _DocVersion.DocumentInfoRecordDocType AND DocumentInfoRecordDocNumber = _DocVersion.DocumentInfoRecordDocNumber AND DocumentInfoRecordDocVersion = _DocVersion.DocumentInfoRecordDocVersion  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_Language AS _LanguageForEdit ON _LanguageForEdit.LanguageISOCode = LanguageForEdit AND _LanguageForEdit.Language = Language  -- association [0..1]
LEFT OUTER JOIN I_DocumentInfoRecordTP AS _DocInfo ON DocumentInfoRecordDocType = _DocInfo.DocumentInfoRecordDocType AND DocumentInfoRecordDocNumber = _DocInfo.DocumentInfoRecordDocNumber AND DocumentInfoRecordDocVersion = _DocInfo.DocumentInfoRecordDocVersion AND DocumentInfoRecordDocPart = _DocInfo.DocumentInfoRecordDocPart  -- association [1..1]
;