C_ProductionSupplyControlCycle

DDL: C_PRODUCTIONSUPPLYCONTROLCYCLE SQL: CPRODSPLYCTRLCYC Type: view CONSUMPTION Package: ODATA_PP_KAB_FIO_PROD_SPLY_BRD

Control Cycle

C_ProductionSupplyControlCycle is a Consumption CDS View that provides data about "Control Cycle" in SAP S/4HANA. It reads from 1 data source (I_KanbanControlCycle) and exposes 63 fields with key field KanbanControlCycle. It has 22 associations to related views. It is exposed through 1 OData service (ASQL_F4630). Part of development package ODATA_PP_KAB_FIO_PROD_SPLY_BRD.

Data Sources (1)

SourceAliasJoin Type
I_KanbanControlCycle _KanbanControlCycle from

Associations (22)

CardinalityTargetAliasCondition
[0..*] C_ProductionSupplyItem _ProductionSupplyItem $projection.KanbanControlCycle = _ProductionSupplyItem.KanbanControlCycle
[0..1] C_ProdnSupEventDrvnCtnCrtn _ProdnSupEventDrvnCtnCrtn $projection.KanbanControlCycle = _ProdnSupEventDrvnCtnCrtn.KanbanControlCycle
[0..1] I_Material _Product $projection.Product = _Product.Material
[0..1] I_PlantStdVH _Plant $projection.Plant = _Plant.Plant
[0..1] I_PlantStdVH _SupplySourcePlant $projection.SupplySourcePlant = _SupplySourcePlant.Plant
[0..1] I_ProductionSupplyArea _SourceProductionSupplyArea $projection.Plant = _SourceProductionSupplyArea.Plant and $projection.SourceProductionSupplyArea = _SourceProductionSupplyArea.ProductionSupplyArea
[0..1] I_StorageLocationStdVH _SourceStorageLocation $projection.Plant = _SourceStorageLocation.Plant and $projection.SourceStorageLocation = _SourceStorageLocation.StorageLocation
[0..1] I_StorageLocationStdVH _StorageLocation $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation
[1..1] I_KanbanContainerStatus _KanbanContainerStatus $projection.KanbanContainerStatus = _KanbanContainerStatus.KanbanContainerStatus
[1..1] I_KanbanStatus _KanbanStatus $projection.KanbanContainerStatus = _KanbanStatus.KanbanStatus
[0..1] I_KnbnReplnmtStrgyType _KnbnReplnmtStrgyType $projection.KanbanReplenishmentStrgyType = _KnbnReplnmtStrgyType.KanbanReplenishmentStrgyType
[0..1] I_ProductionSupplyMRPCtrlrVH _ResponsiblePerson $projection.Plant = _ResponsiblePerson.Plant and $projection.SupplySourceResponsiblePerson = _ResponsiblePerson.MRPController
[0..1] I_ProductionSupplyMRPCtrlrVH _MRPController $projection.Plant = _MRPController.Plant and $projection.productionsupplyarearespperson = _MRPController.MRPController
[0..1] I_KnbnProdnReplnmtStrgyVH _KnbnProdnReplnmtStrgy $projection.InHouseProductionReplnmtStrgy = _KnbnProdnReplnmtStrgy.InHouseProductionReplnmtStrgy and $projection.Plant = _KnbnProdnReplnmtStrgy.Plant
[0..1] I_KnbnExtProcmtReplnmtStrgyVH _KnbnExtProcmtReplnmtStrgy $projection.ExtProcurementReplnmtStrgy = _KnbnExtProcmtReplnmtStrgy.ExtProcurementReplnmtStrgy and $projection.Plant = _KnbnExtProcmtReplnmtStrgy.Plant
[0..1] I_KnbnStkTransfReplnmtStrgyVH _KnbnStkTransfReplnmtStrgy $projection.StockTransferReplnmtStrategy = _KnbnStkTransfReplnmtStrgy.StockTransferReplnmtStrategy and $projection.Plant = _KnbnStkTransfReplnmtStrgy.Plant
[1..1] I_KnbnControlCycLifeCycSts _KnbnControlCycLifeCycSts $projection.KanbanCtrlCycleLifeCycleStatus = _KnbnControlCycLifeCycSts.KanbanCtrlCycleLifeCycleStatus
[0..1] I_WrkCtrBySemanticKeyStdVH _WorkCenter $projection.PlanningWorkCenter = _WorkCenter.WorkCenter and $projection.Plant = _WorkCenter.Plant
[0..1] I_KanbanCostCenterByPlantVH _CostCenter $projection.Plant = _CostCenter.Plant and $projection.CostCenter = _CostCenter.CostCenter
[0..1] I_WarehouseStdVH _Warehouse $projection.Warehouse = _Warehouse.Warehouse
[1..1] I_KnbnCtrlCycProdMstrDta _KnbnCtrlCycProdMstrDta $projection.KanbanControlCycle = _KnbnCtrlCycProdMstrDta.KanbanControlCycle
[0..1] E_KanbanControlCycle _ControlCycleExtension $projection.KanbanControlCycle = _ControlCycleExtension.KanbanControlCycle

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CPRODSPLYCTRLCYC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Control Cycle view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled false view
VDM.private false view
VDM.viewType #CONSUMPTION view
Search.searchable true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F4630 ASQL_F4630 C2 NOT_RELEASED

