C_InspCharcsQty

DDL: C_INSPCHARCSQTY Type: view CONSUMPTION Package: ODATA_QM_INSPECTION_ANALYTICS

Characteristic Analytics - Quantities

C_InspCharcsQty is a Consumption CDS View (Cube) that provides data about "Characteristic Analytics - Quantities" in SAP S/4HANA. It reads from 1 data source (I_InspCharcsQtyCube) and exposes 45 fields with key fields InspPlanOperationInternalID, InspectionCharacteristic, InspectionSubsetInternalID. It has 2 associations to related views. It is exposed through 2 OData services (ASQL_F3383, ASQL_F8796). Part of development package ODATA_QM_INSPECTION_ANALYTICS.

Data Sources (1)

SourceAliasJoin Type
I_InspCharcsQtyCube I_InspCharcsQtyCube from

Parameters (5)

NameTypeDefault
hidden true
P_StartDate mm_a_delivery_date
hidden true
P_EndDate mm_a_delivery_date
P_DateFunction vdm_qrsltrecddatum_dfid

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_CalendarDate _CalDteCreatedDate $projection.CreationDate = _CalDteCreatedDate.CalendarDate
[0..1] I_MaterialText _MaterialText _MaterialText.Material = $projection.Material

Annotations (14)

NameValueLevelField
AbapCatalog.buffering.status #NOT_ALLOWED view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName CINSPCHARQTY view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
Analytics.dataCategory #CUBE view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Characteristic Analytics - Quantities view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F3383 ASQL_F3383 C2 NOT_RELEASED
ASQL_F8796 ASQL_F8796 C2 NOT_RELEASED

Fields (45)

KeyFieldSource TableSource FieldDescription
hiddentrueP_StartDatemm_a_delivery_date
hiddentrueP_EndDatemm_a_delivery_date
P_StartDate
MaterialkeyInspectionLot
KEY InspPlanOperationInternalID InspPlanOperationInternalID
KEY InspectionCharacteristic InspectionCharacteristic
KEY InspectionSubsetInternalID InspectionSubsetInternalID
InspectionLotOrigin InspectionLotOrigin
InspectionLotType InspectionLotType Inspection Type
InspResultHistoryCharc
InspResultAggregationLevel InspResultAggregationLevel
MasterInspCharcsKey
InspectionSpecificationText
InspectionCharacteristicText InspectionSpecificationText
Plant Plant Valuation Area
PlantName _Plant PlantName Plant Name
Material Material Vehicle Model
MaterialName
Supplier Supplier Supplier
SupplierName _Supplier SupplierName Supplier Name
Customer Customer Sold-to Party
CustomerFullName _Customer CustomerFullName Customer Name
WorkCenter WorkCenter Work Center
WorkCenterText
InspectionOperationPlant
WorkCenterPlantName WorkCenterPlantName
CreationDate CreationDate Time Stamp
CalendarYear _CalDteCreatedDate CalendarYear Year
CalendarQuarter _CalDteCreatedDate CalendarQuarter Calendar Quarter
CalendarQuarterName
CalendarMonth _CalDteCreatedDate CalendarMonth Calendar Month
CalendarMonthName
CalendarWeek _CalDteCreatedDate CalendarWeek Calendar Week
InspectionLotQuantityUnit
InspectionLotSampleUnit
InspectionLotQuantity InspectionLotQuantity
InspectionLotSampleQuantity
InspLotSampleQuantityInPercent
InspectionLotSkipQuantity
InspLotSkipQuantityInPercent
InspectionLotRejectedQuantity
InspLotRjctdQuantityInPercent
InspectionSubsetType InspectionSubsetType
MatlQualityAuthorizationGroup MatlQualityAuthorizationGroup QM Matl Auth.
IsBusinessPurposeCompleted IsBusinessPurposeCompleted Purpose Completed

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_InspCharcsQty.
-- 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.
-- Parameters: hidden : true, P_StartDate : mm_a_delivery_date, hidden : true, P_EndDate : mm_a_delivery_date, P_DateFunction : vdm_qrsltrecddatum_dfid

CREATE VIEW C_InspCharcsQty AS
SELECT
  hidden: true AS hiddentrueP_StartDatemm_a_delivery_date,
  hidden: true AS hiddentrueP_EndDatemm_a_delivery_date,
  valueHelpDefinition: [ { entity: { name: 'C_GregorianCalDateFuncVH', element: 'DateFunction' AS P_StartDate,
  InspPlanOperationInternalID,
  InspectionCharacteristic,
  InspectionSubsetInternalID,
  InspectionLotOrigin,
  InspectionLotType,
  cast(InspResultHistoryCharc as qm_inspresaggr_charkey ) AS InspResultHistoryCharc,
  InspResultAggregationLevel,
  cast(MasterInspCharcsKey as vdm_qmstrinspcharcs) AS MasterInspCharcsKey,
  _InspSpecificationVersion._Text[1:Language=$session.system_language].InspectionSpecificationText AS InspectionSpecificationText,
  InspectionSpecificationText AS InspectionCharacteristicText,
  Plant,
  _Plant.PlantName AS PlantName,
  Material,
  _MaterialText[1:Language=$session.system_language].MaterialName AS MaterialName,
  Supplier,
  _Supplier.SupplierName AS SupplierName,
  Customer,
  _Customer.CustomerFullName AS CustomerFullName,
  WorkCenter,
  _WorkCenter._Text[1:Language=$session.system_language].WorkCenterText AS WorkCenterText,
  cast(InspectionOperationPlant as vdm_poplatzwrk) AS InspectionOperationPlant,
  WorkCenterPlantName,
  CreationDate,
  _CalDteCreatedDate.CalendarYear AS CalendarYear,
  _CalDteCreatedDate.CalendarQuarter AS CalendarQuarter,
  _CalDteCreatedDate._CalendarQuarter._Text[1:Language=$session.system_language].CalendarQuarterName AS CalendarQuarterName,
  _CalDteCreatedDate.CalendarMonth AS CalendarMonth,
  _CalDteCreatedDate._CalendarMonth._Text[1:Language=$session.system_language].CalendarMonthName AS CalendarMonthName,
  _CalDteCreatedDate.CalendarWeek AS CalendarWeek,
  cast(InspectionLotQuantityUnit as vdm_insplotqtyunit) AS InspectionLotQuantityUnit,
  cast(InspectionLotSampleUnit as vdm_insplotsmplunit) AS InspectionLotSampleUnit,
  InspectionLotQuantity,
  cast(InspectionLotSampleQuantity as vdm_qminsplotsmplqty) AS InspectionLotSampleQuantity,
  cast ( 0 as vdm_qminsplotsmplqtypct ) AS InspLotSampleQuantityInPercent,
  cast( InspectionLotSkipQuantity as vdm_qminsplotskipqty preserving type ) AS InspectionLotSkipQuantity,
  cast ( 0 as vdm_qminsplotskipqtypct ) AS InspLotSkipQuantityInPercent,
  cast( InspectionLotRejectedQuantity as vdm_qminsplotrejectedqty preserving type ) AS InspectionLotRejectedQuantity,
  cast ( 0 as vdm_qminsplotrjctdqtypct ) AS InspLotRjctdQuantityInPercent,
  InspectionSubsetType,
  MatlQualityAuthorizationGroup,
  IsBusinessPurposeCompleted
FROM I_InspCharcsQtyCube
LEFT OUTER JOIN I_CalendarDate AS _CalDteCreatedDate ON CreationDate = _CalDteCreatedDate.CalendarDate  -- association [1..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON _MaterialText.Material = Material  -- association [0..1]
;