Deprecated
This CDS view is deprecated in S/4HANA. View all deprecated CDS views →

C_QM_InspectionLotsByOperation

DDL: C_QM_INSPECTIONLOTSBYOPERATION SQL: CQMINSPLBOP Type: view CONSUMPTION

Inspection lots for main page - group by operation

C_QM_InspectionLotsByOperation is a Consumption CDS View that provides data about "Inspection lots for main page - group by operation" in SAP S/4HANA. It reads from 3 data sources (I_InspectionLot, I_InspOperationAggregate, I_InspectionOperation) and exposes 173 fields with key fields InspectionLot, InspectionOperation.

Data Sources (3)

SourceAliasJoin Type
I_InspectionLot _insplots from
I_InspOperationAggregate _inspoperaggrgt inner
I_InspectionOperation _inspops inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName CQMINSPLBOP view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.status #DEPRECATED view
EndUserText.label Inspection lots for main page - group by operation view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view

Fields (173)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot I_InspectionLot InspectionLot Inspection Lot
KEY InspectionOperation I_InspectionOperation InspectionOperation Operation
MaterialSampleCount
InspOpUsageDecisionValuation _InspOperationUsageDecision InspOpUsageDecisionValuation
int4asInspCharAcceptedCount
int4asInspCharRejectedCount
int4asInspCharOpenCount
InspCharCount
ManufacturingOrder I_InspectionLot ManufacturingOrder Order
Plant I_InspectionLot Plant Valuation Area
Material I_InspectionLot Material Vehicle Model
WorkCenter
MaintenanceWorkCenterPlant
WorkCenterText
InspLotUsageDecisionValuation _InspLotUsageDecision InspLotUsageDecisionValuation
InspectionLotOrigin I_InspectionLot InspectionLotOrigin
InspectionLotOriginText
InspectionLotType I_InspectionLot InspectionLotType Inspection Type
MatlQualityAuthorizationGroup I_InspectionLot MatlQualityAuthorizationGroup QM Matl Auth.
InspectionLotTypeText
OperationText I_InspectionOperation OperationText Description
MaterialName
Batch I_InspectionLot Batch Lot No.
InspectionLotObjectText I_InspectionLot InspectionLotObjectText Obj short text
InspLotCreatedOnLocalDate I_InspectionLot InspLotCreatedOnLocalDate Lot Created
InspLotCreatedOnLocalTime I_InspectionLot InspLotCreatedOnLocalTime
InspectionLotCreatedBy I_InspectionLot InspectionLotCreatedBy Created By
InspectionLotCreatedOn I_InspectionLot InspectionLotCreatedOn Created On
InspectionLotCreatedOnTime I_InspectionLot InspectionLotCreatedOnTime
InspectionLotChangedBy I_InspectionLot InspectionLotChangedBy Changed By
InspectionLotChangeDate I_InspectionLot InspectionLotChangeDate Changed On
InspectionLotChangeTime I_InspectionLot InspectionLotChangeTime
InspectionLotStartDate I_InspectionLot InspectionLotStartDate Start Date
InspectionLotEndDate I_InspectionLot InspectionLotEndDate End Date
ProductionVersion I_InspectionLot ProductionVersion Version ID
Customer I_InspectionLot Customer Sold-to Party
Supplier I_InspectionLot Supplier Supplier
Manufacturer I_InspectionLot Manufacturer Manufacturer
MaterialRevisionLevel I_InspectionLot MaterialRevisionLevel Revision Level
BatchStorageLocation I_InspectionLot BatchStorageLocation
PurchasingDocument I_InspectionLot PurchasingDocument Purchasing Document
PurchasingDocumentItem I_InspectionLot PurchasingDocumentItem Purchasing Doc. Item
ScheduleLine I_InspectionLot ScheduleLine Schedule Line
AccountingDocumentType I_InspectionLot AccountingDocumentType Journal Entry Type
MaterialDocumentYear I_InspectionLot MaterialDocumentYear Material Document Year
MaterialDocument I_InspectionLot MaterialDocument Material Doc.
MaterialDocumentItem I_InspectionLot MaterialDocumentItem Material Document Item
DeliveryDocument I_InspectionLot DeliveryDocument Outbound Delivery
DeliveryDocumentItem I_InspectionLot DeliveryDocumentItem Outb. Delivery Item
InspectionLotText I_InspectionLot InspectionLotText
InspectionLotQuantity I_InspectionLot InspectionLotQuantity
InspectionLotQuantityUnit
SalesOrder I_InspectionLot SalesOrder SD Document
SalesOrderItem I_InspectionLot SalesOrderItem Sales Order Item
InspectionLotQualityScore _InspOperationUsageDecision InspectionLotQualityScore Inspection Lot Score
InspOpUsageDecisionCatalog _InspOperationUsageDecision InspOpUsageDecisionCatalog
InspOpUsgeDcsnSelectedSet _InspOperationUsageDecision InspOpUsgeDcsnSelectedSet
UsageDecisionCodeGroup _InspOperationUsageDecision UsageDecisionCodeGroup
UsageDecisionCode _InspOperationUsageDecision UsageDecisionCode
InspOpUsgeDcsnDynValuation _InspOperationUsageDecision InspOpUsgeDcsnDynValuation
InspOpUsgeDcsnFollowUpAction _InspOperationUsageDecision InspOpUsgeDcsnFollowUpAction
InspectionOpUsageDecidedBy _InspOperationUsageDecision InspectionOpUsageDecidedBy
InspOpUsageDecidedOn _InspOperationUsageDecision InspOpUsageDecidedOn
InspOpUsageDecisionTime _InspOperationUsageDecision InspOpUsageDecisionTime
InspOpUsageDecisionChangedBy _InspOperationUsageDecision InspOpUsageDecisionChangedBy
InspOpUsageDecisionChangedOn _InspOperationUsageDecision InspOpUsageDecisionChangedOn
InspOpUsgeDcsnChangedTime _InspOperationUsageDecision InspOpUsgeDcsnChangedTime
SystemStatus _stsObjConcatActiveStsILL ConcatenatedActiveSystStsName Concatenated System Status
UserStatus _stsObjConcatActiveStsILL ConcatenatedActiveUserStsName Concatenated User Status
IsBusinessPurposeCompleted I_InspectionLot IsBusinessPurposeCompleted Purpose Completed
InspLotRsltRecgStatus
BatchBySupplier
InspLotIsStockPostingCompleted
InspectionLotIsSkipped
InspectionLotIsFullInspection
NumberOfSerialNumbers
SmplDrawingProcedure
SmplDrwgProcedIsConfRequired
InspectionDynamicStage
InspectionSeverity
InspectionLotHasPartialLots I_InspectionLot InspectionLotHasPartialLots Partial Lots
InspLotIsAutomUsgeDcsnPossible
InspLotHasConfignSpecification
InspLotIsTaskListRequired
InspLotHasManualSampleSize
InspLotHasMaterialSpec
InspLotDigitalSgntrResultsRecg
InspLotIsBatchRequired
InspectionLotHasUsageDecision
GoodsReceiptIsMovedToBlkdStock I_InspectionLot GoodsReceiptIsMovedToBlkdStock GR Blocked Stck
InspectionLotHasQuantity I_InspectionLot InspectionLotHasQuantity
InspLotIsDocumentationRequired I_InspectionLot InspLotIsDocumentationRequired
InspectionLotApproval I_InspectionLot InspectionLotApproval
InspLotDigitalSgntrInUsgeDcsn I_InspectionLot InspLotDigitalSgntrInUsgeDcsn
BillOfOperationsType I_InspectionLot BillOfOperationsType Task List Type
BillOfOperationsGroup I_InspectionLot BillOfOperationsGroup Group
BillOfOperationsUsage I_InspectionLot BillOfOperationsUsage
BillOfOperationsVariant I_InspectionLot BillOfOperationsVariant Group Counter
InspLotSelectionValidFromDate I_InspectionLot InspLotSelectionValidFromDate Valid From
ManufacturerPartNmbr I_InspectionLot ManufacturerPartNmbr Mfr Part Number
MaterialIsBatchManaged I_InspectionLot MaterialIsBatchManaged
MaterialCompIsSpecialStock I_InspectionLot MaterialCompIsSpecialStock Special Stock
PurchasingOrganization I_InspectionLot PurchasingOrganization Purchasing Organization
GoodsMovementType I_InspectionLot GoodsMovementType Movement Type
InspectionLotPlant I_InspectionLot InspectionLotPlant
InspectionLotStorageLocation I_InspectionLot InspectionLotStorageLocation
Warehouse I_InspectionLot Warehouse Warehouse No.
StorageType I_InspectionLot StorageType Storage Type
StorageBin I_InspectionLot StorageBin Storage Bin
DeliveryCategory I_InspectionLot InspectionDeliveryCategory Delivery cat.
Route I_InspectionLot Route Vehicle route
BillToPartyCountry I_InspectionLot BillToPartyCountry Dst.CtryRg.Ord.
SoldToParty I_InspectionLot SoldToParty Sold-to Party
SalesOrganization I_InspectionLot SalesOrganization Sales Organization
MaterialByCustomer I_InspectionLot MaterialByCustomer Customer Mat.
InspLotNmbrAddlRecordedCharc
InspLotNmbrOpenShortTermCharc
InspLotNmbrOpenLongTermCharc
MatlDocLatestPostgDate I_InspectionLot MatlDocLatestPostgDate Posting Date
SalesOrdStockWBSElement
QualityCostCollector I_InspectionLot QualityCostCollector QM Order
CostCenter I_InspectionLot CostCenter Cost Center
ProfitCenter I_InspectionLot ProfitCenter Profit Center
BusinessArea I_InspectionLot BusinessArea Business Area
GLAccount I_InspectionLot GLAccount General Ledger
ControllingArea I_InspectionLot ControllingArea Controlling Area
CompanyCode I_InspectionLot CompanyCode Receiver Company Code
SerialNumberProfile I_InspectionLot SerialNumberProfile SerialNoProfile
InspLotIsSerialNmbrPossible I_InspectionLot InspLotIsSerialNmbrPossible Serial Numbers
InspSubsetFieldCombination I_InspectionLot InspSubsetFieldCombination Field Combinat.
InspLotUsageDecisionCodeGroup
InspectionLotUsageDecisionCode
InspectionOperationPlant
OperationControlProfile
InspectionSubSystem
OperationConfirmation
InspectionCharacteristic
InspectionCharacteristicStatus
InspectionMethodPlant
InspectionMethod
InspectionSpecificationPlant
InspectionSpecification
InspSpecImportanceCode
InspectionCharacteristicText
InspectorQualification
InspSpecInformationField1
InspSpecInformationField2
InspSpecInformationField3
InspectionSubsetSortKey
Equipment
FunctionalLocation
MaterialSample
InspectionSubsetLongCharKey
InspectionSubsetShortCharKey
InspSubsetLongNumericKey
InspSubsetShortNumericKey
InspectionSubsetDate
InspectionSubsetTime
InspSubsetUsageDcsnCodeGroup
InspSubsetUsageDcsnCode
InspSubsetUsageDcsnValuation
MaterialSampleType
MaterialSampleCategory
StorageLocation
MaterialSampleStorageLocation
MaterialSampleChangedOn
MaterialSampleDrawingLocation
MatlSmplDrawingLocDescription
MaterialSampleDrawingOnDate
MaterialSampleDrawingOnTime
MaterialSampleResponsibleName
ProductionPlant
InspectionSpecificationText

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_QM_InspectionLotsByOperation.
-- 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: CQMINSPLBOP