Fields (63)

KeyFieldSource TableSource FieldDescription
KEY KanbanControlCycle I_KanbanControlCycle KanbanControlCycle
Plant I_KanbanControlCycle Plant Valuation Area
ProductionSupplyArea I_KanbanControlCycle ProductionSupplyArea Supply Area
Product I_KanbanControlCycle Product Material
SourceStorageLocation I_KanbanControlCycle StorageLocation Source Storage Location
KanbanControlCycleCategory KanbanControlCycleCategory
ProductionVersion ProductionVersion Version ID
SupplySourceResponsiblePerson SupplySourceResponsiblePerson
BaseUnit BaseUnit Unit of Measure
KanbanContainerQuantityInBsUnt KanbanContainerQuantityInBsUnt
NumberOfKanbanContainers NumberOfKanbanContainers
MaxNrOfEmptyKanbanContainers MaxNrOfEmptyKanbanContainers
InHouseProductionReplnmtStrgy InHouseProductionReplnmtStrgy
ExtProcurementReplnmtStrgy ExtProcurementReplnmtStrgy
StockTransferReplnmtStrategy StockTransferReplnmtStrategy
Supplier Supplier Supplier
KanbanCtrlCycleLifeCycleStatus KanbanCtrlCycleLifeCycleStatus
CreationDate CreationDate Time Stamp
ReleaseDate ReleaseDate
LockDate LockDate Lock Date of Kanban Control Cycle
CostCenter CostCenter Cost Center
StoringPositionName StoringPositionName Unloading Point
Warehouse Warehouse Warehouse Number
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchaseOutlineAgreement PurchaseOutlineAgreement Scheduling Agreement
KanbanCtrlCycReplnmtTriggerGrp KanbanCtrlCycReplnmtTriggerGrp Trigger Group
NrOfWaitingKnbnCtnsBfrReplnmt NrOfWaitingKnbnCtnsBfrReplnmt Trigger Point
PlanningWorkCenter PlanningWorkCenter Planning Work Center
SourceProductionSupplyArea SourceProductionSupplyArea Source Supply Area
SalesSchedulingAgreement SalesSchedulingAgreement Sales Document
StorageLocation _ProductionSupplyArea StorageLocation Storage Location of Supply Area
ProductionSupplyAreaRespPerson _ProductionSupplyArea ProductionSupplyAreaRespPerson Person Responsible for Supply Area
EvtDrvnKnbnCtnCrtnIsEnabled
KanbanContainerStatus
IsLocked Kanban Container is Locked
_ProductionSupplyItem _ProductionSupplyItem
_ProdnSupEventDrvnCtnCrtn _ProdnSupEventDrvnCtnCrtn
_Product _Product
_Plant _Plant
_SupplySourcePlant _SupplySourcePlant
_ProductionSupplyArea _ProductionSupplyArea
_SourceProductionSupplyArea _SourceProductionSupplyArea
_StorageLocation _StorageLocation
_SourceStorageLocation _SourceStorageLocation
_KanbanContainerStatus _KanbanContainerStatus
_KanbanStatus _KanbanStatus
_KanbanControlCycleCategory _KanbanControlCycleCategory
_ProductionVersion _ProductionVersion
_ResponsiblePerson _ResponsiblePerson
_MRPController _MRPController
_BaseUnit _BaseUnit
_Supplier _Supplier
_KnbnProdnReplnmtStrgy _KnbnProdnReplnmtStrgy
_KnbnExtProcmtReplnmtStrgy _KnbnExtProcmtReplnmtStrgy
_KnbnStkTransfReplnmtStrgy _KnbnStkTransfReplnmtStrgy
_KnbnReplnmtStrgyType _KnbnReplnmtStrgyType
_Warehouse _Warehouse
_KnbnControlCycLifeCycSts _KnbnControlCycLifeCycSts
_PurchasingOrganization _PurchasingOrganization
_WorkCenter _WorkCenter
_CostCenter _CostCenter
_SupplierCompanyByPlant _SupplierCompanyByPlant
_KnbnCtrlCycProdMstrDta _KnbnCtrlCycProdMstrDta

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_ProductionSupplyControlCycle.
-- 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: CPRODSPLYCTRLCYC

