C_QltyCtrlChtCalc

DDL: C_QLTYCTRLCHTCALC Type: view CONSUMPTION

Calc view for Quality Control Chart

C_QltyCtrlChtCalc is a Consumption CDS View that provides data about "Calc view for Quality Control Chart" in SAP S/4HANA. It reads from 1 data source (I_QualityControlChart) and exposes 10 fields with key field QualityControlChart. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_QualityControlChart I_QualityControlChart from

Associations (3)

CardinalityTargetAliasCondition
[1..1] C_QltyCtrlDvtnAggrgn _ExceededLimits $projection.QualityControlChart = _ExceededLimits.QualityControlChart
[1..1] C_QltyCtrlLastInspLot _QltyCtrlChtLastInspLot $projection.QualityControlChart = _QltyCtrlChtLastInspLot.QualityControlChart
[1..1] I_QltyCtrlChtDvtnSts _QltyCtrlChtDvtnSts $projection.QltyCtrlChtDvtnSts = _QltyCtrlChtDvtnSts.QltyCtrlChtDvtnSts

Annotations (10)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName CQLTYCHTCALC view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Calc view for Quality Control Chart view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY QualityControlChart I_QualityControlChart QualityControlChart Control Chart
ActionLimitDeviations _ExceededLimits ActionLimitDeviations
QualityControlChartTracks _QltyCtrlChtLastInspLot QualityControlChartTracks
LastCtrlChtInspectionLot _QltyCtrlChtLastInspLot InspectionLot Inspection Lot
LastCtrlChtInspPlanOplIntID _QltyCtrlChtLastInspLot InspPlanOperationInternalID
LastCtrlChtInspCharacteristic _QltyCtrlChtLastInspLot InspectionCharacteristic Characteristic
LastCtrlChtInspSbstIntID _QltyCtrlChtLastInspLot InspectionSubsetInternalID
IsBusinessPurposeCompleted
AuthorizationGroup
_QltyCtrlChtDvtnSts _QltyCtrlChtDvtnSts

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 C_QltyCtrlChtCalc.
-- 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.

CREATE VIEW C_QltyCtrlChtCalc AS
SELECT
  I_QualityControlChart.QualityControlChart AS QualityControlChart,
  _ExceededLimits.ActionLimitDeviations AS ActionLimitDeviations,
  _QltyCtrlChtLastInspLot.QualityControlChartTracks AS QualityControlChartTracks,
  _QltyCtrlChtLastInspLot.InspectionLot AS LastCtrlChtInspectionLot,
  _QltyCtrlChtLastInspLot.InspPlanOperationInternalID AS LastCtrlChtInspPlanOplIntID,
  _QltyCtrlChtLastInspLot.InspectionCharacteristic AS LastCtrlChtInspCharacteristic,
  _QltyCtrlChtLastInspLot.InspectionSubsetInternalID AS LastCtrlChtInspSbstIntID,
  I_QualityControlChart._Supplier.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  I_QualityControlChart._Supplier.AuthorizationGroup AS AuthorizationGroup
FROM I_QualityControlChart
LEFT OUTER JOIN C_QltyCtrlDvtnAggrgn AS _ExceededLimits ON QualityControlChart = _ExceededLimits.QualityControlChart  -- association [1..1]
LEFT OUTER JOIN C_QltyCtrlLastInspLot AS _QltyCtrlChtLastInspLot ON QualityControlChart = _QltyCtrlChtLastInspLot.QualityControlChart  -- association [1..1]
LEFT OUTER JOIN I_QltyCtrlChtDvtnSts AS _QltyCtrlChtDvtnSts ON QltyCtrlChtDvtnSts = _QltyCtrlChtDvtnSts.QltyCtrlChtDvtnSts  -- association [1..1]
;