P_ARunAssgmtSupType

DDL: P_ARUNASSGMTSUPTYPE Type: view COMPOSITE

P_ARunAssgmtSupType is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_ARunAllAssignments) and exposes 15 fields with key fields RequirementDocumentNumber, RequirementDocumentItem, SupProtTimeBucketUUID, RequestedDate, ProductAvailabilityDate.

Data Sources (1)

SourceAliasJoin Type
I_ARunAllAssignments Assgmt from

Annotations (10)

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

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY RequirementDocumentNumber I_ARunAllAssignments RequirementDocumentNumber
KEY RequirementDocumentItem I_ARunAllAssignments RequirementDocumentItem
KEY SupProtTimeBucketUUID I_ARunAllAssignments SupProtTimeBucketUUID Time Bucket UUID
KEY RequestedDate I_ARunAllAssignments RequestedDate Requested date
KEY ProductAvailabilityDate I_ARunAllAssignments ProductAvailabilityDate Mat.Avail.Date
KEY RequirementType I_ARunAllAssignments RequirementType RequirementType
KEY AssignedSupplyType I_ARunAllAssignments AssignedSupplyType Supply Type
KEY SupAssgmtSource I_ARunAllAssignments SupAssgmtSource Stock Source
KEY Material I_ARunAllAssignments Material Vehicle Model
KEY Plant I_ARunAllAssignments Plant Valuation Area
AssignedQuantityInBaseUnit
NormalAssignedQuantityInBsUnt
PreviewAssignedQuantityInBsUnt
ARunTmpAssignedQuantityInBsUnt
BaseUnit I_ARunAllAssignments 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_ARunAssgmtSupType.
-- 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_ARunAssgmtSupType AS
SELECT
  Assgmt.RequirementDocumentNumber AS RequirementDocumentNumber,
  Assgmt.RequirementDocumentItem AS RequirementDocumentItem,
  Assgmt.SupProtTimeBucketUUID AS SupProtTimeBucketUUID,
  Assgmt.RequestedDate AS RequestedDate,
  Assgmt.ProductAvailabilityDate AS ProductAvailabilityDate,
  Assgmt.RequirementType AS RequirementType,
  Assgmt.AssignedSupplyType AS AssignedSupplyType,
  Assgmt.SupAssgmtSource AS SupAssgmtSource,
  Assgmt.Material AS Material,
  Assgmt.Plant AS Plant,
  sum(Assgmt.AssignedQuantityInBaseUnit) AS AssignedQuantityInBaseUnit,
  sum(Assgmt.NormalAssignedQuantityInBsUnt) AS NormalAssignedQuantityInBsUnt,
  sum(Assgmt.PreviewAssignedQuantityInBsUnt) AS PreviewAssignedQuantityInBsUnt,
  sum(Assgmt.ARunTmpAssignedQuantityInBsUnt) AS ARunTmpAssignedQuantityInBsUnt,
  Assgmt.BaseUnit AS BaseUnit
FROM I_ARunAllAssignments AS Assgmt
;