CREATE VIEW C_ProductionSupplyControlCycle AS
SELECT
  _KanbanControlCycle.KanbanControlCycle AS KanbanControlCycle,
  _KanbanControlCycle.Plant AS Plant,
  _KanbanControlCycle.ProductionSupplyArea AS ProductionSupplyArea,
  _KanbanControlCycle.Product AS Product,
  _KanbanControlCycle.StorageLocation AS SourceStorageLocation,
  KanbanControlCycleCategory,
  ProductionVersion,
  SupplySourceResponsiblePerson,
  BaseUnit,
  KanbanContainerQuantityInBsUnt,
  NumberOfKanbanContainers,
  MaxNrOfEmptyKanbanContainers,
  InHouseProductionReplnmtStrgy,
  ExtProcurementReplnmtStrgy,
  StockTransferReplnmtStrategy,
  Supplier,
  KanbanCtrlCycleLifeCycleStatus,
  CreationDate,
  ReleaseDate,
  LockDate,
  CostCenter,
  StoringPositionName,
  Warehouse,
  PurchasingOrganization,
  PurchaseOutlineAgreement,
  KanbanCtrlCycReplnmtTriggerGrp,
  NrOfWaitingKnbnCtnsBfrReplnmt,
  PlanningWorkCenter,
  SourceProductionSupplyArea,
  SalesSchedulingAgreement,
  _ProductionSupplyArea.StorageLocation AS StorageLocation,
  _ProductionSupplyArea.ProductionSupplyAreaRespPerson AS ProductionSupplyAreaRespPerson,
  cast('' as pk_container_creation_enabled preserving type) AS EvtDrvnKnbnCtnCrtnIsEnabled,
  cast('' as vdm_pkbst preserving type) AS KanbanContainerStatus,
  cast('' as vdm_spkkz preserving type) AS IsLocked
