N_ChgRecdObjPgWBSElmntBOM

DDL: N_CHGRECDOBJPGWBSELMNTBOM SQL: NCHGRCDOBJPGWBS Type: view

Auxillary view Chg Recd WBS BOM

N_ChgRecdObjPgWBSElmntBOM is a CDS View that provides data about "Auxillary view Chg Recd WBS BOM" in SAP S/4HANA. It reads from 2 data sources (I_ProjectBOMLink, I_ChangeRecdRefWBSElmntBOMBsc) and exposes 41 fields with key field ChangeRecordReferenceUUID. It has 10 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_ProjectBOMLink BOMLink inner
I_ChangeRecdRefWBSElmntBOMBsc RefWBSElmntBOMBsc from

Associations (10)

CardinalityTargetAliasCondition
[0..1] C_ChangeRecordWBSElmntBOMVH _ChangeRecordWBSBOMVH $projection.WBSElementInternalID = _ChangeRecordWBSBOMVH.WBSElementInternalID and $projection.Material = _ChangeRecordWBSBOMVH.Material and $projection.Plant = _ChangeRecordWBSBOMVH.Plant and $projection.BillOfMaterialVariantUsage = _ChangeRecordWBSBOMVH.BillOfMaterialVariantUsage and $projection.BillOfMaterialVariant = _ChangeRecordWBSBOMVH.BillOfMaterialVariant
[1..1] C_ChgRecdRefWBSElmntBOM _ChangeRecordObjPg $projection.ChangeRecordUUID = _ChangeRecordObjPg.ChangeRecordUUID
[0..1] I_Material _Material $projection.Material = _Material.Material
[0..1] I_PlantStdVH _Plant $projection.Plant = _Plant.Plant
[0..1] I_BillOfMaterialUsage _BillOfMaterialVariantUsage $projection.BillOfMaterialVariantUsage = _BillOfMaterialVariantUsage.BillOfMaterialVariantUsage and _BillOfMaterialVariantUsage.Language = $session.system_language
[1..1] I_WBSElementBasicData _WBSElementBasic $projection.WBSElementInternalID = _WBSElementBasic.WBSElementInternalID
[1..1] C_ChgRecordItemProcgStatusVH _ProcessingStatusVH $projection.ChangeRecordItemProcgStatus = _ProcessingStatusVH.ChgRecdNextItemProcgStatus and $projection.ChangeRecordLifecycleStatus = _ProcessingStatusVH.ChangeRecordLifecycleStatus and _ProcessingStatusVH.ChgRecdCurrentItemProcgStatus = ''
[0..*] I_ChgRecdItemProcgStatusText _ProcessingStatusTxt $projection.ChangeRecordItemProcgStatus = _ProcessingStatusTxt.ChangeRecordItemProcgStatus
[0..1] E_ChgRecdRefWBSElmntBOMBsc _WBSElmntBOMExtension $projection.ChangeRecordReferenceUUID = _WBSElmntBOMExtension.ChangeRecordReferenceUUID
[1..1] C_ChgRecdRlvnceWBSElmntBOMVH _ChangeRecordItemRelVH $projection.ChangeRecordItemRelevance = _ChangeRecordItemRelVH.ChangeRecordItemRelevance and $projection.ChangeRecordType = _ChangeRecordItemRelVH.ChangeRecordType and ( $projection.ChangeRecordReferenceType = _ChangeRecordItemRelVH.ChangeRecordReferenceType or _ChangeRecordItemRelVH.ChangeRecordReferenceType = ' ' )

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName NCHGRCDOBJPGWBS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Auxillary view Chg Recd WBS BOM view
AccessControl.personalData.blocking #NOT_REQUIRED view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
VDM.auxiliaryEntity.for.entity C_ChgRecdRefWBSElmntBOM view

Fields (41)

