A_ProductPlantSales

DDL: A_PRODUCTPLANTSALES SQL: APRDPLANTSALES Type: view BASIC

Sales Data at Plant Level

A_ProductPlantSales is a Basic CDS View that provides data about "Sales Data at Plant Level" in SAP S/4HANA. It reads from 1 data source (I_Productplantsales) and exposes 10 fields with key fields Product, Plant. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_Productplantsales I_Productplantsales from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_Product _Product $projection.Product = _Product.Product

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName APRDPLANTSALES view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
EndUserText.label Sales Data at Plant Level view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY Product Product Product Sold
KEY Plant Plant Valuation Area
LoadingGroup LoadingGroup Loading Group
ReplacementPartType ReplacementPartType
CapPlanningQuantityInBaseUoM CapPlanningQuantityInBaseUoM
ProductShippingProcessingTime ProductShippingProcessingTime
WrkCentersShipgSetupTimeInDays WrkCentersShipgSetupTimeInDays
AvailabilityCheckType AvailabilityCheckType Avail. check
BaseUnit BaseUnit Unit of Measure
_Product _Product

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 A_ProductPlantSales.
-- 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.
-- SQL view name: APRDPLANTSALES

CREATE VIEW A_ProductPlantSales AS
SELECT
  Product,
  Plant,
  LoadingGroup,
  ReplacementPartType,
  CapPlanningQuantityInBaseUoM,
  ProductShippingProcessingTime,
  WrkCentersShipgSetupTimeInDays,
  AvailabilityCheckType,
  BaseUnit
FROM I_Productplantsales
LEFT OUTER JOIN A_Product AS _Product ON Product = _Product.Product  -- association [1..1]
;