I_DocInfoRecdAttchLnkKeyLgclID

DDL: I_DOCINFORECDATTCHLNKKEYLGCLID Type: view_entity BASIC

Details of DIR and Logical Document ID

I_DocInfoRecdAttchLnkKeyLgclID is a Basic CDS View that provides data about "Details of DIR and Logical Document ID" in SAP S/4HANA. It reads from 1 data source (dms_doc2loio) and exposes 8 fields with key fields DocumentInfoRecordDocNumber, DocumentInfoRecordDocType, DocumentInfoRecordDocVersion, DocumentInfoRecordDocPart, OriginalType.

Data Sources (1)

SourceAliasJoin Type
dms_doc2loio dms_doc2loio from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Details of DIR and Logical Document ID view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY DocumentInfoRecordDocNumber doknr Document
KEY DocumentInfoRecordDocType dokar SW Document Type
KEY DocumentInfoRecordDocVersion dokvr Doc. Version
KEY DocumentInfoRecordDocPart doktl Document Part
KEY OriginalType lo_type Original type
KEY DocumentIndex lo_index Counter
LogicalDocument lo_objid Log. document
LogicalDocumentIsReference Flag

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_DocInfoRecdAttchLnkKeyLgclID.
-- 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.

CREATE VIEW I_DocInfoRecdAttchLnkKeyLgclID AS
SELECT
  doknr AS DocumentInfoRecordDocNumber,
  dokar AS DocumentInfoRecordDocType,
  dokvr AS DocumentInfoRecordDocVersion,
  doktl AS DocumentInfoRecordDocPart,
  lo_type AS OriginalType,
  lo_index AS DocumentIndex,
  lo_objid AS LogicalDocument,
  cast( lo_is_ref as abap.char(1)) AS LogicalDocumentIsReference
FROM dms_doc2loio
;