I_KanbanCtnClassicalErrorLog

DDL: I_KANBANCTNCLASSICALERRORLOG SQL: IPPKNBNCNTCLERR Type: view BASIC Package: VDM_PP_KAB

Kanban Container Classical Error Log

I_KanbanCtnClassicalErrorLog (Basic)

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

KanbanCtnClassicalErrorLog · Manufacturing

I_KanbanCtnClassicalErrorLog is a Basic CDS View that provides data about "Kanban Container Classical Error Log" in SAP S/4HANA. It reads from 1 data source (pker) and exposes 21 fields with key fields KanbanControlCycle, KanbanControlCycleItem, KanbanContainer. It has 5 associations to related views. Part of development package VDM_PP_KAB.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessManufacturing
Application ComponentPP-KAB-VDM-2CL
CapabilitiesData Source for Data Extraction,Data Source for Defining CDS Entities,Data Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Search
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageManufacturing for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides access to the error log of classical kanban containers.</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
pker pker from

Associations (5)

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

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IPPKNBNCNTCLERR view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Kanban Container Classical Error Log view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name KanbanCtnClassicalErrorLog view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
Analytics.dataExtraction.enabled true view
Search.searchable true view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY KanbanControlCycle pknum Control Cycle
KEY KanbanControlCycleItem pkpos Kanban Control Cycle Item
KEY KanbanContainer _KanbanContainer KanbanContainer Kanban Container
Plant _KanbanControlCycle Plant Valuation Area
SystemMessageClass msgid Application Area
SystemMessageNumber msgnr Message number
SystemMessageType msgty Msg.Type (E,I,W..)
SystemMessageVariable1 Message variable 1
SystemMessageVariable2 Message variable 2
SystemMessageVariable3 Message variable 3
SystemMessageVariable4 Message variable 4
ErrorOccurrenceDate saedt Date of Last Change
ErrorOccurrenceTime saeuz Time of the Last Status Change
PreviousKanbanContainerStatus sfgsv Status should be set / was set from status
TargetKanbanContainerStatus sfgsn Status should be set / was set to status ...
_KanbanControlCycle _KanbanControlCycle
_KanbanControlCycleItem _KanbanControlCycleItem
_KanbanContainer _KanbanContainer
Supplier _KanbanContainer 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_KanbanCtnClassicalErrorLog.
-- 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: IPPKNBNCNTCLERR

CREATE VIEW I_KanbanCtnClassicalErrorLog AS
SELECT
  pknum AS KanbanControlCycle,
  pkpos AS KanbanControlCycleItem,
  _KanbanContainer.KanbanContainer AS KanbanContainer,
  _KanbanControlCycle.Plant AS Plant,
  msgid AS SystemMessageClass,
  msgnr AS SystemMessageNumber,
  msgty AS SystemMessageType,
  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,
  saedt AS ErrorOccurrenceDate,
  saeuz AS ErrorOccurrenceTime,
  sfgsv AS PreviousKanbanContainerStatus,
  sfgsn AS TargetKanbanContainerStatus,
  _KanbanContainer.Supplier AS Supplier
FROM pker
LEFT OUTER JOIN I_KanbanControlCycle AS _KanbanControlCycle ON KanbanControlCycle = _KanbanControlCycle.KanbanControlCycle  -- association [1..1]
LEFT OUTER JOIN I_KanbanControlCycleItem AS _KanbanControlCycleItem ON KanbanControlCycle = _KanbanControlCycleItem.KanbanControlCycle AND KanbanControlCycleItem = _KanbanControlCycleItem.KanbanControlCycleItem  -- association [1..1]
LEFT OUTER JOIN I_KanbanContainer AS _KanbanContainer ON KanbanControlCycle = _KanbanContainer.KanbanControlCycle AND KanbanControlCycleItem = _KanbanContainer.KanbanControlCycleItem  -- 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]
;