C_EngSnpshtObjPg

DDL: C_ENGSNPSHTOBJPG SQL: CENGSNP Type: view CONSUMPTION Package: VDM_MPE_PLAN_ENG_SNPSHT

Engineering Snapshot Object Page

C_EngSnpshtObjPg is a Consumption CDS View that provides data about "Engineering Snapshot Object Page" in SAP S/4HANA. It reads from 1 data source (I_EngSnpshtHdrTP) and exposes 35 fields with key field EngSnapshotUUID. It has 14 associations to related views. Part of development package VDM_MPE_PLAN_ENG_SNPSHT.

Data Sources (1)

SourceAliasJoin Type
I_EngSnpshtHdrTP header from

Associations (14)

CardinalityTargetAliasCondition
[1..1] I_Material _Material $projection.Material = _Material.Material
[0..*] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material
[0..*] I_MaterialGroupText _MaterialGroupText $projection.MaterialGroup = _MaterialGroupText.MaterialGroup
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..*] I_BillOfMaterialUsageText _BOMVariantUsageText $projection.BillOfMaterialVariantUsage = _BOMVariantUsageText.BillOfMaterialVariantUsage
[0..*] I_EngSnpshtAuxiliaryPrepStsTxt _AuxPrepStatusText $projection.EngSnpshtAuxiliaryPrepSts = _AuxPrepStatusText.EngSnpshtAuxiliaryPrepSts
[0..*] I_EngSnpshtChangePrepStsTxt _ChgPrepStatusText $projection.EngSnpshtChangePrepSts = _ChgPrepStatusText.EngSnpshtChangePrepSts
[0..*] I_EngSnpshtTypeText _EngSnpshtTypeText $projection.EngSnapshotType = _EngSnpshtTypeText.EngSnapshotType
[0..*] C_EngSnpshtObjPgEngBOM _EngSnpshtObjPgEngBOM $projection.EngSnapshotUUID = _EngSnpshtObjPgEngBOM.EngSnapshotUUID
[0..1] C_EngSnpshtObjPgMfgBOM _EngSnpshtObjPgMfgBOM $projection.EngSnapshotUUID = _EngSnpshtObjPgMfgBOM.EngSnapshotUUID
[0..*] C_EngSnpshtObjPgDoc _EngSnpshtObjPgDoc $projection.EngSnapshotUUID = _EngSnpshtObjPgDoc.EngSnapshotUUID
[0..1] C_EngSnpshtObjPgVislDoc _EngSnpshtObjPgVislDoc $projection.EngSnapshotUUID = _EngSnpshtObjPgVislDoc.EngSnapshotUUID
[0..*] C_ChgRecdDetsAssgdToEngSnpsht _ChgRecdDetsAssgd $projection.EngSnapshotID = _ChgRecdDetsAssgd.EngSnapshotID and $projection.EngSnpshtRevisionNumber = _ChgRecdDetsAssgd.EngSnpshtRevisionNumber
[1..1] I_EngSnpshtRevisionRankTblFunc _SnpshtRevsnRank $projection.EngSnapshotID = _SnpshtRevsnRank.EngSnapshotID and $projection.EngSnpshtRevisionNumber = _SnpshtRevsnRank.EngSnpshtRevisionNumber

Annotations (23)

NameValueLevelField
AbapCatalog.sqlViewName CENGSNP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
Search.searchable true view
VDM.viewType #CONSUMPTION view
EndUserText.label Engineering Snapshot Object Page view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.compositionRoot true view
ObjectModel.createEnabled false view
ObjectModel.deleteEnabled false view
ObjectModel.updateEnabled false view
ClientHandling.algorithm #SESSION_VARIABLE view
UI.headerInfo.typeName Snapshot view
UI.headerInfo.typeNamePlural Snapshots view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value EngSnapshotID view
UI.headerInfo.description.type #STANDARD view
UI.headerInfo.description.value EngSnapshotName view

Fields (35)

