C_Productdcworkscheduling

DDL: C_PRODUCTDCWORKSCHEDULING SQL: CPRDDCWORKSCHED Type: view CONSUMPTION

Consumotion - Product work scheduling

C_Productdcworkscheduling is a Consumption CDS View that provides data about "Consumotion - Product work scheduling" in SAP S/4HANA. It reads from 1 data source (I_ProductWorkSchedulingWD) and exposes 14 fields with key fields Product, Plant. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProductWorkSchedulingWD WorkScheduling from

Associations (3)

CardinalityTargetAliasCondition
[1..1] C_Product _Product $projection.Product = _Product.Product
[1..1] C_Productdistributioncenter _DistributionCenter $projection.Product = _DistributionCenter.Product and $projection.Plant = _DistributionCenter.Plant
[0..1] C_ProdStorageLocationVH _ProductionInvtryManagedLoc $projection.ProductionInvtryManagedLoc = _ProductionInvtryManagedLoc.StorageLocation and $projection.PlantForEdit = _ProductionInvtryManagedLoc.Plant

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CPRDDCWORKSCHED view
EndUserText.label Consumotion - Product work scheduling view
VDM.viewType #CONSUMPTION view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.text.control #ASSOCIATED_TEXT_UI_HIDDEN view
AccessControl.authorizationCheck #CHECK view
Metadata.allowExtensions true view
Feature SW:ISR_RETAILSWITCH view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY Product I_ProductWorkSchedulingWD Product Product Sold
KEY Plant I_ProductWorkSchedulingWD Plant Valuation Area
PlantForEdit I_ProductWorkSchedulingWD PlantForEdit Plant ID
MaterialBaseQuantity I_ProductWorkSchedulingWD MaterialBaseQuantity Base quantity
UnlimitedOverDelivIsAllowed I_ProductWorkSchedulingWD UnlimitedOverDelivIsAllowed Unlimited
OverDelivToleranceLimit I_ProductWorkSchedulingWD OverDelivToleranceLimit Overdely tol.
UnderDelivToleranceLimit I_ProductWorkSchedulingWD UnderDelivToleranceLimit Underdely tol.
BaseUnit BaseUnit Unit of Measure
ProductionInvtryManagedLoc I_ProductWorkSchedulingWD ProductionInvtryManagedLoc Storage Location
DeliveryToleranceUnit
ProductionSupervisor I_ProductWorkSchedulingWD ProductionSupervisor Prodn Supervisor
_Product _Product
_DistributionCenter _DistributionCenter
_ProductionInvtryManagedLoc _ProductionInvtryManagedLoc

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 C_Productdcworkscheduling.
-- 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: CPRDDCWORKSCHED

CREATE VIEW C_Productdcworkscheduling AS
SELECT
  WorkScheduling.Product AS Product,
  WorkScheduling.Plant AS Plant,
  WorkScheduling.PlantForEdit AS PlantForEdit,
  WorkScheduling.MaterialBaseQuantity AS MaterialBaseQuantity,
  WorkScheduling.UnlimitedOverDelivIsAllowed AS UnlimitedOverDelivIsAllowed,
  WorkScheduling.OverDelivToleranceLimit AS OverDelivToleranceLimit,
  WorkScheduling.UnderDelivToleranceLimit AS UnderDelivToleranceLimit,
  BaseUnit,
  WorkScheduling.ProductionInvtryManagedLoc AS ProductionInvtryManagedLoc,
  cast( '' as msehi ) AS DeliveryToleranceUnit,
  WorkScheduling.ProductionSupervisor AS ProductionSupervisor
FROM I_ProductWorkSchedulingWD AS WorkScheduling
LEFT OUTER JOIN C_Product AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN C_Productdistributioncenter AS _DistributionCenter ON Product = _DistributionCenter.Product AND Plant = _DistributionCenter.Plant  -- association [1..1]
LEFT OUTER JOIN C_ProdStorageLocationVH AS _ProductionInvtryManagedLoc ON ProductionInvtryManagedLoc = _ProductionInvtryManagedLoc.StorageLocation AND PlantForEdit = _ProductionInvtryManagedLoc.Plant  -- association [0..1]
;