I_KanbanCalculationErrorLog

DDL: I_KANBANCALCULATIONERRORLOG SQL: IKNBNCALCERRLOG Type: view BASIC

Kanban Calculation Error Log

I_KanbanCalculationErrorLog (Basic)

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

Manufacturing

I_KanbanCalculationErrorLog is a Basic CDS View that provides data about "Kanban Calculation Error Log" in SAP S/4HANA. It reads from 1 data source (pkec) and exposes 14 fields with key field KanbanControlCycle. It has 3 associations to related views.

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-KAB-VDM
CapabilitiesData Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides access to errors that have occurred during Kanban calculation.</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
pkec pkec from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_KanbanControlCycle _KanbanControlCycle $projection.KanbanControlCycle = _KanbanControlCycle.KanbanControlCycle
[0..1] I_Supplier _Supplier $projection.supplier = _Supplier.Supplier
[0..1] I_SupplierCompanyByPlant _SupplierCompanyByPlant $projection.supplier = _SupplierCompanyByPlant.Supplier and $projection.plant = _SupplierCompanyByPlant.Plant

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IKNBNCALCERRLOG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Kanban Calculation Error Log view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey KanbanControlCycle view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY KanbanControlCycle pknum Control Cycle
KnbnCalcChgPrpslCreationDate kcedt Creation date of the change proposal
SystemMessageClass msgid Application Area
SystemMessageType msgty Msg.Type (E,I,W..)
SystemMessageNumber msgnr Message number
SystemMessageVariable1 Message variable 1
SystemMessageVariable2 Message variable 2
SystemMessageVariable3 Message variable 3
SystemMessageVariable4 Message variable 4
_KanbanControlCycle _KanbanControlCycle
Plant _KanbanControlCycle Plant Valuation Area
Supplier _KanbanControlCycle Supplier Supplier's Account Number
_Supplier _Supplier
_SupplierCompanyByPlant _SupplierCompanyByPlant

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_KanbanCalculationErrorLog.
-- 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: IKNBNCALCERRLOG

CREATE VIEW I_KanbanCalculationErrorLog AS
SELECT
  pknum AS KanbanControlCycle,
  kcedt AS KnbnCalcChgPrpslCreationDate,
  msgid AS SystemMessageClass,
  msgty AS SystemMessageType,
  msgnr AS SystemMessageNumber,
  cast(msgv1 as vdm_pk_msg_var_1 preserving type) AS SystemMessageVariable1,
  cast(msgv2 as vdm_pk_msg_var_2 preserving type) AS SystemMessageVariable2,
  cast(msgv3 as vdm_pk_msg_var_3 preserving type) AS SystemMessageVariable3,
  cast(msgv4 as vdm_pk_msg_var_4 preserving type) AS SystemMessageVariable4,
  _KanbanControlCycle.Plant AS Plant,
  _KanbanControlCycle.Supplier AS Supplier
FROM pkec
LEFT OUTER JOIN I_KanbanControlCycle AS _KanbanControlCycle ON KanbanControlCycle = _KanbanControlCycle.KanbanControlCycle  -- association [1..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]
;