I_KnbnCtrlCycProdMstrDta

DDL: I_KNBNCTRLCYCPRODMSTRDTA SQL: IPPKNBNCCPRODMD Type: view COMPOSITE

Product Master Data for Kanban Control Cycle

I_KnbnCtrlCycProdMstrDta (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Manufacturing

I_KnbnCtrlCycProdMstrDta is a Composite CDS View that provides data about "Product Master Data for Kanban Control Cycle" in SAP S/4HANA. It reads from 1 data source (I_KanbanControlCycle) and exposes 12 fields with key field KanbanControlCycle. It has 4 associations to related views.

SAP Help Documentation

CategoryCDS Views for Kanban Control Cycle
Purpose
This CDS view provides an overview of product master data in the context of Kanban control cycles. In particular, it provides the plant-related master data of the product as well as the storage location-related master data for the product and plant for both the demand and the supply source. This CDS view provides the data to answer the following business questions: What are the details of products involved in Kanban control cycles, including their associated plants and storage locations? What is the supply source plant for a given product within a Kanban control cycle? What is the demand source plant for a given product within a Kanban control cycle? What are the storage locations associated with both demand and supply sources for products in Kanban control cycles? 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 a role with the following restriction types set to read access: WERKS (Plant) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.

Structure
Important Fields Important fields in this view include the following: Field Name Description KanbanControlCycle Kanban control cycle Product Product number Plant Plant of demand source StorageLocation Storage location of demand source SourceStorageLocation Storage location of supply source SupplySourcePlant Plant of supply source Supplier Supplier

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-KAB-VDM
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities
PackageManufacturing for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
I_KanbanControlCycle I_KanbanControlCycle from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_ProductPlant _ProductPlant $projection.Product = _ProductPlant.Product and $projection.Plant = _ProductPlant.Plant
[0..1] I_ProductStorageLocation _ProductStorageLocation $projection.Product = _ProductStorageLocation.Product and $projection.Plant = _ProductStorageLocation.Plant and $projection.StorageLocation = _ProductStorageLocation.StorageLocation
[0..1] I_ProductPlant _SupplySourceProductPlant $projection.Product = _SupplySourceProductPlant.Product and $projection.SupplySourcePlant = _SupplySourceProductPlant.Plant
[0..1] I_ProductStorageLocation _SourceProductStorageLocation $projection.Product = _SourceProductStorageLocation.Product and $projection.SupplySourcePlant = _SourceProductStorageLocation.Plant and $projection.SourceStorageLocation = _SourceProductStorageLocation.StorageLocation

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IPPKNBNCCPRODMD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
ObjectModel.representativeKey KanbanControlCycle view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Product Master Data for Kanban Control Cycle view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY KanbanControlCycle KanbanControlCycle Kanban Control Cycle
Product Product Product Number
Plant Plant Valuation Area
StorageLocation _ProductionSupplyArea StorageLocation Storage Location
SourceStorageLocation Source Storage Location
Supplier Supplier Supplier's Account Number
_ProductPlant _ProductPlant
_ProductStorageLocation _ProductStorageLocation
_SupplySourceProductPlant _SupplySourceProductPlant
_SourceProductStorageLocation _SourceProductStorageLocation
_Supplier _Supplier
_SupplierCompanyByPlant _SupplierCompanyByPlant

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_KnbnCtrlCycProdMstrDta.
-- 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: IPPKNBNCCPRODMD

CREATE VIEW I_KnbnCtrlCycProdMstrDta AS
SELECT
  KanbanControlCycle,
  Product,
  Plant,
  _ProductionSupplyArea.StorageLocation AS StorageLocation,
  cast(StorageLocation as vdm_source_storage_location preserving type) AS SourceStorageLocation,
  Supplier
FROM I_KanbanControlCycle
LEFT OUTER JOIN I_ProductPlant AS _ProductPlant ON Product = _ProductPlant.Product AND Plant = _ProductPlant.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProductStorageLocation AS _ProductStorageLocation ON Product = _ProductStorageLocation.Product AND Plant = _ProductStorageLocation.Plant AND StorageLocation = _ProductStorageLocation.StorageLocation  -- association [0..1]
LEFT OUTER JOIN I_ProductPlant AS _SupplySourceProductPlant ON Product = _SupplySourceProductPlant.Product AND SupplySourcePlant = _SupplySourceProductPlant.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProductStorageLocation AS _SourceProductStorageLocation ON Product = _SourceProductStorageLocation.Product AND SupplySourcePlant = _SourceProductStorageLocation.Plant AND SourceStorageLocation = _SourceProductStorageLocation.StorageLocation  -- association [0..1]
;