C_InspUsageDecisionOVP

DDL: C_INSPUSAGEDECISIONOVP SQL: CINSPUSAGEDSNOVP Type: view CONSUMPTION Package: ODATA_QM_INSPECTION_ANALYTICS

Usage Decision Overview Page

C_InspUsageDecisionOVP is a Consumption CDS View that provides data about "Usage Decision Overview Page" in SAP S/4HANA. It reads from 1 data source (P_InspLotRsltRecgStatus) and exposes 21 fields with key field InspectionLot. Part of development package ODATA_QM_INSPECTION_ANALYTICS.

Data Sources (1)

SourceAliasJoin Type
P_InspLotRsltRecgStatus P_InspLotRsltRecgStatus from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CINSPUSAGEDSNOVP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Usage Decision Overview Page view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view

Fields (21)

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

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_InspUsageDecisionOVP.
-- 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: CINSPUSAGEDSNOVP

CREATE VIEW C_InspUsageDecisionOVP AS
SELECT
  P_InspLotRsltRecgStatus.InspectionLot AS InspectionLot,
  cast (P_InspLotRsltRecgStatus.InspLotRsltRecgStatus as abap.char( 2 )) AS InspLotRsltRecgStatus,
  cast (cast (P_InspLotRsltRecgStatus.InspLotRsltRecgStatus as abap.numc( 4 ) ) as abap.int8 ) AS InspectionLotCount,
  cast (1 as abap.int8) AS InspectionLotSum,
  P_InspLotRsltRecgStatus.InspLotRsltRecgStatusText AS InspLotRsltRecgStatusText,
  P_InspLotRsltRecgStatus.Plant AS Plant,
  P_InspLotRsltRecgStatus.InspectionLotOrigin AS InspectionLotOrigin,
  P_InspLotRsltRecgStatus.InspectionLotType AS InspectionLotType,
  P_InspLotRsltRecgStatus.Material AS Material,
  P_InspLotRsltRecgStatus.InspectionLotStorageLocation AS InspectionLotStorageLocation,
  P_InspLotRsltRecgStatus.BatchStorageLocation AS BatchStorageLocation,
  P_InspLotRsltRecgStatus.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup,
  P_InspLotRsltRecgStatus.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  P_InspLotRsltRecgStatus.Supplier AS Supplier,
  P_InspLotRsltRecgStatus.Manufacturer AS Manufacturer,
  P_InspLotRsltRecgStatus.ManufacturerPartNmbr AS ManufacturerPartNmbr,
  P_InspLotRsltRecgStatus.PurchasingOrganization AS PurchasingOrganization,
  cast( P_InspLotRsltRecgStatus.InspectionLotHasQuantity as xfeld ) AS InspectionLotHasQuantity,
  P_InspLotRsltRecgStatus.Customer AS Customer,
  P_InspLotRsltRecgStatus.SoldToParty AS SoldToParty,
  P_InspLotRsltRecgStatus.SalesOrganization AS SalesOrganization
FROM P_InspLotRsltRecgStatus
;