C_QltyCtrlCalcFld
Quality Control Calculated Fields
C_QltyCtrlCalcFld is a Consumption CDS View that provides data about "Quality Control Calculated Fields" in SAP S/4HANA. It reads from 1 data source (C_QualityControlDeviations) and exposes 39 fields with key field QualityControlChart. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| C_QualityControlDeviations | _QualityControlDeviations | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_CurrentDate | dats |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_QltyCtrlChtDvtnStsTxt | _QltyCtrlChtDvtnStsTxt | $projection.QltyCtrlChtDvtnSts = _QltyCtrlChtDvtnStsTxt.QltyCtrlChtDvtnSts and _QltyCtrlChtDvtnStsTxt.Language = $session.system_language |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | CQLTYCTRLCALCFLD | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Quality Control Calculated Fields | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (39)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | QualityControlChart | QualityControlChart | ||
| InspectionValuationResult | InspectionValuationResult | |||
| InspSubsetResultValuation | InspSubsetResultValuation | |||
| CalculationDate | ||||
| MatlQualityAuthorizationGroup | _InspectionLot | MatlQualityAuthorizationGroup | QM Matl Auth. | |
| PurchasingOrganization | _InspectionLot | PurchasingOrganization | Purchasing Organization | |
| ManufacturerPartNmbr | _InspectionLot | ManufacturerPartNmbr | Mfr Part Number | |
| SoldToParty | _InspectionLot | SoldToParty | Sold-to Party | |
| SalesOrganization | _InspectionLot | SalesOrganization | Sales Organization | |
| InspectionLotHasQuantity | _InspectionLot | InspectionLotHasQuantity | ||
| BatchStorageLocation | _InspectionLot | BatchStorageLocation | ||
| InspectionLotStorageLocation | _InspectionLot | InspectionLotStorageLocation | ||
| _QltyCtrlChtDvtnStsTxt | _QltyCtrlChtDvtnStsTxt | |||
| Material | Material | Vehicle Model | ||
| Plant | Plant | Valuation Area | ||
| WorkCenter | WorkCenter | Work Center | ||
| QltyCtrlChartAggrgnCriterion | QltyCtrlChartAggrgnCriterion | |||
| QualityControlChartStatus | QualityControlChartStatus | |||
| QualityControlChartType | QualityControlChartType | |||
| QltyCtrlChtDvtnSts | QltyCtrlChtDvtnSts | |||
| InspectionSpecification | InspectionSpecification | Master IC | ||
| BillOfOperationsType | BillOfOperationsType | Task List Type | ||
| BillOfOperationsGroup | BillOfOperationsGroup | Group | ||
| BillOfOperationsVariant | BillOfOperationsVariant | Group Counter | ||
| NmbrOfRsltsRecordedCat | NmbrOfRsltsRecordedCat | |||
| InspectionEndDate | InspectionEndDate | |||
| InspectionLotOrigin | InspectionLotOrigin | |||
| InspectionLotType | InspectionLotType | Inspection Type | ||
| InspectionLot | InspectionLot | Inspection Lot | ||
| InspLotSelectionSupplier | InspLotSelectionSupplier | Supplier | ||
| Manufacturer | Manufacturer | Manufacturer | ||
| QltyCtrlChartCreationDate | QltyCtrlChartCreationDate | |||
| Customer | Customer | Sold-to Party | ||
| InspPlanOperationInternalID | InspPlanOperationInternalID | |||
| InspectionCharacteristic | InspectionCharacteristic | |||
| InspectionSubsetInternalID | InspectionSubsetInternalID | |||
| Supplier | Supplier | Supplier | ||
| IsBusinessPurposeCompleted | IsBusinessPurposeCompleted | Purpose Completed | ||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup |
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_QltyCtrlCalcFld.
-- 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.
-- Parameters: P_CurrentDate : dats
CREATE VIEW C_QltyCtrlCalcFld AS
SELECT
QualityControlChart,
InspectionValuationResult,
InspSubsetResultValuation,
dats_add_days($parameters.P_CurrentDate , -7, 'UNCHANGED') AS CalculationDate,
_InspectionLot.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup,
_InspectionLot.PurchasingOrganization AS PurchasingOrganization,
_InspectionLot.ManufacturerPartNmbr AS ManufacturerPartNmbr,
_InspectionLot.SoldToParty AS SoldToParty,
_InspectionLot.SalesOrganization AS SalesOrganization,
_InspectionLot.InspectionLotHasQuantity AS InspectionLotHasQuantity,
_InspectionLot.BatchStorageLocation AS BatchStorageLocation,
_InspectionLot.InspectionLotStorageLocation AS InspectionLotStorageLocation,
Material,
Plant,
WorkCenter,
QltyCtrlChartAggrgnCriterion,
QualityControlChartStatus,
QualityControlChartType,
QltyCtrlChtDvtnSts,
InspectionSpecification,
BillOfOperationsType,
BillOfOperationsGroup,
BillOfOperationsVariant,
NmbrOfRsltsRecordedCat,
InspectionEndDate,
InspectionLotOrigin,
InspectionLotType,
InspectionLot,
InspLotSelectionSupplier,
Manufacturer,
QltyCtrlChartCreationDate,
Customer,
InspPlanOperationInternalID,
InspectionCharacteristic,
InspectionSubsetInternalID,
Supplier,
IsBusinessPurposeCompleted,
AuthorizationGroup
FROM C_QualityControlDeviations AS _QualityControlDeviations
LEFT OUTER JOIN I_QltyCtrlChtDvtnStsTxt AS _QltyCtrlChtDvtnStsTxt ON QltyCtrlChtDvtnSts = _QltyCtrlChtDvtnStsTxt.QltyCtrlChtDvtnSts AND _QltyCtrlChtDvtnStsTxt.Language = $session.system_language -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA