P_SupDmndAllDocPurgContrAssgmt

DDL: P_SUPDMNDALLDOCPURGCONTRASSGMT Type: view COMPOSITE

P_SupDmndAllDocPurgContrAssgmt is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_SupDmndAllDocPurgContr) and exposes 32 fields.

Data Sources (1)

SourceAliasJoin Type
I_SupDmndAllDocPurgContr _SupDmndAddDocPurgContr from

Annotations (9)

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

Fields (32)

KeyFieldSource TableSource FieldDescription
SupplyNumber I_SupDmndAllDocPurgContr SupplyNumber
SupplyItem I_SupDmndAllDocPurgContr SupplyItem
SupplyScheduleLine I_SupDmndAllDocPurgContr SupplyScheduleLine
AssignedSupplyType I_SupDmndAllDocPurgContr AssignedSupplyType
SupAssgmtSource I_SupDmndAllDocPurgContr SupAssgmtSource
SupplyDeliveryDate I_SupDmndAllDocPurgContr SupplyDeliveryDate Start date
ProductAvailabilityDate I_SupDmndAllDocPurgContr ProductAvailabilityDate Mat.Avail.Date
RequestedDeliveryDate I_SupDmndAllDocPurgContr RequestedDeliveryDate Requested Delivery Date
TotalQuantity I_SupDmndAllDocPurgContr TotalQuantity Activity Quantity
OpenSupplyQuantity
ReleasedQuantity I_SupDmndAllDocPurgContr ReleasedQuantity
AssignedQuantityInBaseUnit I_SupDmndAllDocPurgContr AssignedQuantityInBaseUnit
NormalAssignedQuantityInBsUnt I_SupDmndAllDocPurgContr NormalAssignedQuantityInBsUnt
PreviewAssignedQuantityInBsUnt I_SupDmndAllDocPurgContr PreviewAssignedQuantityInBsUnt
BaseUnit I_SupDmndAllDocPurgContr BaseUnit Unit of Measure
Material I_SupDmndAllDocPurgContr Material Vehicle Model
MaterialGroup I_SupDmndAllDocPurgContr MaterialGroup Product Group
Plant I_SupDmndAllDocPurgContr Plant Valuation Area
MaterialType I_SupDmndAllDocPurgContr MaterialType Material Type
StockSegment I_SupDmndAllDocPurgContr StockSegment Stock Segment
CrossPlantConfigurableProduct I_SupDmndAllDocPurgContr CrossPlantConfigurableProduct Cross-plant CP
OrderType I_SupDmndAllDocPurgContr OrderType Order Type
PurchasingOrganization I_SupDmndAllDocPurgContr PurchasingOrganization Purchasing Organization
PurchasingGroup I_SupDmndAllDocPurgContr PurchasingGroup Purchasing Group
Batch I_SupDmndAllDocPurgContr Batch Lot No.
StorageLocation I_SupDmndAllDocPurgContr StorageLocation StorageLocation
Customer I_SupDmndAllDocPurgContr Customer Sold-to Party
Supplier I_SupDmndAllDocPurgContr Supplier Supplier
CompanyCode I_SupDmndAllDocPurgContr CompanyCode Receiver Company Code
NetPriceAmount I_SupDmndAllDocPurgContr NetPriceAmount Net Price
DocumentCurrency I_SupDmndAllDocPurgContr DocumentCurrency Document Currency
MRPArea I_SupDmndAllDocPurgContr MRPArea MRP Area

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_SupDmndAllDocPurgContrAssgmt.
-- 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_SupDmndAllDocPurgContrAssgmt AS
SELECT
  _SupDmndAddDocPurgContr.SupplyNumber AS SupplyNumber,
  _SupDmndAddDocPurgContr.SupplyItem AS SupplyItem,
  _SupDmndAddDocPurgContr.SupplyScheduleLine AS SupplyScheduleLine,
  _SupDmndAddDocPurgContr.AssignedSupplyType AS AssignedSupplyType,
  _SupDmndAddDocPurgContr.SupAssgmtSource AS SupAssgmtSource,
  _SupDmndAddDocPurgContr.SupplyDeliveryDate AS SupplyDeliveryDate,
  _SupDmndAddDocPurgContr.ProductAvailabilityDate AS ProductAvailabilityDate,
  _SupDmndAddDocPurgContr.RequestedDeliveryDate AS RequestedDeliveryDate,
  _SupDmndAddDocPurgContr.TotalQuantity AS TotalQuantity,
  ( _SupDmndAddDocPurgContr.OpenSupplyQuantity - coalesce( _ARunAssgmtSup.AssignedQuantityInBaseUnit , 0 ) ) AS OpenSupplyQuantity,
  _SupDmndAddDocPurgContr.ReleasedQuantity AS ReleasedQuantity,
  _SupDmndAddDocPurgContr.AssignedQuantityInBaseUnit AS AssignedQuantityInBaseUnit,
  _SupDmndAddDocPurgContr.NormalAssignedQuantityInBsUnt AS NormalAssignedQuantityInBsUnt,
  _SupDmndAddDocPurgContr.PreviewAssignedQuantityInBsUnt AS PreviewAssignedQuantityInBsUnt,
  _SupDmndAddDocPurgContr.BaseUnit AS BaseUnit,
  _SupDmndAddDocPurgContr.Material AS Material,
  _SupDmndAddDocPurgContr.MaterialGroup AS MaterialGroup,
  _SupDmndAddDocPurgContr.Plant AS Plant,
  _SupDmndAddDocPurgContr.MaterialType AS MaterialType,
  _SupDmndAddDocPurgContr.StockSegment AS StockSegment,
  _SupDmndAddDocPurgContr.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
  _SupDmndAddDocPurgContr.OrderType AS OrderType,
  _SupDmndAddDocPurgContr.PurchasingOrganization AS PurchasingOrganization,
  _SupDmndAddDocPurgContr.PurchasingGroup AS PurchasingGroup,
  _SupDmndAddDocPurgContr.Batch AS Batch,
  _SupDmndAddDocPurgContr.StorageLocation AS StorageLocation,
  _SupDmndAddDocPurgContr.Customer AS Customer,
  _SupDmndAddDocPurgContr.Supplier AS Supplier,
  _SupDmndAddDocPurgContr.CompanyCode AS CompanyCode,
  _SupDmndAddDocPurgContr.NetPriceAmount AS NetPriceAmount,
  _SupDmndAddDocPurgContr.DocumentCurrency AS DocumentCurrency,
  _SupDmndAddDocPurgContr.MRPArea AS MRPArea
FROM I_SupDmndAllDocPurgContr AS _SupDmndAddDocPurgContr
;