I_EngSnpshtRefDoc
Engineering Snapshot Ref Obj Document
I_EngSnpshtRefDoc is a Composite CDS View that provides data about "Engineering Snapshot Ref Obj Document" in SAP S/4HANA. It reads from 3 data sources (I_DocumentInfoRecord, I_EngSnpshtHdr, I_EngSnpshtObjRef) and exposes 19 fields with key fields EngSnapshotRefUUID, DocumentType, DocumentInfoRecord, DocumentPart, DocumentVersion. It has 2 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_DocumentInfoRecord | DocumentInfoRecord | inner |
| I_EngSnpshtHdr | EngSnpshtHdr | inner |
| I_EngSnpshtObjRef | EngSnpshtObjRef | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_DocumentInfoRecordDocStatus | _DocStatus | $projection.DocumentType = _DocStatus.DocumentInfoRecordDocType and $projection.InternalDocumentStatus = _DocStatus.InternalDocumentStatus |
| [0..1] | I_DocumentInfoRecordDocPrt | _DocumentInfoRecordDocPrt | $projection.DocumentType = _DocumentInfoRecordDocPrt.DocumentInfoRecordDocType and $projection.DocumentInfoRecord = _DocumentInfoRecordDocPrt.DocumentInfoRecordDocNumber and $projection.DocumentPart = _DocumentInfoRecordDocPrt.DocumentInfoRecordDocPart and $projection.DocumentVersion = _DocumentInfoRecordDocPrt.DocumentInfoRecordDocVersion |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IENGSNPREFDOC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | Engineering Snapshot Ref Obj Document | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EngSnapshotRefUUID | I_EngSnpshtObjRef | EngSnapshotRefUUID | Waste Partner UUID |
| KEY | DocumentType | I_DocumentInfoRecord | DocumentInfoRecordDocType | Document Type |
| KEY | DocumentInfoRecord | I_DocumentInfoRecord | DocumentInfoRecordDocNumber | Document |
| KEY | DocumentPart | I_DocumentInfoRecord | DocumentInfoRecordDocPart | Document Part |
| KEY | DocumentVersion | I_DocumentInfoRecord | DocumentInfoRecordDocVersion | Doc. Version |
| EngSnapshotUUID | I_EngSnpshtObjRef | EngSnapshotUUID | Waste Partner UUID | |
| EngSnapshotID | I_EngSnpshtHdr | EngSnapshotID | Snapshot ID | |
| EngSnpshtRevisionNumber | I_EngSnpshtHdr | EngSnpshtRevisionNumber | Snapshot Revision | |
| EngSnpshtRefType | I_EngSnpshtObjRef | EngSnpshtRefType | Worklist Type | |
| InternalDocumentStatus | InternalDocumentStatus | Status | ||
| CreatedByUser | I_EngSnpshtObjRef | CreatedByUser | User Name | |
| CreationDateTime | I_EngSnpshtObjRef | CreationDateTime | Timestamp | |
| LastChangedByUser | I_EngSnpshtObjRef | LastChangedByUser | User Name | |
| LastChangeDateTime | I_EngSnpshtObjRef | LastChangeDateTime | Timestamp | |
| DocumentDescription | _DocumentInfoRecordDocPrt | DocumentDescription | Doc. Name | |
| _DocType | _DocType | |||
| _DocNumber | _DocNumber | |||
| _DocVersion | _DocVersion | |||
| _DocStatus | _DocStatus |
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_EngSnpshtRefDoc.
-- 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: IENGSNPREFDOC
CREATE VIEW I_EngSnpshtRefDoc AS
SELECT
EngSnpshtObjRef.EngSnapshotRefUUID AS EngSnapshotRefUUID,
DocumentInfoRecord.DocumentInfoRecordDocType AS DocumentType,
DocumentInfoRecord.DocumentInfoRecordDocNumber AS DocumentInfoRecord,
DocumentInfoRecord.DocumentInfoRecordDocPart AS DocumentPart,
DocumentInfoRecord.DocumentInfoRecordDocVersion AS DocumentVersion,
EngSnpshtObjRef.EngSnapshotUUID AS EngSnapshotUUID,
EngSnpshtHdr.EngSnapshotID AS EngSnapshotID,
EngSnpshtHdr.EngSnpshtRevisionNumber AS EngSnpshtRevisionNumber,
EngSnpshtObjRef.EngSnpshtRefType AS EngSnpshtRefType,
InternalDocumentStatus,
EngSnpshtObjRef.CreatedByUser AS CreatedByUser,
EngSnpshtObjRef.CreationDateTime AS CreationDateTime,
EngSnpshtObjRef.LastChangedByUser AS LastChangedByUser,
EngSnpshtObjRef.LastChangeDateTime AS LastChangeDateTime,
_DocumentInfoRecordDocPrt.DocumentDescription AS DocumentDescription
FROM I_EngSnpshtObjRef AS EngSnpshtObjRef
INNER JOIN I_EngSnpshtHdr AS EngSnpshtHdr ON /* join condition not captured in parsed metadata */
INNER JOIN I_DocumentInfoRecord AS DocumentInfoRecord ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DocumentInfoRecordDocStatus AS _DocStatus ON DocumentType = _DocStatus.DocumentInfoRecordDocType AND InternalDocumentStatus = _DocStatus.InternalDocumentStatus -- association [0..1]
LEFT OUTER JOIN I_DocumentInfoRecordDocPrt AS _DocumentInfoRecordDocPrt ON DocumentType = _DocumentInfoRecordDocPrt.DocumentInfoRecordDocType AND DocumentInfoRecord = _DocumentInfoRecordDocPrt.DocumentInfoRecordDocNumber AND DocumentPart = _DocumentInfoRecordDocPrt.DocumentInfoRecordDocPart AND DocumentVersion = _DocumentInfoRecordDocPrt.DocumentInfoRecordDocVersion -- association [0..1]
;
Learn More
- 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
- S/4HANA CDS View Deprecation: What You Need to Know
- 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