C_InspLotUsageDecisionOVP
Inspection Lot Usage Decision OVP
C_InspLotUsageDecisionOVP is a Consumption CDS View that provides data about "Inspection Lot Usage Decision OVP" in SAP S/4HANA. It reads from 1 data source (P_InspLotResultRecording) and exposes 24 fields with key fields InspectionLot, InspLotEndDateGrp. Part of development package ODATA_QM_INSPECTION_ANALYTICS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_InspLotResultRecording | P_InspLotResultRecording | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Inspection Lot Usage Decision OVP | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionLot | P_InspLotResultRecording | InspectionLot | Inspection Lot |
| KEY | InspLotEndDateGrp | P_InspLotResultRecording | InspLotEndDateGrp | |
| InspLotEndDateGrpText | ||||
| _InspLotEndDateGrp | P_InspLotResultRecording | _InspLotEndDateGrp | ||
| InspectionLotCount | Number of Inspection Lots | |||
| InspectionLotSum | ||||
| Plant | P_InspLotResultRecording | Plant | Valuation Area | |
| InspectionLotOrigin | P_InspLotResultRecording | InspectionLotOrigin | ||
| InspectionLotType | P_InspLotResultRecording | InspectionLotType | Inspection Type | |
| Material | P_InspLotResultRecording | Material | Vehicle Model | |
| BatchStorageLocation | P_InspLotResultRecording | BatchStorageLocation | ||
| MatlQualityAuthorizationGroup | P_InspLotResultRecording | MatlQualityAuthorizationGroup | QM Matl Auth. | |
| IsBusinessPurposeCompleted | P_InspLotResultRecording | IsBusinessPurposeCompleted | Purpose Completed | |
| Supplier | P_InspLotResultRecording | Supplier | Supplier | |
| Manufacturer | P_InspLotResultRecording | Manufacturer | Manufacturer | |
| ManufacturerPartNmbr | P_InspLotResultRecording | ManufacturerPartNmbr | Mfr Part Number | |
| PurchasingOrganization | P_InspLotResultRecording | PurchasingOrganization | Purchasing Organization | |
| InspectionLotHasQuantity | P_InspLotResultRecording | InspectionLotHasQuantity | ||
| Customer | P_InspLotResultRecording | Customer | Sold-to Party | |
| SoldToParty | P_InspLotResultRecording | SoldToParty | Sold-to Party | |
| SalesOrganization | P_InspLotResultRecording | SalesOrganization | Sales Organization | |
| InspectionLotHasUsageDecision | P_InspLotResultRecording | InspectionLotHasUsageDecision | ||
| InspLotIsTaskListRequired | P_InspLotResultRecording | InspLotIsTaskListRequired | ||
| InspLotRsltRecgStatus | P_InspLotResultRecording | InspLotRsltRecgStatus |
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_InspLotUsageDecisionOVP.
-- 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_InspLotUsageDecisionOVP AS
SELECT
P_InspLotResultRecording.InspectionLot AS InspectionLot,
P_InspLotResultRecording.InspLotEndDateGrp AS InspLotEndDateGrp,
P_InspLotResultRecording._InspLotEndDateGrp._InspLotEndDateGrpText[1:Language=$session.system_language].InspLotEndDateGrpText AS InspLotEndDateGrpText,
P_InspLotResultRecording._InspLotEndDateGrp AS _InspLotEndDateGrp,
cast (cast (P_InspLotResultRecording.InspLotEndDateGrp as abap.numc( 8 ) ) as abap.int8 ) AS InspectionLotCount,
cast (1 as abap.int8) AS InspectionLotSum,
P_InspLotResultRecording.Plant AS Plant,
P_InspLotResultRecording.InspectionLotOrigin AS InspectionLotOrigin,
P_InspLotResultRecording.InspectionLotType AS InspectionLotType,
P_InspLotResultRecording.Material AS Material,
P_InspLotResultRecording.BatchStorageLocation AS BatchStorageLocation,
P_InspLotResultRecording.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup,
P_InspLotResultRecording.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
P_InspLotResultRecording.Supplier AS Supplier,
P_InspLotResultRecording.Manufacturer AS Manufacturer,
P_InspLotResultRecording.ManufacturerPartNmbr AS ManufacturerPartNmbr,
P_InspLotResultRecording.PurchasingOrganization AS PurchasingOrganization,
P_InspLotResultRecording.InspectionLotHasQuantity AS InspectionLotHasQuantity,
P_InspLotResultRecording.Customer AS Customer,
P_InspLotResultRecording.SoldToParty AS SoldToParty,
P_InspLotResultRecording.SalesOrganization AS SalesOrganization,
P_InspLotResultRecording.InspectionLotHasUsageDecision AS InspectionLotHasUsageDecision,
P_InspLotResultRecording.InspLotIsTaskListRequired AS InspLotIsTaskListRequired,
P_InspLotResultRecording.InspLotRsltRecgStatus AS InspLotRsltRecgStatus
FROM P_InspLotResultRecording
;
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