I_PeggingAssignmentDelete

DDL: I_PEGGINGASSIGNMENTDELETE Type: view_entity COMPOSITE

Deleted Pegging Assignments

I_PeggingAssignmentDelete is a Composite CDS View that provides data about "Deleted Pegging Assignments" in SAP S/4HANA. It reads from 1 data source (I_PeggingAssignmentHistory) and exposes 34 fields with key fields MRPArea, MatlStkOwnrGrpgWBSElmntIntID, ReplenishmentElement, ReplenishmentDate, RequirementDate.

Data Sources (1)

SourceAliasJoin Type
I_PeggingAssignmentHistory AssignmentHistory from

Parameters (1)

NameTypeDefault
P_PeggingAssgmtAsOfDateTime pmmo_valid_from_d

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Deleted Pegging Assignments view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY MRPArea MRPArea MRP Area
KEY MatlStkOwnrGrpgWBSElmntIntID MatlStkOwnrGrpgWBSElmntIntID
KEY ReplenishmentElement ReplenishmentElement Replenishm. El.
KEY ReplenishmentDate ReplenishmentDate Replenishment Date
KEY RequirementDate RequirementDate Requirement Date
KEY AssignedWBSElementInternalID AssignedWBSElementInternalID WBS Element
KEY MaterialStockAndConsumptionSts MaterialStockAndConsumptionSts In Stock
KEY AlternateCostAssignmentObject AlternateCostAssignmentObject Breakpoint
KEY NextHigherAssemblyObject NextHigherAssemblyObject NHA Repl. Elem.
KEY TopLevelRequirementObject TopLevelRequirementObject Top Level Rqmt
KEY PeggingAssgmtValidFromDteTme PeggingAssgmtValidFromDteTme
KEY PeggingAssgmtValidToDteTme PeggingAssgmtValidToDteTme
PeggingAssignmentChangeType PeggingAssignmentChangeType Change Type
WBSElementExternalID _StkOwnrGrpgWBSElmnt WBSElementExternalID WBS Element External ID
Material Material Vehicle Model
AcctAsgtGroupingWBSElmntIntID AcctAsgtGroupingWBSElmntIntID
Plant Plant Valuation Area
WBSElmntAssgdMatlQuantity WBSElmntAssgdMatlQuantity Allocated Qty
WBSElmntAssgdMatlExssQuantity WBSElmntAssgdMatlExssQuantity Excess Quantity
WBSElmntAssgdMatlScrapQuantity WBSElmntAssgdMatlScrapQuantity Scrap Quantity
WBSElmntAssgdMatlLossQuantity WBSElmntAssgdMatlLossQuantity Loss Quantity
MaterialBaseUnit MaterialBaseUnit Valuation Unit
MaterialExcessAssgmtMethod MaterialExcessAssgmtMethod Excess Method
MaterialLossAssgmtMethod MaterialLossAssgmtMethod Loss Method
MaterialScrapAssgmtMethod MaterialScrapAssgmtMethod Scrap Method
ReplnmtElmntTotalOrderQuantity ReplnmtElmntTotalOrderQuantity Totl. Order Qty
TopLevelRequirementObjQuantity TopLevelRequirementObjQuantity Requirement Quantity
TopLevelRqmtObjQuantityUnit TopLevelRqmtObjQuantityUnit Base Unit
TopLevelRequirementObjRqmtDate TopLevelRequirementObjRqmtDate Top Requirement Date
LeadingOrderOfCollectiveOrder LeadingOrderOfCollectiveOrder Leading Order
OriginOfPeggingAssignment OriginOfPeggingAssignment Assignment Source
ReplnmtElmntIsStockGain ReplnmtElmntIsStockGain Stock Gain Indicator
ShippingNotice ShippingNotice Ship.Notif.Seq.
CreationDateTime CreationDateTime Timestamp

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_PeggingAssignmentDelete.
-- 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.
-- Parameters: P_PeggingAssgmtAsOfDateTime : pmmo_valid_from_d

CREATE VIEW I_PeggingAssignmentDelete AS
SELECT
  MRPArea,
  MatlStkOwnrGrpgWBSElmntIntID,
  ReplenishmentElement,
  ReplenishmentDate,
  RequirementDate,
  AssignedWBSElementInternalID,
  MaterialStockAndConsumptionSts,
  AlternateCostAssignmentObject,
  NextHigherAssemblyObject,
  TopLevelRequirementObject,
  PeggingAssgmtValidFromDteTme,
  PeggingAssgmtValidToDteTme,
  PeggingAssignmentChangeType,
  _StkOwnrGrpgWBSElmnt.WBSElementExternalID AS WBSElementExternalID,
  Material,
  AcctAsgtGroupingWBSElmntIntID,
  Plant,
  WBSElmntAssgdMatlQuantity,
  WBSElmntAssgdMatlExssQuantity,
  WBSElmntAssgdMatlScrapQuantity,
  WBSElmntAssgdMatlLossQuantity,
  MaterialBaseUnit,
  MaterialExcessAssgmtMethod,
  MaterialLossAssgmtMethod,
  MaterialScrapAssgmtMethod,
  ReplnmtElmntTotalOrderQuantity,
  TopLevelRequirementObjQuantity,
  TopLevelRqmtObjQuantityUnit,
  TopLevelRequirementObjRqmtDate,
  LeadingOrderOfCollectiveOrder,
  OriginOfPeggingAssignment,
  ReplnmtElmntIsStockGain,
  ShippingNotice,
  CreationDateTime
FROM I_PeggingAssignmentHistory AS AssignmentHistory
;