I_KanbanCalculationProfile

DDL: I_KANBANCALCULATIONPROFILE SQL: IKNBCALCPRFL Type: view BASIC

Kanban Calculation Profile

I_KanbanCalculationProfile (Basic)

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

Kanban Container Calculation Profile · Manufacturing

I_KanbanCalculationProfile is a Basic CDS View that provides data about "Kanban Calculation Profile" in SAP S/4HANA. It reads from 1 data source (tpkbp) and exposes 24 fields with key fields Plant, KanbanContainerCalcProfile. It has 2 associations to related views.

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
Description <p>This CDS view provides access to Kanban calculation profiles.</p> <p>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.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
tpkbp tpkbp from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_KanbanCalcProfileText _Text $projection.KanbanContainerCalcProfile = _Text.KanbanContainerCalcProfile and $projection.Plant = _Text.Plant
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IKNBCALCPRFL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Kanban Calculation Profile view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 2 view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey KanbanContainerCalcProfile view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.sapObjectNodeType.name KanbanContainerCalcProfile view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY Plant werks Receiving Plant
KEY KanbanContainerCalcProfile kcprf Kanban Calculation Profile
KanbanContainerCalculationType kcart Ind.: Whether and How a Kanban Control Cycle is Calculated
KanbanCtnCalcSafetyFactor kcsaf Safety Factor for Kanban Calculation
KanbanCtnCalculationConstant kccon Constant for Kanban Calculation
KanbanCalcRqmtsSmoothingType kcgla Smoothing Type for Requirements for Kanban Calculation
QuantityDistributionKey verti MRP Distribution Key
SupplySourceShiftGrouping schgrup Grouping for Shift Definitions and Shift Sequences
SupplySourceShiftSequence sprog Key for the Shift Sequence
SupplySourceFactoryCalendar fabkl Factory calendar key
ReplnmtLeadTimeInWorkdays kwbzd Replenishment Lead Time in Workdays
ReplnmtLeadTimeInHoursAndMins Replenishment Lead Time in Hours and Minutes
ConsumerShiftGrouping schgrupv Grouping for Shift Definition and Sequences (Consumer)
ConsumerShiftSequence sprogv Key for Shift Sequence (Consumer)
ConsumerFactoryCalendar fabklv Key for Factory Calendar (Consumer)
PullIntervalInWorkdays Pull Interval in Workdays
PullIntervalInHoursAndMinutes Pull Interval in Hours and Minutes
KnbnCtnCalcRqmtBufferInPercent kdmbuf Requirement Buffer in Percent
KnbnCtnCalcSupplySrceBufInPct kspbuf Supply Source Buffer in Percent
RqmtFluctuationsAreConsdrd kdmvol Take Requirement Fluctuations into Account
MRPPlanningCalendar mrppp Planning Calendar
NonWorkingDaysAreConsdrd abftb Consider Nonworking Days
_Plant _Plant
_Text _Text

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_KanbanCalculationProfile.
-- 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: IKNBCALCPRFL

CREATE VIEW I_KanbanCalculationProfile AS
SELECT
  werks AS Plant,
  kcprf AS KanbanContainerCalcProfile,
  kcart AS KanbanContainerCalculationType,
  kcsaf AS KanbanCtnCalcSafetyFactor,
  kccon AS KanbanCtnCalculationConstant,
  kcgla AS KanbanCalcRqmtsSmoothingType,
  verti AS QuantityDistributionKey,
  schgrup AS SupplySourceShiftGrouping,
  sprog AS SupplySourceShiftSequence,
  fabkl AS SupplySourceFactoryCalendar,
  kwbzd AS ReplnmtLeadTimeInWorkdays,
  cast(tpkbp.kwbzm as vdm_kwbzm preserving type) AS ReplnmtLeadTimeInHoursAndMins,
  schgrupv AS ConsumerShiftGrouping,
  sprogv AS ConsumerShiftSequence,
  fabklv AS ConsumerFactoryCalendar,
  cast(tpkbp.pintvd as vdm_pintvd preserving type) AS PullIntervalInWorkdays,
  cast(tpkbp.pintvm as vdm_pintvm preserving type) AS PullIntervalInHoursAndMinutes,
  kdmbuf AS KnbnCtnCalcRqmtBufferInPercent,
  kspbuf AS KnbnCtnCalcSupplySrceBufInPct,
  kdmvol AS RqmtFluctuationsAreConsdrd,
  mrppp AS MRPPlanningCalendar,
  abftb AS NonWorkingDaysAreConsdrd
FROM tpkbp
LEFT OUTER JOIN I_KanbanCalcProfileText AS _Text ON KanbanContainerCalcProfile = _Text.KanbanContainerCalcProfile AND Plant = _Text.Plant  -- association [0..*]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
;