FROM I_KanbanControlCycle AS _KanbanControlCycle
LEFT OUTER JOIN C_ProductionSupplyItem AS _ProductionSupplyItem ON KanbanControlCycle = _ProductionSupplyItem.KanbanControlCycle  -- association [0..*]
LEFT OUTER JOIN C_ProdnSupEventDrvnCtnCrtn AS _ProdnSupEventDrvnCtnCrtn ON KanbanControlCycle = _ProdnSupEventDrvnCtnCrtn.KanbanControlCycle  -- association [0..1]
LEFT OUTER JOIN I_Material AS _Product ON Product = _Product.Material  -- association [0..1]
LEFT OUTER JOIN I_PlantStdVH AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_PlantStdVH AS _SupplySourcePlant ON SupplySourcePlant = _SupplySourcePlant.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProductionSupplyArea AS _SourceProductionSupplyArea ON Plant = _SourceProductionSupplyArea.Plant AND SourceProductionSupplyArea = _SourceProductionSupplyArea.ProductionSupplyArea  -- association [0..1]
LEFT OUTER JOIN I_StorageLocationStdVH AS _SourceStorageLocation ON Plant = _SourceStorageLocation.Plant AND SourceStorageLocation = _SourceStorageLocation.StorageLocation  -- association [0..1]
LEFT OUTER JOIN I_StorageLocationStdVH AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation  -- association [0..1]
LEFT OUTER JOIN I_KanbanContainerStatus AS _KanbanContainerStatus ON KanbanContainerStatus = _KanbanContainerStatus.KanbanContainerStatus  -- association [1..1]
LEFT OUTER JOIN I_KanbanStatus AS _KanbanStatus ON KanbanContainerStatus = _KanbanStatus.KanbanStatus  -- association [1..1]
LEFT OUTER JOIN I_KnbnReplnmtStrgyType AS _KnbnReplnmtStrgyType ON KanbanReplenishmentStrgyType = _KnbnReplnmtStrgyType.KanbanReplenishmentStrgyType  -- association [0..1]
LEFT OUTER JOIN I_ProductionSupplyMRPCtrlrVH AS _ResponsiblePerson ON Plant = _ResponsiblePerson.Plant AND SupplySourceResponsiblePerson = _ResponsiblePerson.MRPController  -- association [0..1]
LEFT OUTER JOIN I_ProductionSupplyMRPCtrlrVH AS _MRPController ON Plant = _MRPController.Plant AND productionsupplyarearespperson = _MRPController.MRPController  -- association [0..1]
LEFT OUTER JOIN I_KnbnProdnReplnmtStrgyVH AS _KnbnProdnReplnmtStrgy ON InHouseProductionReplnmtStrgy = _KnbnProdnReplnmtStrgy.InHouseProductionReplnmtStrgy AND Plant = _KnbnProdnReplnmtStrgy.Plant  -- association [0..1]
LEFT OUTER JOIN I_KnbnExtProcmtReplnmtStrgyVH AS _KnbnExtProcmtReplnmtStrgy ON ExtProcurementReplnmtStrgy = _KnbnExtProcmtReplnmtStrgy.ExtProcurementReplnmtStrgy AND Plant = _KnbnExtProcmtReplnmtStrgy.Plant  -- association [0..1]
LEFT OUTER JOIN I_KnbnStkTransfReplnmtStrgyVH AS _KnbnStkTransfReplnmtStrgy ON StockTransferReplnmtStrategy = _KnbnStkTransfReplnmtStrgy.StockTransferReplnmtStrategy AND Plant = _KnbnStkTransfReplnmtStrgy.Plant  -- association [0..1]
LEFT OUTER JOIN I_KnbnControlCycLifeCycSts AS _KnbnControlCycLifeCycSts ON KanbanCtrlCycleLifeCycleStatus = _KnbnControlCycLifeCycSts.KanbanCtrlCycleLifeCycleStatus  -- association [1..1]
LEFT OUTER JOIN I_WrkCtrBySemanticKeyStdVH AS _WorkCenter ON PlanningWorkCenter = _WorkCenter.WorkCenter AND Plant = _WorkCenter.Plant  -- association [0..1]
LEFT OUTER JOIN I_KanbanCostCenterByPlantVH AS _CostCenter ON Plant = _CostCenter.Plant AND CostCenter = _CostCenter.CostCenter  -- association [0..1]
LEFT OUTER JOIN I_WarehouseStdVH AS _Warehouse ON Warehouse = _Warehouse.Warehouse  -- association [0..1]
LEFT OUTER JOIN I_KnbnCtrlCycProdMstrDta AS _KnbnCtrlCycProdMstrDta ON KanbanControlCycle = _KnbnCtrlCycProdMstrDta.KanbanControlCycle  -- association [1..1]
LEFT OUTER JOIN E_KanbanControlCycle AS _ControlCycleExtension ON KanbanControlCycle = _ControlCycleExtension.KanbanControlCycle  -- association [0..1]
;