CREATE VIEW C_QM_InspectionLotsByOperation AS
SELECT
  _insplots.InspectionLot AS InspectionLot,
  _inspops.InspectionOperation AS InspectionOperation,
  cast(_inspoperaggrgt.MaterialSampleCount as abap.int4 ) AS MaterialSampleCount,
  _InspOperationUsageDecision.InspOpUsageDecisionValuation AS InspOpUsageDecisionValuation,
  cast( (case when _insplots._InspSubsetFieldCombination.SamplingProcedureInspSubset = '2' then _inspoperaggrgt.InspSubsetCharcAcceptedCount else _inspoperaggrgt.InspCharAcceptedCount end) as abap.int4 ) as InspCharAcceptedCount AS int4asInspCharAcceptedCount,
  cast( (case when _insplots._InspSubsetFieldCombination.SamplingProcedureInspSubset = '2' then _inspoperaggrgt.InspSubsetCharcRejectedCount else _inspoperaggrgt.InspCharRejectedCount end) as abap.int4 ) as InspCharRejectedCount AS int4asInspCharRejectedCount,
  cast( (case when _insplots._InspSubsetFieldCombination.SamplingProcedureInspSubset = '2' then _inspoperaggrgt.InspSubsetCharcOpenCount else _inspoperaggrgt.InspCharOpenCount end) as abap.int4 ) as InspCharOpenCount AS int4asInspCharOpenCount,
  cast(_inspoperaggrgt.InspCharAcceptedCount + _inspoperaggrgt.InspCharRejectedCount + _inspoperaggrgt.InspCharOpenCount as abap.int4) AS InspCharCount,
  _insplots.ManufacturingOrder AS ManufacturingOrder,
  _insplots.Plant AS Plant,
  _insplots.Material AS Material,
  _inspops._WorkCenter.WorkCenter AS WorkCenter,
  _inspops._WorkCenter.Plant AS MaintenanceWorkCenterPlant,
  _inspops._WorkCenter._Text[1:Language=$session.system_language].WorkCenterText AS WorkCenterText,
  _InspLotUsageDecision.InspLotUsageDecisionValuation AS InspLotUsageDecisionValuation,
  _insplots.InspectionLotOrigin AS InspectionLotOrigin,
  _insplots._InspectionLotOrigin._Text[1:Language=$session.system_language].InspectionLotOriginText AS InspectionLotOriginText,
  _insplots.InspectionLotType AS InspectionLotType,
  _insplots.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup,
  _insplots._InspectionLotType._Text[1:Language=$session.system_language].InspectionLotTypeText AS InspectionLotTypeText,
  _inspops.OperationText AS OperationText,
  _insplots._Material._Text[1:Language=$session.system_language].MaterialName AS MaterialName,
  _insplots.Batch AS Batch,
  _insplots.InspectionLotObjectText AS InspectionLotObjectText,
  _insplots.InspLotCreatedOnLocalDate AS InspLotCreatedOnLocalDate,
  _insplots.InspLotCreatedOnLocalTime AS InspLotCreatedOnLocalTime,
  _insplots.InspectionLotCreatedBy AS InspectionLotCreatedBy,
  _insplots.InspectionLotCreatedOn AS InspectionLotCreatedOn,
  _insplots.InspectionLotCreatedOnTime AS InspectionLotCreatedOnTime,
  _insplots.InspectionLotChangedBy AS InspectionLotChangedBy,
  _insplots.InspectionLotChangeDate AS InspectionLotChangeDate,
  _insplots.InspectionLotChangeTime AS InspectionLotChangeTime,
  _insplots.InspectionLotStartDate AS InspectionLotStartDate,
  _insplots.InspectionLotEndDate AS InspectionLotEndDate,
  _insplots.ProductionVersion AS ProductionVersion,
  _insplots.Customer AS Customer,
  _insplots.Supplier AS Supplier,
  _insplots.Manufacturer AS Manufacturer,
  _insplots.MaterialRevisionLevel AS MaterialRevisionLevel,
  _insplots.BatchStorageLocation AS BatchStorageLocation,
  _insplots.PurchasingDocument AS PurchasingDocument,
  _insplots.PurchasingDocumentItem AS PurchasingDocumentItem,
  _insplots.ScheduleLine AS ScheduleLine,
  _insplots.AccountingDocumentType AS AccountingDocumentType,
  _insplots.MaterialDocumentYear AS MaterialDocumentYear,
  _insplots.MaterialDocument AS MaterialDocument,
  _insplots.MaterialDocumentItem AS MaterialDocumentItem,
  _insplots.DeliveryDocument AS DeliveryDocument,
  _insplots.DeliveryDocumentItem AS DeliveryDocumentItem,
  _insplots.InspectionLotText AS InspectionLotText,
  _insplots.InspectionLotQuantity AS InspectionLotQuantity,
  _insplots._InspectionLotQuantityUnit._Text[1:Language=$session.system_language].UnitOfMeasure_E AS InspectionLotQuantityUnit,
  _insplots.SalesOrder AS SalesOrder,
  _insplots.SalesOrderItem AS SalesOrderItem,
  _InspOperationUsageDecision.InspectionLotQualityScore AS InspectionLotQualityScore,
  _InspOperationUsageDecision.InspOpUsageDecisionCatalog AS InspOpUsageDecisionCatalog,
  _InspOperationUsageDecision.InspOpUsgeDcsnSelectedSet AS InspOpUsgeDcsnSelectedSet,
  _InspOperationUsageDecision.UsageDecisionCodeGroup AS UsageDecisionCodeGroup,
  _InspOperationUsageDecision.UsageDecisionCode AS UsageDecisionCode,
  _InspOperationUsageDecision.InspOpUsgeDcsnDynValuation AS InspOpUsgeDcsnDynValuation,
  _InspOperationUsageDecision.InspOpUsgeDcsnFollowUpAction AS InspOpUsgeDcsnFollowUpAction,
  _InspOperationUsageDecision.InspectionOpUsageDecidedBy AS InspectionOpUsageDecidedBy,
  _InspOperationUsageDecision.InspOpUsageDecidedOn AS InspOpUsageDecidedOn,
  _InspOperationUsageDecision.InspOpUsageDecisionTime AS InspOpUsageDecisionTime,
  _InspOperationUsageDecision.InspOpUsageDecisionChangedBy AS InspOpUsageDecisionChangedBy,
  _InspOperationUsageDecision.InspOpUsageDecisionChangedOn AS InspOpUsageDecisionChangedOn,
  _InspOperationUsageDecision.InspOpUsgeDcsnChangedTime AS InspOpUsgeDcsnChangedTime,
  _stsObjConcatActiveStsILL.ConcatenatedActiveSystStsName AS SystemStatus,
  _stsObjConcatActiveStsILL.ConcatenatedActiveUserStsName AS UserStatus,
  _insplots.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  cast('' as abap.char( 1 )) AS InspLotRsltRecgStatus,
  cast('' as abap.char( 15 )) AS BatchBySupplier,
  cast('' as abap.char( 1 )) AS InspLotIsStockPostingCompleted,
  cast('' as abap.char( 1 )) AS InspectionLotIsSkipped,
  cast('' as abap.char( 1 )) AS InspectionLotIsFullInspection,
  cast(0 as abap.int4) AS NumberOfSerialNumbers,
  cast('' as abap.char( 8 )) AS SmplDrawingProcedure,
  cast('' as abap.char( 1 )) AS SmplDrwgProcedIsConfRequired,
  cast('' as abap.char( 4 )) AS InspectionDynamicStage,
  cast('' as abap.char( 3 )) AS InspectionSeverity,
  _insplots.InspectionLotHasPartialLots AS InspectionLotHasPartialLots,
  cast('' as abap.char( 1 )) AS InspLotIsAutomUsgeDcsnPossible,
  cast('' as abap.char( 1 )) AS InspLotHasConfignSpecification,
  cast('' as abap.char( 1 )) AS InspLotIsTaskListRequired,
  cast('' as abap.char( 1 )) AS InspLotHasManualSampleSize,
  cast('' as abap.char( 1 )) AS InspLotHasMaterialSpec,
  cast('' as abap.char( 1 )) AS InspLotDigitalSgntrResultsRecg,
  cast('' as abap.char( 1 )) AS InspLotIsBatchRequired,
  cast('' as abap.char( 1 )) AS InspectionLotHasUsageDecision,
  _insplots.GoodsReceiptIsMovedToBlkdStock AS GoodsReceiptIsMovedToBlkdStock,
  _insplots.InspectionLotHasQuantity AS InspectionLotHasQuantity,
  _insplots.InspLotIsDocumentationRequired AS InspLotIsDocumentationRequired,
  _insplots.InspectionLotApproval AS InspectionLotApproval,
  _insplots.InspLotDigitalSgntrInUsgeDcsn AS InspLotDigitalSgntrInUsgeDcsn,
  _insplots.BillOfOperationsType AS BillOfOperationsType,
  _insplots.BillOfOperationsGroup AS BillOfOperationsGroup,
  _insplots.BillOfOperationsUsage AS BillOfOperationsUsage,
  _insplots.BillOfOperationsVariant AS BillOfOperationsVariant,
  _insplots.InspLotSelectionValidFromDate AS InspLotSelectionValidFromDate,
  _insplots.ManufacturerPartNmbr AS ManufacturerPartNmbr,
  _insplots.MaterialIsBatchManaged AS MaterialIsBatchManaged,
  _insplots.MaterialCompIsSpecialStock AS MaterialCompIsSpecialStock,
  _insplots.PurchasingOrganization AS PurchasingOrganization,
  _insplots.GoodsMovementType AS GoodsMovementType,
  _insplots.InspectionLotPlant AS InspectionLotPlant,
  _insplots.InspectionLotStorageLocation AS InspectionLotStorageLocation,
  _insplots.Warehouse AS Warehouse,
  _insplots.StorageType AS StorageType,
  _insplots.StorageBin AS StorageBin,
  _insplots.InspectionDeliveryCategory AS DeliveryCategory,
  _insplots.Route AS Route,
  _insplots.BillToPartyCountry AS BillToPartyCountry,
  _insplots.SoldToParty AS SoldToParty,
  _insplots.SalesOrganization AS SalesOrganization,
  _insplots.MaterialByCustomer AS MaterialByCustomer,
  cast(_insplots.InspLotNmbrAddlRecordedCharc as abap.char( 6 )) AS InspLotNmbrAddlRecordedCharc,
  cast(_insplots.InspLotNmbrOpenShortTermCharc as abap.char( 6 )) AS InspLotNmbrOpenShortTermCharc,
  cast(_insplots.InspLotNmbrOpenLongTermCharc as abap.char( 6 )) AS InspLotNmbrOpenLongTermCharc,
  _insplots.MatlDocLatestPostgDate AS MatlDocLatestPostgDate,
  cast('' as abap.char( 24 ) ) AS SalesOrdStockWBSElement,
  _insplots.QualityCostCollector AS QualityCostCollector,
  _insplots.CostCenter AS CostCenter,
  _insplots.ProfitCenter AS ProfitCenter,
  _insplots.BusinessArea AS BusinessArea,
  _insplots.GLAccount AS GLAccount,
  _insplots.ControllingArea AS ControllingArea,
  _insplots.CompanyCode AS CompanyCode,
  _insplots.SerialNumberProfile AS SerialNumberProfile,
  _insplots.InspLotIsSerialNmbrPossible AS InspLotIsSerialNmbrPossible,
  _insplots.InspSubsetFieldCombination AS InspSubsetFieldCombination,
  cast('' as abap.char( 8 )) AS InspLotUsageDecisionCodeGroup,
  cast('' as abap.char( 4 )) AS InspectionLotUsageDecisionCode,
  cast('' as abap.char( 4 )) AS InspectionOperationPlant,
  cast('' as abap.char( 4 )) AS OperationControlProfile,
  cast('' as abap.char( 6 )) AS InspectionSubSystem,
  cast('' as abap.char( 10 )) AS OperationConfirmation,
  cast('' as abap.char( 4 )) AS InspectionCharacteristic,
  cast('' as abap.char( 1 )) AS InspectionCharacteristicStatus,
  cast('' as abap.char( 4 )) AS InspectionMethodPlant,
  cast('' as abap.char( 8 )) AS InspectionMethod,
  cast('' as abap.char( 4 )) AS InspectionSpecificationPlant,
  cast('' as abap.char( 8 )) AS InspectionSpecification,
  cast('' as abap.char( 2 )) AS InspSpecImportanceCode,
  cast('' as abap.char( 40 )) AS InspectionCharacteristicText,
  cast('' as abap.char( 5 )) AS InspectorQualification,
  cast('' as abap.char( 10 )) AS InspSpecInformationField1,
  cast('' as abap.char( 20 )) AS InspSpecInformationField2,
  cast('' as abap.char( 40 )) AS InspSpecInformationField3,
  cast('' as abap.char( 70 )) AS InspectionSubsetSortKey,
  cast('' as abap.char( 18 )) AS Equipment,
  cast('' as abap.char( 30 )) AS FunctionalLocation,
  cast('' as qphysprnr) AS MaterialSample,
  cast('' as abap.char( 18 )) AS InspectionSubsetLongCharKey,
  cast('' as abap.char( 10 )) AS InspectionSubsetShortCharKey,
  cast('' as abap.char( 10 )) AS InspSubsetLongNumericKey,
  cast('' as abap.char( 3 )) AS InspSubsetShortNumericKey,
  cast('' as abap.dats) AS InspectionSubsetDate,
  cast('' as abap.tims) AS InspectionSubsetTime,
  cast('' as abap.char( 8 )) AS InspSubsetUsageDcsnCodeGroup,
  cast('' as abap.char( 4 )) AS InspSubsetUsageDcsnCode,
  cast('' as abap.char( 1 )) AS InspSubsetUsageDcsnValuation,
  cast('' as abap.char( 2 )) AS MaterialSampleType,
  cast('' as abap.char( 1 )) AS MaterialSampleCategory,
  cast('' as abap.char( 4 )) AS StorageLocation,
  cast('' as abap.char( 12 )) AS MaterialSampleStorageLocation,
  cast('' as abap.char( 8 )) AS MaterialSampleChangedOn,
  cast('' as abap.char( 30 )) AS MaterialSampleDrawingLocation,
  cast('' as abap.char( 60 )) AS MatlSmplDrawingLocDescription,
  cast('' as abap.char( 8 )) AS MaterialSampleDrawingOnDate,
  cast('' as abap.char( 6 )) AS MaterialSampleDrawingOnTime,
  cast('' as abap.char( 20 )) AS MaterialSampleResponsibleName,
  cast('' as abap.char( 4 )) AS ProductionPlant,
  cast('' as abap.char( 40 )) AS InspectionSpecificationText
FROM I_InspectionLot AS _insplots
INNER JOIN I_InspectionOperation AS _inspops ON /* join condition not captured in parsed metadata */
INNER JOIN I_InspOperationAggregate AS _inspoperaggrgt ON /* join condition not captured in parsed metadata */
;