P_InspLotResultRecording
Inspection Lot Result Recording
P_InspLotResultRecording is a Consumption CDS View that provides data about "Inspection Lot Result Recording" in SAP S/4HANA. It has 2 associations to related views. Part of development package ODATA_QM_INSPECTION_ANALYTICS.
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_endDate | abap.dats |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_InspLotEndDateGrp | _InspLotEndDateGrp | $projection.InspLotEndDateGrp = _InspLotEndDateGrp.InspLotEndDateGrp |
| [1..1] | I_InspectionLotWithStatus | _InspectionLotWithStatus | $projection.InspectionLot = _InspectionLotWithStatus.InspectionLot |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PINSPLOTRESREC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Inspection Lot Result Recording | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| InspectionLot | _InspectionLot | InspectionLot | Inspection Lot | |
| InspectionLotEndDate | _InspectionLot | InspectionLotEndDate | ||
| Plant | _InspectionLot | Plant | Valuation Area | |
| InspectionLotOrigin | _InspectionLot | InspectionLotOrigin | ||
| InspectionLotType | _InspectionLot | InspectionLotType | Inspection Type | |
| Material | _InspectionLot | Material | Vehicle Model | |
| InspectionLotStorageLocation | _InspectionLot | InspectionLotStorageLocation | ||
| BatchStorageLocation | _InspectionLot | BatchStorageLocation | ||
| MatlQualityAuthorizationGroup | _InspectionLot | MatlQualityAuthorizationGroup | QM Matl Auth. | |
| IsBusinessPurposeCompleted | _InspectionLot | IsBusinessPurposeCompleted | Purpose Completed | |
| Supplier | _InspectionLot | Supplier | Supplier | |
| Manufacturer | _InspectionLot | Manufacturer | Manufacturer | |
| ManufacturerPartNmbr | _InspectionLot | ManufacturerPartNmbr | Mfr Part Number | |
| PurchasingOrganization | _InspectionLot | PurchasingOrganization | Purchasing Organization | |
| InspectionLotHasQuantity | ||||
| Customer | _InspectionLot | Customer | Sold-to Party | |
| SoldToParty | _InspectionLot | SoldToParty | Sold-to Party | |
| SalesOrganization | _InspectionLot | SalesOrganization | Sales Organization | |
| InspectionLotHasUsageDecision | ||||
| InspLotIsTaskListRequired | ||||
| InspLotHasMaterialSpec | ||||
| InspLotNmbrOpenLongTermCharc | ||||
| InspLotUsageDecisionValuation | _InspectionLot | InspLotUsageDecisionValuation | ||
| _InspLotEndDateGrp | _InspLotEndDateGrp |
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_InspLotResultRecording.
-- 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: PINSPLOTRESREC
-- Parameters: P_endDate : abap.dats
CREATE VIEW P_InspLotResultRecording AS
SELECT
_InspectionLot.InspectionLot AS InspectionLot,
_InspectionLot.InspectionLotEndDate AS InspectionLotEndDate,
_InspectionLot.Plant AS Plant,
_InspectionLot.InspectionLotOrigin AS InspectionLotOrigin,
_InspectionLot.InspectionLotType AS InspectionLotType,
_InspectionLot.Material AS Material,
_InspectionLot.InspectionLotStorageLocation AS InspectionLotStorageLocation,
_InspectionLot.BatchStorageLocation AS BatchStorageLocation,
_InspectionLot.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup,
_InspectionLot.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
_InspectionLot.Supplier AS Supplier,
_InspectionLot.Manufacturer AS Manufacturer,
_InspectionLot.ManufacturerPartNmbr AS ManufacturerPartNmbr,
_InspectionLot.PurchasingOrganization AS PurchasingOrganization,
cast( _InspectionLot.InspectionLotHasQuantity as xfeld ) AS InspectionLotHasQuantity,
_InspectionLot.Customer AS Customer,
_InspectionLot.SoldToParty AS SoldToParty,
_InspectionLot.SalesOrganization AS SalesOrganization,
cast('' as abap.char( 1 )) AS InspectionLotHasUsageDecision,
cast('' as abap.char( 1 )) AS InspLotIsTaskListRequired,
cast('' as abap.char( 1 )) AS InspLotHasMaterialSpec,
cast(_InspectionLot.InspLotNmbrOpenLongTermCharc as abap.char( 6 )) AS InspLotNmbrOpenLongTermCharc,
_InspectionLot.InspLotUsageDecisionValuation AS InspLotUsageDecisionValuation
LEFT OUTER JOIN I_InspLotEndDateGrp AS _InspLotEndDateGrp ON InspLotEndDateGrp = _InspLotEndDateGrp.InspLotEndDateGrp -- association [1..1]
LEFT OUTER JOIN I_InspectionLotWithStatus AS _InspectionLotWithStatus ON InspectionLot = _InspectionLotWithStatus.InspectionLot -- association [1..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