KeyFieldSource TableSource FieldDescription
KEY ChangeRecordReferenceUUID ChangeRecordReferenceUUID UUID
WBSElementInternalID I_ProjectBOMLink WBSElementInternalID WBS Element
Material I_ProjectBOMLink Material Vehicle Model
Plant I_ProjectBOMLink Plant Valuation Area
BillOfMaterialVariantUsage I_ProjectBOMLink BillOfMaterialVariantUsage Usage
BillOfMaterialVariantUsageDesc _BillOfMaterialVariantUsage BillOfMaterialVariantUsageDesc
BillOfMaterialVariant I_ProjectBOMLink BillOfMaterialVariant AlternativeBOM
PlannedStartDate Planned Start
PlannedEndDate Planned Finish
ChangeNumber ChangeNumber Change Number
ChangeRecordItemRelevance ChangeRecordItemRelevance Relevance
ChangeRecordItemProcgStatus ChangeRecordItemProcgStatus Processing Status
ChangeRecordLifecycleStatus _ChangeRecordObjPg ChangeRecordLifecycleStatus Issue Lifecycle
ChangeRecordItemIsNotEditable _ChangeRecordObjPg ChangeRecordItemIsNotEditable
ChangeRecordItmIsAddDelEnabled _ChangeRecordObjPg ChangeRecordItmIsAddDelEnabled
ChangeRecordType _ChangeRecordObjPg ChangeRecordType Record Type
ChangeRecordUUID ChangeRecordUUID NodeID
ChangeRecordReferenceType ChangeRecordReferenceType Object Type
ChangeRecordReferenceSubtype ChangeRecordReferenceSubtype Subtype
ParentChangeRecordRefUUID ParentChangeRecordRefUUID Node ID
MaterialName
WBSDescription _WBSElementBasic WBSDescription WBS Element Name
ChangeRecordReference ChangeRecordReference Ref. Object ID
ChgRecdItemProcgStatusIsEnbld _ChangeRecordObjPg ChgRecdItemProcgStatusIsEnbld
BillOfMaterial BillOfMaterial BOM
ChangeRecordStatus _ChangeRecordObjPg ChangeRecordStatus
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
BillOfMaterialCategory BillOfMaterialCategory BOM category
LastChangeDateTime LastChangeDateTime Timestamp
ChangeRecordVirtualRefInd ChangeRecordVirtualRefInd Virtual Reference
_Material _Material
_Plant _Plant
_BillOfMaterialVariantUsage _BillOfMaterialVariantUsage
_ChangeRecordItemRelVH _ChangeRecordItemRelVH
_ChangeRecordWBSBOMVH _ChangeRecordWBSBOMVH
_ProcessingStatusVH _ProcessingStatusVH
_WBSElementBasic _WBSElementBasic
_ChangeRecordObjPg _ChangeRecordObjPg
_ProcessingStatusTxt _ProcessingStatusTxt

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 N_ChgRecdObjPgWBSElmntBOM.
-- 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: NCHGRCDOBJPGWBS

CREATE VIEW N_ChgRecdObjPgWBSElmntBOM AS
SELECT
  ChangeRecordReferenceUUID,
  BOMLink.WBSElementInternalID AS WBSElementInternalID,
  BOMLink.Material AS Material,
  BOMLink.Plant AS Plant,
  BOMLink.BillOfMaterialVariantUsage AS BillOfMaterialVariantUsage,
  _BillOfMaterialVariantUsage.BillOfMaterialVariantUsageDesc AS BillOfMaterialVariantUsageDesc,
  BOMLink.BillOfMaterialVariant AS BillOfMaterialVariant,
  _WBSElementBasic._Project.PlannedStartDate AS PlannedStartDate,
  _WBSElementBasic._Project.PlannedEndDate AS PlannedEndDate,
  ChangeNumber,
  ChangeRecordItemRelevance,
  ChangeRecordItemProcgStatus,
  _ChangeRecordObjPg.ChangeRecordLifecycleStatus AS ChangeRecordLifecycleStatus,
  _ChangeRecordObjPg.ChangeRecordItemIsNotEditable AS ChangeRecordItemIsNotEditable,
  _ChangeRecordObjPg.ChangeRecordItmIsAddDelEnabled AS ChangeRecordItmIsAddDelEnabled,
  _ChangeRecordObjPg.ChangeRecordType AS ChangeRecordType,
  ChangeRecordUUID,
  ChangeRecordReferenceType,
  ChangeRecordReferenceSubtype,
  ParentChangeRecordRefUUID,
  _Material._Text[1:Language = $session.system_language].MaterialName AS MaterialName,
  _WBSElementBasic.WBSDescription AS WBSDescription,
  ChangeRecordReference,
  _ChangeRecordObjPg.ChgRecdItemProcgStatusIsEnbld AS ChgRecdItemProcgStatusIsEnbld,
  BillOfMaterial,
  _ChangeRecordObjPg.ChangeRecordStatus AS ChangeRecordStatus,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  BillOfMaterialCategory,
  LastChangeDateTime,
  ChangeRecordVirtualRefInd
