C_KnbnCtrlCycleAnalysisCube
Kanban Control Cycle Analysis Cube
C_KnbnCtrlCycleAnalysisCube is a Consumption CDS View (Cube) that provides data about "Kanban Control Cycle Analysis Cube" in SAP S/4HANA. It reads from 1 data source (I_KanbanControlCycle) and exposes 51 fields with key field KanbanControlCycle. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_KanbanControlCycle | I_KanbanControlCycle | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | P_KnbnCtnStatusAggregated | _ContainersByControlCycle | $projection.KanbanControlCycle = _ContainersByControlCycle.KanbanControlCycle |
| [1..1] | I_KanbanControlCycle | _KanbanControlCycleVH | $projection.KanbanControlCycle = _KanbanControlCycleVH.KanbanControlCycle |
| [1..1] | I_Plant | _SupplySourcePlant | $projection.SupplySourcePlant = _SupplySourcePlant.Plant |
| [1..1] | I_ProductionSupplyArea | _SourceProductionSupplyArea | $projection.Plant = _SourceProductionSupplyArea.Plant and $projection.SourceProductionSupplyArea = _SourceProductionSupplyArea.ProductionSupplyArea |
| [0..1] | I_StorageLocation | _SourceStorageLocation | $projection.Plant = _SourceStorageLocation.Plant and $projection.SourceStorageLocation = _SourceStorageLocation.StorageLocation |
| [0..1] | I_StorageLocation | _StorageLocation | $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation |
| [0..1] | I_WorkCenterBySemanticKey | _PlanningWorkCenter | $projection.PlanningWorkCenter = _PlanningWorkCenter.WorkCenter and $projection.Plant = _PlanningWorkCenter.Plant |
| [0..1] | I_Material | _Material | $projection.Product = _Material.Material |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CKNBNCTNSTSCUBE | view | |
| EndUserText.label | Kanban Control Cycle Analysis Cube | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.internalName | #LOCAL | view | |
| Metadata.allowExtensions | true | view | |
| Analytics.dataCategory | #CUBE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (51)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | KanbanControlCycle | KanbanControlCycle | ||
| ProductionSupplyArea | ProductionSupplyArea | Supply Area | ||
| Plant | Plant | Valuation Area | ||
| Product | Product | Product Sold | ||
| SourceStorageLocation | I_KanbanControlCycle | StorageLocation | StorageLocation | |
| InHouseProductionReplnmtStrgy | InHouseProductionReplnmtStrgy | |||
| ExtProcurementReplnmtStrgy | ExtProcurementReplnmtStrgy | |||
| StockTransferReplnmtStrategy | StockTransferReplnmtStrategy | |||
| KanbanControlCycleCategory | KanbanControlCycleCategory | |||
| BaseUnit | BaseUnit | Unit of Measure | ||
| Supplier | Supplier | Supplier | ||
| KanbanCtrlCycleLifeCycleStatus | KanbanCtrlCycleLifeCycleStatus | |||
| ReleaseDate | ReleaseDate | |||
| LockDate | LockDate | Lock Date of Kanban Control Cycle | ||
| StoringPositionName | StoringPositionName | Unloading Point | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| KanbanCtrlCycReplnmtTriggerGrp | KanbanCtrlCycReplnmtTriggerGrp | Trigger Group | ||
| NrOfWaitingKnbnCtnsBfrReplnmt | NrOfWaitingKnbnCtnsBfrReplnmt | Trigger Point | ||
| PlanningWorkCenter | PlanningWorkCenter | Planning Work Center | ||
| SourceProductionSupplyArea | SourceProductionSupplyArea | |||
| StorageLocation | _ProductionSupplyArea | StorageLocation | StorageLocation | |
| NumberOfKanbanContainers | _ContainersByControlCycle | NumberOfKanbanContainers | ||
| NumberOfWaitingKanbanCtns | _ContainersByControlCycle | NumberOfWaitingKanbanCtns | ||
| NumberOfEmptyKanbanContainers | _ContainersByControlCycle | NumberOfEmptyKanbanContainers | ||
| NumberOfKanbanCtnsInProcess | _ContainersByControlCycle | NumberOfKanbanCtnsInProcess | ||
| NumberOfKanbanCtnsInTransit | _ContainersByControlCycle | NumberOfKanbanCtnsInTransit | ||
| NumberOfFullKanbanContainers | _ContainersByControlCycle | NumberOfFullKanbanContainers | ||
| NumberOfKanbanContainersInUse | _ContainersByControlCycle | NumberOfKanbanContainersInUse | ||
| NumberOfKanbanCtnsWithError | _ContainersByControlCycle | NumberOfKanbanCtnsWithError | ||
| NumberOfLockedKanbanContainers | _ContainersByControlCycle | NumberOfLockedKanbanContainers | ||
| NmbrOfCtnsWhereGoodsRcptIsMisg | _ContainersByControlCycle | NmbrOfCtnsWhereGoodsRcptIsMisg | ||
| NmbrOfCtnsWhereGdsRcptIsAhead | _ContainersByControlCycle | NmbrOfCtnsWhereGdsRcptIsAhead | ||
| ActualQuantityInBaseUnit | _ContainersByControlCycle | ActualQuantityInBaseUnit | ||
| RequestedQuantityInBaseUnit | _ContainersByControlCycle | RequestedQuantityInBaseUnit | Requested Qty | |
| CtrlCycNextRcptInUTCDteTme | _ContainersByControlCycle | CtrlCycNextRcptInUTCDteTme | ||
| NmbrOfDaysSinceKnbnCtnsChgd | ||||
| _KanbanControlCycleVH | _KanbanControlCycleVH | |||
| _Plant | _Plant | |||
| _SupplySourcePlant | _SupplySourcePlant | |||
| _ProductionSupplyArea | _ProductionSupplyArea | |||
| _SourceProductionSupplyArea | _SourceProductionSupplyArea | |||
| _KanbanControlCycleCategory | _KanbanControlCycleCategory | |||
| _Material | _Material | |||
| _KnbnControlCycLifeCycSts | _KnbnControlCycLifeCycSts | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _SupplierCompanyByPlant | _SupplierCompanyByPlant | |||
| _StorageLocation | _StorageLocation | |||
| _BaseUnit | _BaseUnit | |||
| _Supplier | _Supplier | |||
| _SourceStorageLocation | _SourceStorageLocation | |||
| _PlanningWorkCenter | _PlanningWorkCenter |
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_KnbnCtrlCycleAnalysisCube.
-- 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: CKNBNCTNSTSCUBE
CREATE VIEW C_KnbnCtrlCycleAnalysisCube AS
SELECT
KanbanControlCycle,
ProductionSupplyArea,
Plant,
Product,
I_KanbanControlCycle.StorageLocation AS SourceStorageLocation,
InHouseProductionReplnmtStrgy,
ExtProcurementReplnmtStrgy,
StockTransferReplnmtStrategy,
KanbanControlCycleCategory,
BaseUnit,
Supplier,
KanbanCtrlCycleLifeCycleStatus,
ReleaseDate,
LockDate,
StoringPositionName,
PurchasingOrganization,
KanbanCtrlCycReplnmtTriggerGrp,
NrOfWaitingKnbnCtnsBfrReplnmt,
PlanningWorkCenter,
SourceProductionSupplyArea,
_ProductionSupplyArea.StorageLocation AS StorageLocation,
_ContainersByControlCycle.NumberOfKanbanContainers AS NumberOfKanbanContainers,
_ContainersByControlCycle.NumberOfWaitingKanbanCtns AS NumberOfWaitingKanbanCtns,
_ContainersByControlCycle.NumberOfEmptyKanbanContainers AS NumberOfEmptyKanbanContainers,
_ContainersByControlCycle.NumberOfKanbanCtnsInProcess AS NumberOfKanbanCtnsInProcess,
_ContainersByControlCycle.NumberOfKanbanCtnsInTransit AS NumberOfKanbanCtnsInTransit,
_ContainersByControlCycle.NumberOfFullKanbanContainers AS NumberOfFullKanbanContainers,
_ContainersByControlCycle.NumberOfKanbanContainersInUse AS NumberOfKanbanContainersInUse,
_ContainersByControlCycle.NumberOfKanbanCtnsWithError AS NumberOfKanbanCtnsWithError,
_ContainersByControlCycle.NumberOfLockedKanbanContainers AS NumberOfLockedKanbanContainers,
_ContainersByControlCycle.NmbrOfCtnsWhereGoodsRcptIsMisg AS NmbrOfCtnsWhereGoodsRcptIsMisg,
_ContainersByControlCycle.NmbrOfCtnsWhereGdsRcptIsAhead AS NmbrOfCtnsWhereGdsRcptIsAhead,
_ContainersByControlCycle.ActualQuantityInBaseUnit AS ActualQuantityInBaseUnit,
_ContainersByControlCycle.RequestedQuantityInBaseUnit AS RequestedQuantityInBaseUnit,
_ContainersByControlCycle.CtrlCycNextRcptInUTCDteTme AS CtrlCycNextRcptInUTCDteTme,
cast(division(TSTMP_SECONDS_BETWEEN(_ContainersByControlCycle.LastChangeDateTime,TSTMP_CURRENT_UTCTIMESTAMP(),'FAIL'),86400,2) as pk_numbr_of_days_since_cont_ch) AS NmbrOfDaysSinceKnbnCtnsChgd
FROM I_KanbanControlCycle
LEFT OUTER JOIN P_KnbnCtnStatusAggregated AS _ContainersByControlCycle ON KanbanControlCycle = _ContainersByControlCycle.KanbanControlCycle -- association [1..1]
LEFT OUTER JOIN I_KanbanControlCycle AS _KanbanControlCycleVH ON KanbanControlCycle = _KanbanControlCycleVH.KanbanControlCycle -- association [1..1]
LEFT OUTER JOIN I_Plant AS _SupplySourcePlant ON SupplySourcePlant = _SupplySourcePlant.Plant -- association [1..1]
LEFT OUTER JOIN I_ProductionSupplyArea AS _SourceProductionSupplyArea ON Plant = _SourceProductionSupplyArea.Plant AND SourceProductionSupplyArea = _SourceProductionSupplyArea.ProductionSupplyArea -- association [1..1]
LEFT OUTER JOIN I_StorageLocation AS _SourceStorageLocation ON Plant = _SourceStorageLocation.Plant AND SourceStorageLocation = _SourceStorageLocation.StorageLocation -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation -- association [0..1]
LEFT OUTER JOIN I_WorkCenterBySemanticKey AS _PlanningWorkCenter ON PlanningWorkCenter = _PlanningWorkCenter.WorkCenter AND Plant = _PlanningWorkCenter.Plant -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Product = _Material.Material -- association [0..1]
;
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