KeyFieldSource TableSource FieldDescription
KEY EngSnapshotUUID I_EngSnpshtHdrTP EngSnapshotUUID Waste Partner UUID
EngSnapshotID I_EngSnpshtHdrTP EngSnapshotID Snapshot
EngSnapshotName I_EngSnpshtHdrTP EngSnapshotName Snapshot Name
EngSnapshotType I_EngSnpshtHdrTP EngSnapshotType Snapshot Type
EngSnapshotTypeText _EngSnpshtTypeText EngSnapshotTypeText
EngSnpshtRevisionNumber I_EngSnpshtHdrTP EngSnpshtRevisionNumber Snapshot Revision
Material I_EngSnpshtHdrTP Material Vehicle Model
MaterialGroup
Plant I_EngSnpshtHdrTP Plant Valuation Area
BillOfMaterialVariantUsage I_EngSnpshtHdrTP BillOfMaterialVariantUsage Usage
BillOfMaterialVariant I_EngSnpshtHdrTP BillOfMaterialVariant AlternativeBOM
EngSnpshtAuxiliaryPrepSts I_EngSnpshtHdrTP EngSnpshtAuxiliaryPrepSts PiP Data Prep Status
EngSnpshtAuxiliaryPrepStsText _AuxPrepStatusText EngSnpshtAuxiliaryPrepStsText
EngSnpshtChangePrepSts I_EngSnpshtHdrTP EngSnpshtChangePrepSts Chg Prep Status
EngSnpshtChangePrepStsText _ChgPrepStatusText EngSnpshtChangePrepStsText
SnapshotHdrText
DocumentInfoRecord _EngSnpshtObjPgVislDoc DocumentInfoRecord Document
DocumentDescription _EngSnpshtObjPgVislDoc DocumentDescription Doc. Name
EngSnpshtRevisionRank _SnpshtRevsnRank EngSnpshtRevisionRank
EngSnpshtHasDocs
EngSnpshtProposedEffectiveDate I_EngSnpshtHdrTP EngSnpshtProposedEffectiveDate Proposed Effective Date
CreatedByUser
CreationDateTime I_EngSnpshtHdrTP CreationDateTime Timestamp
LastChangedByUser
LastChangeDateTime I_EngSnpshtHdrTP LastChangeDateTime Timestamp
_Material _Material
_MaterialGroupText _MaterialGroupText
_MaterialText _MaterialText
_Plant _Plant
_BOMVariantUsageText _BOMVariantUsageText
_EngSnpshtObjPgEngBOM _EngSnpshtObjPgEngBOM
_EngSnpshtObjPgDoc _EngSnpshtObjPgDoc
_EngSnpshtObjPgVislDoc _EngSnpshtObjPgVislDoc
_EngSnpshtObjPgMfgBOM _EngSnpshtObjPgMfgBOM
_ChgRecdDetsAssgd _ChgRecdDetsAssgd

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_EngSnpshtObjPg.
-- 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: CENGSNP

