P_SupAssgmtDmndDets

DDL: P_SUPASSGMTDMNDDETS Type: view COMPOSITE Package: ARUN_DEMAND_MONITOR

Supply Assignment Demand Order Item Details

P_SupAssgmtDmndDets is a Composite CDS View that provides data about "Supply Assignment Demand Order Item Details" in SAP S/4HANA. It reads from 1 data source (I_SupDmndOvwDemand) and exposes 46 fields. Part of development package ARUN_DEMAND_MONITOR.

Data Sources (1)

SourceAliasJoin Type
I_SupDmndOvwDemand I_SupDmndOvwDemand from

Annotations (9)

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

Fields (46)

KeyFieldSource TableSource FieldDescription
RequirementDocumentNumber RequirementDocumentNumber SD Document
RequirementDocumentItem RequirementDocumentItem Sales Document Item
RequirementType RequirementType RequirementType
RequestedDeliveryDate
RequestedRqmtQtyInBaseUnit
ConfirmedRqmtQtyInBaseUnit
DeliveredQuantityInBaseUnit
OpenDemandQuantity
BaseUnit BaseUnit Unit of Measure
NetPriceAmount NetPriceAmount Net Price
DocumentCurrency DocumentCurrency Document Currency
Material Material Vehicle Model
MaterialGroup MaterialGroup Product Group
CrossPlantConfigurableProduct CrossPlantConfigurableProduct Cross-plant CP
Plant Plant Valuation Area
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
SalesDistrict SalesDistrict Sales District
CompanyCode CompanyCode Receiver Company Code
SoldToParty SoldToParty Sold-to Party
CustomerGroup CustomerGroup Customer Group
ShipToParty ShipToParty Ship-To Party (obsolete)
RequirementSegment RequirementSegment Req. Segment
ProductSeasonYear ProductSeasonYear Season Year
ProductSeason ProductSeason Season
ProductCollection ProductCollection Collection
ProductTheme ProductTheme Theme
OrderType OrderType Order Type
OrderTypeName OrderTypeName
SupAssgmtOrdStatus SupAssgmtOrdStatus
FashionCancelDateHorizon FashionCancelDateHorizon
StorageLocation StorageLocation StorageLocation
ShippingPoint ShippingPoint Shipping Point
ShippingCondition ShippingCondition Shipping Conditions
ShippingGroupRule ShippingGroupRule PSST Grouping Rule
ShippingGroupNumber ShippingGroupNumber PSST Group
ARunSupplyAssgmtReleaseRule ARunSupplyAssgmtReleaseRule Release Rule
PartnerFunction PartnerFunction Partner Functn
SalesDocumentItemCategory SalesDocumentItemCategory Item Category
DeliveryGroup DeliveryGroup Delivery Group
DeliveryBlockReason DeliveryBlockReason Delivery Block
ItemBillingBlockReason ItemBillingBlockReason Billing Block
PurchasingDocument PurchasingDocument Purchasing Document
PurchasingDocumentItem PurchasingDocumentItem Purchasing Doc. Item
Supplier Supplier Supplier

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_SupAssgmtDmndDets.
-- 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_SupAssgmtDmndDets AS
SELECT
  RequirementDocumentNumber,
  RequirementDocumentItem,
  RequirementType,
  min(RequestedDeliveryDate) AS RequestedDeliveryDate,
  sum(RequestedRqmtQtyInBaseUnit) AS RequestedRqmtQtyInBaseUnit,
  sum(ConfirmedRqmtQtyInBaseUnit) AS ConfirmedRqmtQtyInBaseUnit,
  sum(DeliveredQuantityInBaseUnit) AS DeliveredQuantityInBaseUnit,
  sum(OpenDemandQuantity) AS OpenDemandQuantity,
  BaseUnit,
  NetPriceAmount,
  DocumentCurrency,
  Material,
  MaterialGroup,
  CrossPlantConfigurableProduct,
  Plant,
  SalesOrganization,
  DistributionChannel,
  Division,
  SalesDistrict,
  CompanyCode,
  SoldToParty,
  CustomerGroup,
  ShipToParty,
  RequirementSegment,
  ProductSeasonYear,
  ProductSeason,
  ProductCollection,
  ProductTheme,
  OrderType,
  OrderTypeName,
  SupAssgmtOrdStatus,
  FashionCancelDateHorizon,
  StorageLocation,
  ShippingPoint,
  ShippingCondition,
  ShippingGroupRule,
  ShippingGroupNumber,
  ARunSupplyAssgmtReleaseRule,
  PartnerFunction,
  SalesDocumentItemCategory,
  DeliveryGroup,
  DeliveryBlockReason,
  ItemBillingBlockReason,
  PurchasingDocument,
  PurchasingDocumentItem,
  Supplier
FROM I_SupDmndOvwDemand
;