P_InspLotRsltRecgStatus

DDL: P_INSPLOTRSLTRECGSTATUS SQL: PINSPRSLTRECG Type: view CONSUMPTION Package: ODATA_QM_INSPECTION_ANALYTICS

Inspection Lot Result Recording

P_InspLotRsltRecgStatus is a Consumption CDS View that provides data about "Inspection Lot Result Recording" in SAP S/4HANA. It reads from 1 data source (C_InspectionLotWithResultRec) and exposes 20 fields with key field InspectionLot. Part of development package ODATA_QM_INSPECTION_ANALYTICS.

Data Sources (1)

SourceAliasJoin Type
C_InspectionLotWithResultRec C_InspectionLotWithResultRec from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PINSPRSLTRECG 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 (20)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot C_InspectionLotWithResultRec InspectionLot Inspection Lot
InspLotRsltRecgStatusText
InspLotRsltRecgStatus C_InspectionLotWithResultRec InspLotRsltRecgStatus
Plant C_InspectionLotWithResultRec Plant Valuation Area
InspectionLotOrigin C_InspectionLotWithResultRec InspectionLotOrigin
InspectionLotType C_InspectionLotWithResultRec InspectionLotType Inspection Type
Material C_InspectionLotWithResultRec Material Vehicle Model
InspectionLotStorageLocation C_InspectionLotWithResultRec InspectionLotStorageLocation
BatchStorageLocation C_InspectionLotWithResultRec BatchStorageLocation
MatlQualityAuthorizationGroup C_InspectionLotWithResultRec MatlQualityAuthorizationGroup QM Matl Auth.
IsBusinessPurposeCompleted C_InspectionLotWithResultRec IsBusinessPurposeCompleted Purpose Completed
Supplier C_InspectionLotWithResultRec Supplier Supplier
Manufacturer C_InspectionLotWithResultRec Manufacturer Manufacturer
ManufacturerPartNmbr C_InspectionLotWithResultRec ManufacturerPartNmbr Mfr Part Number
PurchasingOrganization C_InspectionLotWithResultRec PurchasingOrganization Purchasing Organization
InspectionLotHasQuantity C_InspectionLotWithResultRec InspectionLotHasQuantity
Customer C_InspectionLotWithResultRec Customer Sold-to Party
SoldToParty C_InspectionLotWithResultRec SoldToParty Sold-to Party
SalesOrganization C_InspectionLotWithResultRec SalesOrganization Sales Organization
InspectionLotHasUsageDecision C_InspectionLotWithResultRec InspectionLotHasUsageDecision

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_InspLotRsltRecgStatus.
-- 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: PINSPRSLTRECG

CREATE VIEW P_InspLotRsltRecgStatus AS
SELECT
  C_InspectionLotWithResultRec.InspectionLot AS InspectionLot,
  C_InspectionLotWithResultRec._InspRsltRecg._InspLotRsltRecgStatusText[1:Language=$session.system_language].InspLotRsltRecgStatusText AS InspLotRsltRecgStatusText,
  C_InspectionLotWithResultRec.InspLotRsltRecgStatus AS InspLotRsltRecgStatus,
  C_InspectionLotWithResultRec.Plant AS Plant,
  C_InspectionLotWithResultRec.InspectionLotOrigin AS InspectionLotOrigin,
  C_InspectionLotWithResultRec.InspectionLotType AS InspectionLotType,
  C_InspectionLotWithResultRec.Material AS Material,
  C_InspectionLotWithResultRec.InspectionLotStorageLocation AS InspectionLotStorageLocation,
  C_InspectionLotWithResultRec.BatchStorageLocation AS BatchStorageLocation,
  C_InspectionLotWithResultRec.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup,
  C_InspectionLotWithResultRec.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  C_InspectionLotWithResultRec.Supplier AS Supplier,
  C_InspectionLotWithResultRec.Manufacturer AS Manufacturer,
  C_InspectionLotWithResultRec.ManufacturerPartNmbr AS ManufacturerPartNmbr,
  C_InspectionLotWithResultRec.PurchasingOrganization AS PurchasingOrganization,
  C_InspectionLotWithResultRec.InspectionLotHasQuantity AS InspectionLotHasQuantity,
  C_InspectionLotWithResultRec.Customer AS Customer,
  C_InspectionLotWithResultRec.SoldToParty AS SoldToParty,
  C_InspectionLotWithResultRec.SalesOrganization AS SalesOrganization,
  C_InspectionLotWithResultRec.InspectionLotHasUsageDecision AS InspectionLotHasUsageDecision
FROM C_InspectionLotWithResultRec
;