CREATE VIEW C_EngSnpshtObjPg AS
SELECT
  header.EngSnapshotUUID AS EngSnapshotUUID,
  header.EngSnapshotID AS EngSnapshotID,
  header.EngSnapshotName AS EngSnapshotName,
  header.EngSnapshotType AS EngSnapshotType,
  _EngSnpshtTypeText.EngSnapshotTypeText AS EngSnapshotTypeText,
  header.EngSnpshtRevisionNumber AS EngSnpshtRevisionNumber,
  header.Material AS Material,
  cast ( _Material.MaterialGroup as productgroup preserving type ) AS MaterialGroup,
  header.Plant AS Plant,
  header.BillOfMaterialVariantUsage AS BillOfMaterialVariantUsage,
  header.BillOfMaterialVariant AS BillOfMaterialVariant,
  header.EngSnpshtAuxiliaryPrepSts AS EngSnpshtAuxiliaryPrepSts,
  _AuxPrepStatusText.EngSnpshtAuxiliaryPrepStsText AS EngSnpshtAuxiliaryPrepStsText,
  header.EngSnpshtChangePrepSts AS EngSnpshtChangePrepSts,
  _ChgPrepStatusText.EngSnpshtChangePrepStsText AS EngSnpshtChangePrepStsText,
  cast('' as text255 ) AS SnapshotHdrText,
  _EngSnpshtObjPgVislDoc.DocumentInfoRecord AS DocumentInfoRecord,
  _EngSnpshtObjPgVislDoc.DocumentDescription AS DocumentDescription,
  _SnpshtRevsnRank.EngSnpshtRevisionRank AS EngSnpshtRevisionRank,
  cast('' as boole_d ) AS EngSnpshtHasDocs,
  header.EngSnpshtProposedEffectiveDate AS EngSnpshtProposedEffectiveDate,
  cast ( header.CreatedByUser as mpe_create_user ) AS CreatedByUser,
  header.CreationDateTime AS CreationDateTime,
  cast ( header.LastChangedByUser as mpe_lchange_user ) AS LastChangedByUser,
  header.LastChangeDateTime AS LastChangeDateTime
FROM I_EngSnpshtHdrTP AS header
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [1..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material  -- association [0..*]
LEFT OUTER JOIN I_MaterialGroupText AS _MaterialGroupText ON MaterialGroup = _MaterialGroupText.MaterialGroup  -- association [0..*]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_BillOfMaterialUsageText AS _BOMVariantUsageText ON BillOfMaterialVariantUsage = _BOMVariantUsageText.BillOfMaterialVariantUsage  -- association [0..*]
LEFT OUTER JOIN I_EngSnpshtAuxiliaryPrepStsTxt AS _AuxPrepStatusText ON EngSnpshtAuxiliaryPrepSts = _AuxPrepStatusText.EngSnpshtAuxiliaryPrepSts  -- association [0..*]
LEFT OUTER JOIN I_EngSnpshtChangePrepStsTxt AS _ChgPrepStatusText ON EngSnpshtChangePrepSts = _ChgPrepStatusText.EngSnpshtChangePrepSts  -- association [0..*]
LEFT OUTER JOIN I_EngSnpshtTypeText AS _EngSnpshtTypeText ON EngSnapshotType = _EngSnpshtTypeText.EngSnapshotType  -- association [0..*]
LEFT OUTER JOIN C_EngSnpshtObjPgEngBOM AS _EngSnpshtObjPgEngBOM ON EngSnapshotUUID = _EngSnpshtObjPgEngBOM.EngSnapshotUUID  -- association [0..*]
LEFT OUTER JOIN C_EngSnpshtObjPgMfgBOM AS _EngSnpshtObjPgMfgBOM ON EngSnapshotUUID = _EngSnpshtObjPgMfgBOM.EngSnapshotUUID  -- association [0..1]
LEFT OUTER JOIN C_EngSnpshtObjPgDoc AS _EngSnpshtObjPgDoc ON EngSnapshotUUID = _EngSnpshtObjPgDoc.EngSnapshotUUID  -- association [0..*]
LEFT OUTER JOIN C_EngSnpshtObjPgVislDoc AS _EngSnpshtObjPgVislDoc ON EngSnapshotUUID = _EngSnpshtObjPgVislDoc.EngSnapshotUUID  -- association [0..1]
LEFT OUTER JOIN C_ChgRecdDetsAssgdToEngSnpsht AS _ChgRecdDetsAssgd ON EngSnapshotID = _ChgRecdDetsAssgd.EngSnapshotID AND EngSnpshtRevisionNumber = _ChgRecdDetsAssgd.EngSnpshtRevisionNumber  -- association [0..*]
LEFT OUTER JOIN I_EngSnpshtRevisionRankTblFunc AS _SnpshtRevsnRank ON EngSnapshotID = _SnpshtRevsnRank.EngSnapshotID AND EngSnpshtRevisionNumber = _SnpshtRevsnRank.EngSnpshtRevisionNumber  -- association [1..1]
;