I_KanbanOutput

DDL: I_KANBANOUTPUT SQL: IKANBANOUTPUT Type: view COMPOSITE

Kanban Card

I_KanbanOutput (Composite)

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

Manufacturing

I_KanbanOutput is a Composite CDS View that provides data about "Kanban Card" in SAP S/4HANA. It reads from 3 data sources (I_KanbanContainer, I_KanbanControlCycle, I_Language) and exposes 24 fields with key fields Kanban, Language. It has 9 associations to related views.

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-KAB
CapabilitiesOutput: Form Data Provider
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides access to information contained in the kanban card for a kanban container.</p>

Documentation

Data Sources (3)

SourceAliasJoin Type
I_KanbanContainer KanbanContainer from
I_KanbanControlCycle KanbanControlCycle inner
I_Language Language cross

Associations (9)

CardinalityTargetAliasCondition
[0..1] I_ProductText _ProductText _ProductText.Language = Language.Language and _ProductText.Product = KanbanControlCycle.Product
[0..1] I_ProductionSupplyAreaText _ProductionSupplyAreaText _ProductionSupplyAreaText.Language = Language.Language and _ProductionSupplyAreaText.Plant = KanbanContainer.Plant and _ProductionSupplyAreaText.ProductionSupplyArea = KanbanControlCycle.ProductionSupplyArea
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_SupplierCompanyByPlant _SupplierCompanyByPlant $projection.Supplier = _SupplierCompanyByPlant.Supplier and $projection.Plant = _SupplierCompanyByPlant.Plant
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.BaseUnit = _UnitOfMeasure.UnitOfMeasure
[1..1] I_KanbanContainer _KanbanContainer _KanbanContainer.KanbanContainer = KanbanContainer.KanbanContainer
[1..1] I_KnbnCtrlCycProdMstrDta _KnbnCtrlCycProdMstrDta $projection.KanbanControlCycle = _KnbnCtrlCycProdMstrDta.KanbanControlCycle
[0..1] E_KanbanControlCycle _ControlCycleExtension $projection.KanbanControlCycle = _ControlCycleExtension.KanbanControlCycle
[0..1] E_KanbanContainer _ContainerExtension $projection.Kanban = _ContainerExtension.KanbanContainer

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IKANBANOUTPUT view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Kanban Card view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.modelingPattern #OUTPUT_FORM_DATA_PROVIDER view
VDM.viewType #COMPOSITE view
OData.entitySet.name QueryNodeSet view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY Kanban I_KanbanContainer KanbanContainer Kanban Container
KEY Language I_Language Language Report Text Language
KanbanControlCycle I_KanbanContainer KanbanControlCycle Kanban Control Cycle
KanbanControlCycleItem I_KanbanContainer KanbanControlCycleItem Kanban Control Cycle Item
Plant I_KanbanControlCycle Plant Valuation Area
KanbanQuantity I_KanbanControlCycle KanbanContainerQuantityInBsUnt Kanban Container Quantity
BaseUnit I_KanbanControlCycle BaseUnit Base Unit of Measure
ProductionSupplyArea I_KanbanControlCycle ProductionSupplyArea Production Supply Area
ProductionSupplyAreaName _ProductionSupplyAreaText ProductionSupplyAreaName Production Supply Area Name
Material I_KanbanControlCycle Product Product Number
MaterialName _ProductText ProductName Product Description
SetKanbanStatusWaitingBarCode Barcode for Waiting Kanban Container
SetKanbanStatusEmptyBarCode Barcode for Emtpy Kanban Container
SetKanbanStatusProcessBarCode Barcode for Kanban Container in Process
SetKanbanStatusTransitBarCode Barcode for Kanban Container in Transit
SetKanbanStatusFullBarCode Barcode for Full Kanban Container
SetKanbanStatusInUseBarCode Barcode for Kanban Container in Use
Supplier I_KanbanContainer Supplier Supplier's Account Number
_Supplier _Supplier
_SupplierCompanyByPlant _SupplierCompanyByPlant
_UnitOfMeasure _UnitOfMeasure
_KanbanControlCycle I_KanbanContainer _KanbanControlCycle
_KanbanContainer _KanbanContainer
_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 I_KanbanOutput.
-- 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: IKANBANOUTPUT

CREATE VIEW I_KanbanOutput AS
SELECT
  KanbanContainer.KanbanContainer AS Kanban,
  Language.Language AS Language,
  KanbanContainer.KanbanControlCycle AS KanbanControlCycle,
  KanbanContainer.KanbanControlCycleItem AS KanbanControlCycleItem,
  KanbanControlCycle.Plant AS Plant,
  KanbanControlCycle.KanbanContainerQuantityInBsUnt AS KanbanQuantity,
  KanbanControlCycle.BaseUnit AS BaseUnit,
  KanbanControlCycle.ProductionSupplyArea AS ProductionSupplyArea,
  _ProductionSupplyAreaText.ProductionSupplyAreaName AS ProductionSupplyAreaName,
  KanbanControlCycle.Product AS Material,
  _ProductText.ProductName AS MaterialName,
  cast(concat(KanbanContainer.KanbanContainer, '1') as pk_barcode_waiting) AS SetKanbanStatusWaitingBarCode,
  cast(concat(KanbanContainer.KanbanContainer, '2') as pk_barcode_empty) AS SetKanbanStatusEmptyBarCode,
  cast(concat(KanbanContainer.KanbanContainer, '3') as pk_barcode_in_process) AS SetKanbanStatusProcessBarCode,
  cast(concat(KanbanContainer.KanbanContainer, '4') as pk_barcode_in_transit) AS SetKanbanStatusTransitBarCode,
  cast(concat(KanbanContainer.KanbanContainer, '5') as pk_barcode_full) AS SetKanbanStatusFullBarCode,
  cast(concat(KanbanContainer.KanbanContainer, '6') as pk_barcode_in_use) AS SetKanbanStatusInUseBarCode,
  KanbanContainer.Supplier AS Supplier,
  KanbanContainer._KanbanControlCycle AS _KanbanControlCycle
FROM I_KanbanContainer AS KanbanContainer
CROSS JOIN I_Language AS Language
INNER JOIN I_KanbanControlCycle AS KanbanControlCycle ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ProductText AS _ProductText ON _ProductText.Language = Language.Language AND _ProductText.Product = KanbanControlCycle.Product  -- association [0..1]
LEFT OUTER JOIN I_ProductionSupplyAreaText AS _ProductionSupplyAreaText ON _ProductionSupplyAreaText.Language = Language.Language AND _ProductionSupplyAreaText.Plant = KanbanContainer.Plant AND _ProductionSupplyAreaText.ProductionSupplyArea = KanbanControlCycle.ProductionSupplyArea  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_SupplierCompanyByPlant AS _SupplierCompanyByPlant ON Supplier = _SupplierCompanyByPlant.Supplier AND Plant = _SupplierCompanyByPlant.Plant  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON BaseUnit = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_KanbanContainer AS _KanbanContainer ON _KanbanContainer.KanbanContainer = KanbanContainer.KanbanContainer  -- association [1..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]
LEFT OUTER JOIN E_KanbanContainer AS _ContainerExtension ON Kanban = _ContainerExtension.KanbanContainer  -- association [0..1]
;