P_ARunSimulation

DDL: P_ARUNSIMULATION Type: view COMPOSITE Package: VDM_ARUN_MONITOR

Supply Assignment Run Simulation Aggregated data

P_ARunSimulation is a Composite CDS View that provides data about "Supply Assignment Run Simulation Aggregated data" in SAP S/4HANA. It reads from 1 data source (I_ARunSimulation) and exposes 17 fields with key fields ATPCheckUUID, RequirementType, RequirementDocumentNumber, RequirementDocumentItem, RequestedDate. Part of development package VDM_ARUN_MONITOR.

Data Sources (1)

SourceAliasJoin Type
I_ARunSimulation I_ARunSimulation from

Annotations (9)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
AbapCatalog.sqlViewName PARUNSIM view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XXL view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY ATPCheckUUID ATPCheckUUID Check ID
KEY RequirementType RequirementType RequirementType
KEY RequirementDocumentNumber RequirementDocumentNumber
KEY RequirementDocumentItem RequirementDocumentItem
KEY RequestedDate RequestedDate Requested date
KEY ProductAvailabilityDate ProductAvailabilityDate Mat.Avail.Date
Plant Plant Valuation Area
Material Material Vehicle Model
RequirementSegment RequirementSegment Req. Segment
NormalAssignedQuantityInBsUnt
AssignedQuantityInBaseUnit
FixedQuantityInBaseUnit
SupAssgmtReservedQtyInBaseUnit
OnHoldQuantityInBaseUnit
ReadyForReleaseQtyInBaseUnit
InboundAssignedQuantityInBsUnt
BaseUnit BaseUnit Unit of Measure

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 P_ARunSimulation.
-- 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.

CREATE VIEW P_ARunSimulation AS
SELECT
  ATPCheckUUID,
  RequirementType,
  RequirementDocumentNumber,
  RequirementDocumentItem,
  RequestedDate,
  ProductAvailabilityDate,
  Plant,
  Material,
  RequirementSegment,
  sum(NormalAssignedQuantityInBsUnt) AS NormalAssignedQuantityInBsUnt,
  sum(AssignedQuantityInBaseUnit) AS AssignedQuantityInBaseUnit,
  sum(FixedQuantityInBaseUnit) AS FixedQuantityInBaseUnit,
  sum(SupAssgmtReservedQtyInBaseUnit) AS SupAssgmtReservedQtyInBaseUnit,
  sum(OnHoldQuantityInBaseUnit) AS OnHoldQuantityInBaseUnit,
  sum(ReadyForReleaseQtyInBaseUnit) AS ReadyForReleaseQtyInBaseUnit,
  sum(InboundAssignedQuantityInBsUnt) AS InboundAssignedQuantityInBsUnt,
  BaseUnit
FROM I_ARunSimulation
;