P_Qm_Headerwithoperations
P_Qm_Headerwithoperations is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (I_InspectionLot, I_InspectionOperation, I_Plant, I_WorkCenter) and exposes 20 fields with key field InspectionLot.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_InspectionLot | I_InspectionLot | from |
| I_InspectionOperation | I_InspectionOperation | left_outer |
| I_Plant | I_Plant | left_outer |
| I_WorkCenter | I_WorkCenter | left_outer |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PQMHEADWITHOPERS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionLot | I_InspectionLot | InspectionLot | Inspection Lot |
| Material | I_InspectionLot | Material | Vehicle Model | |
| Batch | I_InspectionLot | Batch | Lot No. | |
| InspectionLotEndDate | I_InspectionLot | InspectionLotEndDate | End Date | |
| Plant | I_InspectionLot | Plant | Valuation Area | |
| PlantName | I_Plant | PlantName | Plant Name | |
| ManufacturingOrder | I_InspectionLot | ManufacturingOrder | Order | |
| InspectionLotText | I_InspectionLot | InspectionLotText | ||
| InspectionLotType | I_InspectionLot | InspectionLotType | Inspection Type | |
| InspectionLotQuantity | I_InspectionLot | InspectionLotQuantity | ||
| InspectionLotQuantityUnit | I_InspectionLot | InspectionLotQuantityUnit | Sample UOM | |
| InspectionLotStartDate | I_InspectionLot | InspectionLotStartDate | Start Date | |
| MaterialName | ||||
| InspSubsetFieldCombination | I_InspectionLot | InspSubsetFieldCombination | Field Combinat. | |
| InspPlanOperationInternalID | I_InspectionOperation | InspPlanOperationInternalID | Node Number | |
| InspectionOperation | I_InspectionOperation | InspectionOperation | Operation | |
| OperationText | I_InspectionOperation | OperationText | Description | |
| WorkCenterInternalID | I_InspectionOperation | WorkCenterInternalID | Work Center | |
| WorkCenterText | ||||
| MatlQualityAuthorizationGroup | I_InspectionLot | MatlQualityAuthorizationGroup | QM Matl Auth. |
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 P_Qm_Headerwithoperations.
-- 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: PQMHEADWITHOPERS
CREATE VIEW P_Qm_Headerwithoperations AS
SELECT
I_InspectionLot.InspectionLot AS InspectionLot,
I_InspectionLot.Material AS Material,
I_InspectionLot.Batch AS Batch,
I_InspectionLot.InspectionLotEndDate AS InspectionLotEndDate,
I_InspectionLot.Plant AS Plant,
I_Plant.PlantName AS PlantName,
I_InspectionLot.ManufacturingOrder AS ManufacturingOrder,
I_InspectionLot.InspectionLotText AS InspectionLotText,
I_InspectionLot.InspectionLotType AS InspectionLotType,
I_InspectionLot.InspectionLotQuantity AS InspectionLotQuantity,
I_InspectionLot.InspectionLotQuantityUnit AS InspectionLotQuantityUnit,
I_InspectionLot.InspectionLotStartDate AS InspectionLotStartDate,
I_InspectionLot._Material._Text[1:Language=$session.system_language].MaterialName AS MaterialName,
I_InspectionLot.InspSubsetFieldCombination AS InspSubsetFieldCombination,
I_InspectionOperation.InspPlanOperationInternalID AS InspPlanOperationInternalID,
I_InspectionOperation.InspectionOperation AS InspectionOperation,
I_InspectionOperation.OperationText AS OperationText,
I_InspectionOperation.WorkCenterInternalID AS WorkCenterInternalID,
I_WorkCenter._Text[1:Language=$session.system_language].WorkCenterText AS WorkCenterText,
I_InspectionLot.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup
FROM I_InspectionLot
LEFT OUTER JOIN I_InspectionOperation ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_WorkCenter ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Plant ON /* join condition not captured in parsed metadata */
;
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