Deprecated PUBLIC_LOCAL_API
This CDS view is deprecated in S/4HANA. Use I_KanbanCtnEventDrivenErrorLog instead. View all deprecated CDS views →

I_KanbanContainerError

DDL: I_KANBANCONTAINERERROR SQL: IPPKANBANCCCERR Type: view BASIC

Errors for Kanban Control Cycle Item

I_KanbanContainerError (Basic)

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

Manufacturing

I_KanbanContainerError is a Basic CDS View that provides data about "Errors for Kanban Control Cycle Item" in SAP S/4HANA. It reads from 1 data source (pkek) and exposes 17 fields with key field KanbanContainer. It has 3 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, Data Source for Search
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides access to kanban container errors that occurred during kanban processing.</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
pkek pkek from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_KanbanContainer _KanbanContainer $projection.KanbanContainer = _KanbanContainer.KanbanContainer
[0..1] I_Supplier _Supplier $projection.supplier = _Supplier.Supplier
[0..1] I_SupplierCompanyByPlant _SupplierCompanyByPlant $projection.supplier = _SupplierCompanyByPlant.Supplier and $projection.plant = _SupplierCompanyByPlant.Plant

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IPPKANBANCCCERR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Errors for Kanban Control Cycle Item view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_KanbanCtnEventDrivenErrorLog view
Search.searchable true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY KanbanContainer pkkey Kanban Identification Number
Plant Plant
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 ...
_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_KanbanContainerError.
-- 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: IPPKANBANCCCERR

CREATE VIEW I_KanbanContainerError AS
SELECT
  pkkey AS KanbanContainer,
  _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 pkek
LEFT OUTER JOIN I_KanbanContainer AS _KanbanContainer ON KanbanContainer = _KanbanContainer.KanbanContainer  -- 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]
;