R_QualityLevelTP
Quality Level
R_QualityLevelTP is a Transactional CDS View that provides data about "Quality Level" in SAP S/4HANA. It reads from 1 data source (I_QualityLevel) and exposes 54 fields with key fields Plant, Material, BillOfOperationsType, BillOfOperationsGroup, BillOfOperationsVariant. It has 3 associations to related views. Part of development package VDM_QM_CONTROL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_QualityLevel | I_QualityLevel | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_QualityLevel | _Extension | $projection.Plant = _Extension.Plant and $projection.Material = _Extension.Material and $projection.BillOfOperationsType = _Extension.BillOfOperationsType and $projection.BillOfOperationsGroup = _Extension.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _Extension.BillOfOperationsVariant and $projection.BOOOperationInternalID = _Extension.BOOOperationInternalID and $projection.Sequence = _Extension.Sequence and $projection.QualityLevelInternalID = _Extension.QualityLevelInternalID |
| [1..1] | I_Productplantqtmanagement | _ProductPlantQtManagement | $projection.Material = _ProductPlantQtManagement.Product and $projection.Plant = _ProductPlantQtManagement.Plant |
| [0..*] | I_BOOCharacteristicVersion | _InspectionCharacteristic | $projection.BillOfOperationsType = _InspectionCharacteristic.BillOfOperationsType and $projection.BillOfOperationsGroup = _InspectionCharacteristic.BillOfOperationsGroup and $projection.BOOOperationInternalID = _InspectionCharacteristic.BOOOperationInternalID and $projection.InspectionCharacteristic = _InspectionCharacteristic.BOOCharacteristic with default filter _InspectionCharacteristic.ValidityStartDate <= $session.system_date and _InspectionCharacteristic.ValidityEndDate >= $session.system_date |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Quality Level | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.representativeKey | QualityLevelInternalID | view | |
| ObjectModel.sapObjectNodeType.name | QualityLevel | view |
Fields (54)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Plant | Plant | Valuation Area | |
| KEY | Material | Material | Vehicle Model | |
| KEY | BillOfOperationsType | BillOfOperationsType | Task List Type | |
| KEY | BillOfOperationsGroup | BillOfOperationsGroup | Group | |
| KEY | BillOfOperationsVariant | BillOfOperationsVariant | Group Counter | |
| KEY | BOOOperationInternalID | BOOOperationInternalID | Task list node | |
| KEY | Sequence | Sequence | Visit Sequence | |
| KEY | QualityLevelInternalID | QualityLevelInternalID | Counter | |
| Supplier | Supplier | Supplier | ||
| Manufacturer | Manufacturer | Manufacturer | ||
| Customer | Customer | Sold-to Party | ||
| InspectionLotType | InspectionLotType | Inspection Type | ||
| InspectionOperation | ||||
| InspectionCharacteristic | InspectionCharacteristic | Characteristic | ||
| QualityLevelIsManuallyChanged | ||||
| QltyLvlIndirectlyChangedBy | QltyLvlIndirectlyChangedBy | Changed by | ||
| QltyLvlManuallyChangedBy | QltyLvlManuallyChangedBy | Changed by | ||
| QltyLvlIndirectlyChangedOn | QltyLvlIndirectlyChangedOn | Changed on | ||
| QltyLvlManuallyChangedOn | QltyLvlManuallyChangedOn | Changed on | ||
| InspectionLot | InspectionLot | Inspection Lot | ||
| InspLotUsageDecisionValuation | InspLotUsageDecisionValuation | UD for Lot | ||
| InspLotUsgeDcsnDynValuation | InspLotUsgeDcsnDynValuation | Dyn. Valuation | ||
| SamplingProcedure | SamplingProcedure | Smpl.procedure | ||
| InspLotDynamicRule | InspLotDynamicRule | |||
| QltyLevelNextDynRuleStage | QltyLevelNextDynRuleStage | Next Stage | ||
| InspLotsWithoutUsageDecision | InspLotsWithoutUsageDecision | Lots w/o UD | ||
| InspLotsSinceStageChg | InspLotsSinceStageChg | Insp. s.change | ||
| RjctdInspLotsSinceStgeChg | RjctdInspLotsSinceStgeChg | Not-OK Insp. | ||
| InspResultDynModifValuation | InspResultDynModifValuation | Dyn. Valuation | ||
| InspectionValuationResult | InspectionValuationResult | Valuation | ||
| QualityLevelLastOpenInspLot | QualityLevelLastOpenInspLot | Inspection lot | ||
| QualityLevelLastInspectionOn | QualityLevelLastInspectionOn | Inspection Date | ||
| QltyLevelCanceledInspections | QltyLevelCanceledInspections | Canceled Insp. | ||
| QualityLevelDeletionOn | QualityLevelDeletionOn | Deletion Date | ||
| QualityLevelResetOn | QualityLevelResetOn | Reset Date | ||
| ChangedDateTime | ChangedDateTime | Time Stamp | ||
| _Plant | _Plant | |||
| _Material | _Material | |||
| _BillOfOperationsType | _BillOfOperationsType | |||
| _BillOfOperationsGroup | _BillOfOperationsGroup | |||
| _BillOfOperations | _BillOfOperations | |||
| _BOOOperationInternalID | _BOOOperationInternalID | |||
| _BillOfOperationsSequence | _BillOfOperationsSequence | |||
| _BillOfOperationsOperation | _BillOfOperationsOperation | |||
| _Supplier | _Supplier | |||
| _Customer | _Customer | |||
| _BOOCharacteristic | _BOOCharacteristic | |||
| _NextInspLotDynRuleStage | _NextInspLotDynRuleStage | |||
| _InspLotDynamicRule | _InspLotDynamicRule | |||
| _InspectionLot | _InspectionLot | |||
| _Manufacturer | _Manufacturer | |||
| _QualityLevelLastOpenInspLot | _QualityLevelLastOpenInspLot | |||
| _ProductPlantQtManagement | _ProductPlantQtManagement | |||
| _InspectionCharacteristic | _InspectionCharacteristic |
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 R_QualityLevelTP.
-- 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 R_QualityLevelTP AS
SELECT
Plant,
Material,
BillOfOperationsType,
BillOfOperationsGroup,
BillOfOperationsVariant,
BOOOperationInternalID,
Sequence,
QualityLevelInternalID,
Supplier,
Manufacturer,
Customer,
InspectionLotType,
cast(InspectionOperation as qvornr_rap preserving type ) AS InspectionOperation,
InspectionCharacteristic,
'' AS QualityLevelIsManuallyChanged,
QltyLvlIndirectlyChangedBy,
QltyLvlManuallyChangedBy,
QltyLvlIndirectlyChangedOn,
QltyLvlManuallyChangedOn,
InspectionLot,
InspLotUsageDecisionValuation,
InspLotUsgeDcsnDynValuation,
SamplingProcedure,
InspLotDynamicRule,
QltyLevelNextDynRuleStage,
InspLotsWithoutUsageDecision,
InspLotsSinceStageChg,
RjctdInspLotsSinceStgeChg,
InspResultDynModifValuation,
InspectionValuationResult,
QualityLevelLastOpenInspLot,
QualityLevelLastInspectionOn,
QltyLevelCanceledInspections,
QualityLevelDeletionOn,
QualityLevelResetOn,
ChangedDateTime
FROM I_QualityLevel
LEFT OUTER JOIN E_QualityLevel AS _Extension ON Plant = _Extension.Plant AND Material = _Extension.Material AND BillOfOperationsType = _Extension.BillOfOperationsType AND BillOfOperationsGroup = _Extension.BillOfOperationsGroup AND BillOfOperationsVariant = _Extension.BillOfOperationsVariant AND BOOOperationInternalID = _Extension.BOOOperationInternalID AND Sequence = _Extension.Sequence AND QualityLevelInternalID = _Extension.QualityLevelInternalID -- association [1..1]
LEFT OUTER JOIN I_Productplantqtmanagement AS _ProductPlantQtManagement ON Material = _ProductPlantQtManagement.Product AND Plant = _ProductPlantQtManagement.Plant -- association [1..1]
LEFT OUTER JOIN I_BOOCharacteristicVersion AS _InspectionCharacteristic ON BillOfOperationsType = _InspectionCharacteristic.BillOfOperationsType AND BillOfOperationsGroup = _InspectionCharacteristic.BillOfOperationsGroup AND BOOOperationInternalID = _InspectionCharacteristic.BOOOperationInternalID AND InspectionCharacteristic = _InspectionCharacteristic.BOOCharacteristic with default filter _InspectionCharacteristic.ValidityStartDate <= $session.system_date AND _InspectionCharacteristic.ValidityEndDate >= $session.system_date -- association [0..*]
;
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