P_KanbanControlCycleCalcUse

DDL: P_KANBANCONTROLCYCLECALCUSE SQL: PKABCCCALC Type: view BASIC Package: VDM_PP_KAB

Kanban Calculation Usage

P_KanbanControlCycleCalcUse is a Basic CDS View that provides data about "Kanban Calculation Usage" in SAP S/4HANA. It reads from 1 data source (pkhd) and exposes 4 fields with key field KanbanControlCycle. It has 1 association to related views. Part of development package VDM_PP_KAB.

Data Sources (1)

SourceAliasJoin Type
pkhd pkhd from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_KanbanCalculationProfile _CalculationProfile $projection.KanbanContainerCalcProfile = _CalculationProfile.KanbanContainerCalcProfile and $projection.Plant = _CalculationProfile.Plant

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PKABCCCALC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Kanban Calculation Usage view
VDM.viewType #BASIC view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY KanbanControlCycle pknum Control Cycle
kcartendasKanbanContainerCalculationType
Plant werks Receiving Plant
KanbanContainerCalcProfile kcprf Profile

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 P_KanbanControlCycleCalcUse.
-- 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: PKABCCCALC

CREATE VIEW P_KanbanControlCycleCalcUse AS
SELECT
  pknum AS KanbanControlCycle,
  case pkhd.kcart when ' ' then _CalculationProfile.KanbanContainerCalculationType else pkhd.kcart end as KanbanContainerCalculationType AS kcartendasKanbanContainerCalculationType,
  werks AS Plant,
  kcprf AS KanbanContainerCalcProfile
FROM pkhd
LEFT OUTER JOIN I_KanbanCalculationProfile AS _CalculationProfile ON KanbanContainerCalcProfile = _CalculationProfile.KanbanContainerCalcProfile AND Plant = _CalculationProfile.Plant  -- association [0..1]
;