C_InspLotResultRecordingOVP

DDL: C_INSPLOTRESULTRECORDINGOVP SQL: CINSPRESRECOVP Type: view CONSUMPTION Package: ODATA_QM_INSPECTION_ANALYTICS

Inspection Lot Result Recording

C_InspLotResultRecordingOVP is a Consumption CDS View that provides data about "Inspection Lot Result Recording" in SAP S/4HANA. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F2361). Part of development package ODATA_QM_INSPECTION_ANALYTICS.

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_InspLotWithRsltRecgStatus _InspLotWithRsltRecgStatus P_InspLotResultRecording.InspectionLot = _InspLotWithRsltRecgStatus.InspectionLot

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CINSPRESRECOVP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Inspection Lot Result Recording view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
Metadata.ignorePropagatedAnnotations true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F2361 ASQL_F2361 C2 NOT_RELEASED

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot P_InspLotResultRecording InspectionLot Inspection Lots
InspLotEndDateGrp P_InspLotResultRecording InspLotEndDateGrp
InspLotEndDateGrpText
InspectionLotCount
InspectionLotSum
Plant P_InspLotResultRecording Plant Valuation Area
InspectionLotOrigin P_InspLotResultRecording InspectionLotOrigin
InspectionLotType P_InspLotResultRecording InspectionLotType Inspection Type
Material P_InspLotResultRecording Material Vehicle Model
InspectionLotStorageLocation P_InspLotResultRecording InspectionLotStorageLocation
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 _InspLotWithRsltRecgStatus InspLotRsltRecgStatus
_InspLotWithRsltRecgStatus _InspLotWithRsltRecgStatus

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_InspLotResultRecordingOVP.
-- 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: CINSPRESRECOVP

CREATE VIEW C_InspLotResultRecordingOVP AS
SELECT
  P_InspLotResultRecording.InspectionLot AS InspectionLot,
  P_InspLotResultRecording.InspLotEndDateGrp AS InspLotEndDateGrp,
  P_InspLotResultRecording._InspLotEndDateGrp._InspLotEndDateGrpText[1:Language=$session.system_language].InspLotEndDateGrpText AS InspLotEndDateGrpText,
  cast( cast (cast (P_InspLotResultRecording.InspLotEndDateGrp as abap.numc( 8 ) ) as abap.int8 ) as vdm_qminsplotcnt) 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.InspectionLotStorageLocation AS InspectionLotStorageLocation,
  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,
  _InspLotWithRsltRecgStatus.InspLotRsltRecgStatus AS InspLotRsltRecgStatus
LEFT OUTER JOIN C_InspLotWithRsltRecgStatus AS _InspLotWithRsltRecgStatus ON P_InspLotResultRecording.InspectionLot = _InspLotWithRsltRecgStatus.InspectionLot  -- association [1..1]
;