FROM I_ChangeRecdRefWBSElmntBOMBsc AS RefWBSElmntBOMBsc
INNER JOIN I_ProjectBOMLink AS BOMLink ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN C_ChangeRecordWBSElmntBOMVH AS _ChangeRecordWBSBOMVH ON WBSElementInternalID = _ChangeRecordWBSBOMVH.WBSElementInternalID AND Material = _ChangeRecordWBSBOMVH.Material AND Plant = _ChangeRecordWBSBOMVH.Plant AND BillOfMaterialVariantUsage = _ChangeRecordWBSBOMVH.BillOfMaterialVariantUsage AND BillOfMaterialVariant = _ChangeRecordWBSBOMVH.BillOfMaterialVariant  -- association [0..1]
LEFT OUTER JOIN C_ChgRecdRefWBSElmntBOM AS _ChangeRecordObjPg ON ChangeRecordUUID = _ChangeRecordObjPg.ChangeRecordUUID  -- association [1..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [0..1]
LEFT OUTER JOIN I_PlantStdVH AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_BillOfMaterialUsage AS _BillOfMaterialVariantUsage ON BillOfMaterialVariantUsage = _BillOfMaterialVariantUsage.BillOfMaterialVariantUsage AND _BillOfMaterialVariantUsage.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasic ON WBSElementInternalID = _WBSElementBasic.WBSElementInternalID  -- association [1..1]
LEFT OUTER JOIN C_ChgRecordItemProcgStatusVH AS _ProcessingStatusVH ON ChangeRecordItemProcgStatus = _ProcessingStatusVH.ChgRecdNextItemProcgStatus AND ChangeRecordLifecycleStatus = _ProcessingStatusVH.ChangeRecordLifecycleStatus AND _ProcessingStatusVH.ChgRecdCurrentItemProcgStatus = ''  -- association [1..1]
LEFT OUTER JOIN I_ChgRecdItemProcgStatusText AS _ProcessingStatusTxt ON ChangeRecordItemProcgStatus = _ProcessingStatusTxt.ChangeRecordItemProcgStatus  -- association [0..*]
LEFT OUTER JOIN E_ChgRecdRefWBSElmntBOMBsc AS _WBSElmntBOMExtension ON ChangeRecordReferenceUUID = _WBSElmntBOMExtension.ChangeRecordReferenceUUID  -- association [0..1]
LEFT OUTER JOIN C_ChgRecdRlvnceWBSElmntBOMVH AS _ChangeRecordItemRelVH ON ChangeRecordItemRelevance = _ChangeRecordItemRelVH.ChangeRecordItemRelevance AND ChangeRecordType = _ChangeRecordItemRelVH.ChangeRecordType AND ( ChangeRecordReferenceType = _ChangeRecordItemRelVH.ChangeRecordReferenceType OR _ChangeRecordItemRelVH.ChangeRecordReferenceType = ' ' )  -- association [1..1]
;