C_EngSnpshtObjPgDoc

DDL: C_ENGSNPSHTOBJPGDOC SQL: CENGSNPREFDOC Type: view CONSUMPTION

Eng Snapshot Ref Obj Page Doc

C_EngSnpshtObjPgDoc is a Consumption CDS View that provides data about "Eng Snapshot Ref Obj Page Doc" in SAP S/4HANA. It reads from 2 data sources (I_EngSnpshtObjRefTP, I_EngSnpshtRefDoc) and exposes 18 fields with key fields EngSnapshotRefUUID, DocumentInfoRecord, DocumentType, DocumentPart, DocumentVersion. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_EngSnpshtObjRefTP EngSnpshtObjRefTP from
I_EngSnpshtRefDoc EngSnpshtRefDoc inner

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_DocumentInfoRecordDocTypeT _DocTypeText $projection.DocumentType = _DocTypeText.DocumentInfoRecordDocType
[1..1] C_EngSnpshtObjPg _EngSnpshtObjPg $projection.EngSnapshotUUID = _EngSnpshtObjPg.EngSnapshotUUID

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CENGSNPREFDOC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled false view
ObjectModel.deleteEnabled false view
ObjectModel.updateEnabled false view
EndUserText.label Eng Snapshot Ref Obj Page Doc view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY EngSnapshotRefUUID I_EngSnpshtRefDoc EngSnapshotRefUUID Waste Partner UUID
KEY DocumentInfoRecord I_EngSnpshtRefDoc DocumentInfoRecord Document
KEY DocumentType I_EngSnpshtRefDoc DocumentType Order Type
KEY DocumentPart I_EngSnpshtRefDoc DocumentPart Document Part
KEY DocumentVersion I_EngSnpshtRefDoc DocumentVersion Docu. Version
EngSnapshotUUID I_EngSnpshtRefDoc EngSnapshotUUID Unique GUID
ExternalDocumentStatus
DocumentStatusName
DocumentDescription I_EngSnpshtRefDoc DocumentDescription Doc. Name
EngSnapshotRoutingType
EngSnapshotRoutingTypeText
EngSnapshotRoutingIsRework
CreatedByUser
CreationDateTime I_EngSnpshtRefDoc CreationDateTime Timestamp
LastChangedByUser
LastChangeDateTime I_EngSnpshtRefDoc LastChangeDateTime Timestamp
_DocTypeText _DocTypeText
_EngSnpshtObjPg _EngSnpshtObjPg

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 C_EngSnpshtObjPgDoc.
-- 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: CENGSNPREFDOC

CREATE VIEW C_EngSnpshtObjPgDoc AS
SELECT
  EngSnpshtRefDoc.EngSnapshotRefUUID AS EngSnapshotRefUUID,
  EngSnpshtRefDoc.DocumentInfoRecord AS DocumentInfoRecord,
  EngSnpshtRefDoc.DocumentType AS DocumentType,
  EngSnpshtRefDoc.DocumentPart AS DocumentPart,
  EngSnpshtRefDoc.DocumentVersion AS DocumentVersion,
  EngSnpshtRefDoc.EngSnapshotUUID AS EngSnapshotUUID,
  EngSnpshtRefDoc._DocStatus._Text[1:Language = $session.system_language].ExternalDocumentStatus AS ExternalDocumentStatus,
  EngSnpshtRefDoc._DocStatus._Text[1:Language = $session.system_language].DocumentStatusName AS DocumentStatusName,
  EngSnpshtRefDoc.DocumentDescription AS DocumentDescription,
  cast ('' as mpe_sta_routing_type ) AS EngSnapshotRoutingType,
  cast ('' as ddtext ) AS EngSnapshotRoutingTypeText,
  cast ('' as mpe_sta_rework_routing ) AS EngSnapshotRoutingIsRework,
  cast( EngSnpshtRefDoc.CreatedByUser as mpe_create_user ) AS CreatedByUser,
  EngSnpshtRefDoc.CreationDateTime AS CreationDateTime,
  cast( EngSnpshtRefDoc.LastChangedByUser as mpe_lchange_user ) AS LastChangedByUser,
  EngSnpshtRefDoc.LastChangeDateTime AS LastChangeDateTime
FROM I_EngSnpshtObjRefTP AS EngSnpshtObjRefTP
INNER JOIN I_EngSnpshtRefDoc AS EngSnpshtRefDoc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DocumentInfoRecordDocTypeT AS _DocTypeText ON DocumentType = _DocTypeText.DocumentInfoRecordDocType  -- association [0..*]
LEFT OUTER JOIN C_EngSnpshtObjPg AS _EngSnpshtObjPg ON EngSnapshotUUID = _EngSnpshtObjPg.EngSnapshotUUID  -- association [1..1]
;