I_ProductWorkScheduling
Product WorkScheduling core entity
I_ProductWorkScheduling is a Basic CDS View that provides data about "Product WorkScheduling core entity" in SAP S/4HANA. It reads from 1 data source (P_ProductPlantBasic) and exposes 33 fields with key fields Product, Plant. It has 12 associations to related views. Part of development package VDM_MD_PRODUCT_DDIC.
SAP Help Documentation
| Category | CDS Views for Product Master |
|---|---|
| Data Category | Dimension |
Purpose
This CDS view provides information about Work Scheduling data of the plant for a Product. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: STATM: Maintenance Status of Material BEGRU_MAT: Authorization Group for Product WERKS: Plant BEGRU_MATKL: Authorization Group for Product Group BEGRU_MTART: Authorization Group for Product Type
Structure
Further important fields Important fields in this view include the following: Field Name Description Product Product Number Plant Plant MaterialBaseQuantity Base quantity UnlimitedOverDelivIsAllowed Indicator: Unlimited Overdelivery Allowed OverDelivToleranceLimit Overdelivery Tolerance Limit UnderDelivToleranceLimit Underdelivery Tolerance Limit ProductionInvtryManagedLoc Issue Storage Location IsActiveEntity Draft - Indicator - Is active document ProdnOrderIsBatchRequired Determination of batch entry in the production/process order ProdIsWithdrawnFrmProdnBin Indicator: withdrawal of stock from production bin TransitionMatrixProductsGroup Group of Materials for Transition Matrix OrderChangeManagementProfile Overall profile for order change management MatlCompIsMarkedForBackflush Indicator: Backflush SetupAndTeardownTime Setup and teardown time ProductionSchedulingProfile Production Scheduling Profile TransitionTime Interoperation time
SAP Business Warehouse (SAP BW) Extraction
Data extraction type This CDS view is enabled for data extraction in full mode as well as in delta mode. Deltas are determined automatically by change data capture.
This CDS view provides information about Work Scheduling data of the plant for a Product. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: STATM: Maintenance Status of Material BEGRU_MAT: Authorization Group for Product WERKS: Plant BEGRU_MATKL: Authorization Group for Product Group BEGRU_MTART: Authorization Group for Product Type
Structure
Further important fields Important fields in this view include the following: Field Name Description Product Product Number Plant Plant MaterialBaseQuantity Base quantity UnlimitedOverDelivIsAllowed Indicator: Unlimited Overdelivery Allowed OverDelivToleranceLimit Overdelivery Tolerance Limit UnderDelivToleranceLimit Underdelivery Tolerance Limit ProductionInvtryManagedLoc Issue Storage Location IsActiveEntity Draft - Indicator - Is active document ProdnOrderIsBatchRequired Determination of batch entry in the production/process order ProdIsWithdrawnFrmProdnBin Indicator: withdrawal of stock from production bin TransitionMatrixProductsGroup Group of Materials for Transition Matrix OrderChangeManagementProfile Overall profile for order change management MatlCompIsMarkedForBackflush Indicator: Backflush SetupAndTeardownTime Setup and teardown time ProductionSchedulingProfile Production Scheduling Profile TransitionTime Interoperation time
SAP Business Warehouse (SAP BW) Extraction
Data extraction type This CDS view is enabled for data extraction in full mode as well as in delta mode. Deltas are determined automatically by change data capture.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ProductPlantBasic | WorkScheduling | from |
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Product | _Product | $projection.Product = _Product.Product |
| [0..1] | E_Productplant | _ProdWorkSchedulingExt | $projection.Product = _ProdWorkSchedulingExt.Product and $projection.Plant = _ProdWorkSchedulingExt.Plant |
| [0..1] | I_StorageLocation | _ProductionInvtryManagedLoc | $projection.Plant = _ProductionInvtryManagedLoc.Plant and $projection.ProductionInvtryManagedLoc = _ProductionInvtryManagedLoc.StorageLocation |
| [0..1] | I_ProductionSupervisor | _ProductionSupervisor | $projection.Plant = _ProductionSupervisor.Plant and $projection.ProductionSupervisor = _ProductionSupervisor.ProductionSupervisor |
| [0..1] | I_ProductionSchedulingProfile | _ProductionSchedulingProfile | $projection.Plant = _ProductionSchedulingProfile.Plant and $projection.ProductionSchedulingProfile = _ProductionSchedulingProfile.ProductionSchedulingProfile |
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_UnitOfMeasure | _ProductProductionQuantityUnit | $projection.ProductProductionQuantityUnit = _ProductProductionQuantityUnit.UnitOfMeasure |
| [0..*] | I_ProdnOrdBatDetnCodeText | _ProdnOrdBatDetnCodeText | $projection.ProdnOrderIsBatchRequired = _ProdnOrdBatDetnCodeText.ProductionOrderBatchCode |
| [0..*] | I_ProdComponentBackflushCodeT | _ProdComponentBackflushCodeT | $projection.MatlCompIsMarkedForBackflush = _ProdComponentBackflushCodeT.ProductComponentBackflushCode |
| [0..*] | I_ProductDescription_2 | _ProductDescription | $projection.Product = _ProductDescription.Product |
| [0..*] | I_UnitOfMeasureText | _BaseUnitOfMeasureText | $projection.BaseUnit = _BaseUnitOfMeasureText.UnitOfMeasure |
| [0..*] | I_UnitOfMeasureText | _ProdProdnQuantityUnitText | $projection.ProductProductionQuantityUnit = _ProdProdnQuantityUnitText.UnitOfMeasure |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRDWORKSCHED | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Product WorkScheduling core entity | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.dataExtraction.enabled | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.sapObjectNodeType.name | ProductPlantWorkScheduling | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | P_ProductPlantBasic | Product | Product Sold |
| KEY | Plant | P_ProductPlantBasic | Plant | Valuation Area |
| MaterialBaseQuantity | P_ProductPlantBasic | MaterialBaseQuantity | Base quantity | |
| UnlimitedOverDelivIsAllowed | P_ProductPlantBasic | UnlimitedOverDelivIsAllowed | Unlimited | |
| OverDelivToleranceLimit | P_ProductPlantBasic | OverDelivToleranceLimit | Overdely tol. | |
| UnderDelivToleranceLimit | P_ProductPlantBasic | UnderDelivToleranceLimit | Underdely tol. | |
| ProductionInvtryManagedLoc | P_ProductPlantBasic | ProductionInvtryManagedLoc | Storage Location | |
| IsActiveEntity | ||||
| ProdnOrderIsBatchRequired | P_ProductPlantBasic | ProdnOrderIsBatchRequired | Enter batch | |
| ProdIsWithdrawnFrmProdnBin | P_ProductPlantBasic | ProdIsWithdrawnFrmProdnBin | Withd.fm.pr.bin | |
| TransitionMatrixProductsGroup | P_ProductPlantBasic | TransitionMatrixProductsGroup | Mat. Grouping | |
| OrderChangeManagementProfile | P_ProductPlantBasic | OrderChangeManagementProfile | Overall profile | |
| MatlCompIsMarkedForBackflush | P_ProductPlantBasic | MatlCompIsMarkedForBackflush | Backflush | |
| SetupAndTeardownTime | P_ProductPlantBasic | SetupAndTeardownTime | Setup time | |
| ProductionSchedulingProfile | P_ProductPlantBasic | ProductionSchedulingProfile | Production Scheduling Profile | |
| TransitionTime | P_ProductPlantBasic | TransitionTime | Move Time | |
| ProcessingTimeInDays | P_ProductPlantBasic | ProcessingTimeInDays | Processing Time | |
| ProductionSupervisor | P_ProductPlantBasic | ProductionSupervisor | Prodn Supervisor | |
| ProductProductionQuantityUnit | P_ProductPlantBasic | ProductProductionQuantityUnit | Production unit | |
| HasProductionVersion | P_ProductPlantBasic | HasProductionVersion | Version | |
| BaseUnit | _Product | BaseUnit | Unit of Measure | |
| _Product | _Product | |||
| _Plant | _Plant | |||
| _ProductionInvtryManagedLoc | _ProductionInvtryManagedLoc | |||
| _ProductionSupervisor | _ProductionSupervisor | |||
| _ProductionSchedulingProfile | _ProductionSchedulingProfile | |||
| _BaseUnitOfMeasure | _Product | _BaseUnitOfMeasure | ||
| _ProductProductionQuantityUnit | _ProductProductionQuantityUnit | |||
| _ProdnOrdBatDetnCodeText | _ProdnOrdBatDetnCodeText | |||
| _ProdComponentBackflushCodeT | _ProdComponentBackflushCodeT | |||
| _ProductDescription | _ProductDescription | |||
| _BaseUnitOfMeasureText | _BaseUnitOfMeasureText | |||
| _ProdProdnQuantityUnitText | _ProdProdnQuantityUnitText |
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 I_ProductWorkScheduling.
-- 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 I_ProductWorkScheduling AS
SELECT
WorkScheduling.Product AS Product,
WorkScheduling.Plant AS Plant,
WorkScheduling.MaterialBaseQuantity AS MaterialBaseQuantity,
WorkScheduling.UnlimitedOverDelivIsAllowed AS UnlimitedOverDelivIsAllowed,
WorkScheduling.OverDelivToleranceLimit AS OverDelivToleranceLimit,
WorkScheduling.UnderDelivToleranceLimit AS UnderDelivToleranceLimit,
WorkScheduling.ProductionInvtryManagedLoc AS ProductionInvtryManagedLoc,
cast( 'X' as sdraft_is_active preserving type ) AS IsActiveEntity,
WorkScheduling.ProdnOrderIsBatchRequired AS ProdnOrderIsBatchRequired,
WorkScheduling.ProdIsWithdrawnFrmProdnBin AS ProdIsWithdrawnFrmProdnBin,
WorkScheduling.TransitionMatrixProductsGroup AS TransitionMatrixProductsGroup,
WorkScheduling.OrderChangeManagementProfile AS OrderChangeManagementProfile,
WorkScheduling.MatlCompIsMarkedForBackflush AS MatlCompIsMarkedForBackflush,
WorkScheduling.SetupAndTeardownTime AS SetupAndTeardownTime,
WorkScheduling.ProductionSchedulingProfile AS ProductionSchedulingProfile,
WorkScheduling.TransitionTime AS TransitionTime,
WorkScheduling.ProcessingTimeInDays AS ProcessingTimeInDays,
WorkScheduling.ProductionSupervisor AS ProductionSupervisor,
WorkScheduling.ProductProductionQuantityUnit AS ProductProductionQuantityUnit,
WorkScheduling.HasProductionVersion AS HasProductionVersion,
_Product.BaseUnit AS BaseUnit,
_Product._BaseUnitOfMeasure AS _BaseUnitOfMeasure
FROM P_ProductPlantBasic AS WorkScheduling
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product -- association [1..1]
LEFT OUTER JOIN E_Productplant AS _ProdWorkSchedulingExt ON Product = _ProdWorkSchedulingExt.Product AND Plant = _ProdWorkSchedulingExt.Plant -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _ProductionInvtryManagedLoc ON Plant = _ProductionInvtryManagedLoc.Plant AND ProductionInvtryManagedLoc = _ProductionInvtryManagedLoc.StorageLocation -- association [0..1]
LEFT OUTER JOIN I_ProductionSupervisor AS _ProductionSupervisor ON Plant = _ProductionSupervisor.Plant AND ProductionSupervisor = _ProductionSupervisor.ProductionSupervisor -- association [0..1]
LEFT OUTER JOIN I_ProductionSchedulingProfile AS _ProductionSchedulingProfile ON Plant = _ProductionSchedulingProfile.Plant AND ProductionSchedulingProfile = _ProductionSchedulingProfile.ProductionSchedulingProfile -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _ProductProductionQuantityUnit ON ProductProductionQuantityUnit = _ProductProductionQuantityUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_ProdnOrdBatDetnCodeText AS _ProdnOrdBatDetnCodeText ON ProdnOrderIsBatchRequired = _ProdnOrdBatDetnCodeText.ProductionOrderBatchCode -- association [0..*]
LEFT OUTER JOIN I_ProdComponentBackflushCodeT AS _ProdComponentBackflushCodeT ON MatlCompIsMarkedForBackflush = _ProdComponentBackflushCodeT.ProductComponentBackflushCode -- association [0..*]
LEFT OUTER JOIN I_ProductDescription_2 AS _ProductDescription ON Product = _ProductDescription.Product -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasureText AS _BaseUnitOfMeasureText ON BaseUnit = _BaseUnitOfMeasureText.UnitOfMeasure -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasureText AS _ProdProdnQuantityUnitText ON ProductProductionQuantityUnit = _ProdProdnQuantityUnitText.UnitOfMeasure -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA