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

C_QM_InspectionLots

DDL: C_QM_INSPECTIONLOTS SQL: CQMINSPLOTS Type: view CONSUMPTION

Inspection lots for main page

C_QM_InspectionLots is a Consumption CDS View that provides data about "Inspection lots for main page" in SAP S/4HANA. It reads from 2 data sources (I_InspectionLot, C_Inspopers_Dstnct) and exposes 203 fields with key field InspectionLot.

Data Sources (2)

SourceAliasJoin Type
I_InspectionLot _insplots from
C_Inspopers_Dstnct _inspops_dst inner

Annotations (8)

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

Fields (203)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot I_InspectionLot InspectionLot Inspection Lot
MaterialSampleCount
ManufacturingOrder I_InspectionLot ManufacturingOrder Order
Plant I_InspectionLot Plant Valuation Area
Material I_InspectionLot Material Vehicle Model
InspLotUsageDecisionValuation _InspLotUsageDecision InspLotUsageDecisionValuation
InspectionLotOrigin I_InspectionLot InspectionLotOrigin
InspectionLotOriginText
InspectionLotType I_InspectionLot InspectionLotType Inspection Type
InspectionLotTypeText
MaterialName
Batch I_InspectionLot Batch Lot No.
InspCharCount
InspectionLotText I_InspectionLot InspectionLotText
InspectionLotQuantity I_InspectionLot InspectionLotQuantity
InspectionLotObjectText I_InspectionLot InspectionLotObjectText Obj short text
MatlQualityAuthorizationGroup I_InspectionLot MatlQualityAuthorizationGroup QM Matl Auth.
MatlQltyAuthorizationGrpText
GoodsReceiptIsMovedToBlkdStock I_InspectionLot GoodsReceiptIsMovedToBlkdStock GR Blocked Stck
InspectionLotHasQuantity I_InspectionLot InspectionLotHasQuantity
InspectionLotApproval I_InspectionLot InspectionLotApproval
InspLotDigitalSgntrResultsRecg I_InspectionLot InspLotDigitalSgntrResultsRecg Dig. Sig. in RR
InspLotDigitalSgntrInUsgeDcsn I_InspectionLot InspLotDigitalSgntrInUsgeDcsn
InspectionLotCreatedBy I_InspectionLot InspectionLotCreatedBy Created By
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
BillOfOperationsType I_InspectionLot BillOfOperationsType Task List Type
BillOfOperationsTypeName
BillOfOperationsGroup I_InspectionLot BillOfOperationsGroup Group
BillOfOperationsUsage I_InspectionLot BillOfOperationsUsage
BillOfOperationsUsageDesc
BillOfOperationsVariant I_InspectionLot BillOfOperationsVariant Group Counter
InspLotSelectionValidFromDate I_InspectionLot InspLotSelectionValidFromDate Valid From
ProductionVersion I_InspectionLot ProductionVersion Version ID
Manufacturer I_InspectionLot Manufacturer Manufacturer
ManufacturerPartNmbr I_InspectionLot ManufacturerPartNmbr Mfr Part Number
MaterialRevisionLevel I_InspectionLot MaterialRevisionLevel Revision Level
MaterialIsBatchManaged I_InspectionLot MaterialIsBatchManaged
BatchStorageLocation I_InspectionLot BatchStorageLocation
MaterialCompIsSpecialStock I_InspectionLot MaterialCompIsSpecialStock Special Stock
PurchasingOrganization I_InspectionLot PurchasingOrganization Purchasing Organization
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
MatlDocLatestPostgDate I_InspectionLot MatlDocLatestPostgDate Posting Date
GoodsMovementType I_InspectionLot GoodsMovementType Movement Type
InspectionLotPlant I_InspectionLot InspectionLotPlant
InspectionLotStorageLocation I_InspectionLot InspectionLotStorageLocation
SalesOrder I_InspectionLot SalesOrder SD Document
SalesOrderItem I_InspectionLot SalesOrderItem Sales Order Item
DeliveryDocument I_InspectionLot DeliveryDocument Outbound Delivery
DeliveryDocumentItem I_InspectionLot DeliveryDocumentItem Outb. Delivery Item
DeliveryCategory I_InspectionLot InspectionDeliveryCategory Delivery cat.
Route I_InspectionLot Route Vehicle route
BillToPartyCountry I_InspectionLot BillToPartyCountry Dst.CtryRg.Ord.
SalesOrganization I_InspectionLot SalesOrganization Sales Organization
MaterialByCustomer I_InspectionLot MaterialByCustomer Customer Mat.
InspCharOpenCount InspOpAggr InspCharOpenCount
InspCharAcceptedCount InspOpAggr InspCharAcceptedCount
InspCharRejectedCount InspOpAggr InspCharRejectedCount
InspOpNmbrOfOpen InspOpAggr InspOpNmbrOfOpen
InspOpNmbrOfRjctd InspOpAggr InspOpNmbrOfRjctd
InspOpNmbrOfAccepted InspOpAggr InspOpNmbrOfAccepted
InspOpNmbrOfAcceptedCmpltd InspOpAggr InspOpNmbrOfAcceptedCmpltd
InspOpNmbrOfRjctdCmpltd InspOpAggr InspOpNmbrOfRjctdCmpltd
InspOpNmbrOfOpenCmpltd InspOpAggr InspOpNmbrOfOpenCmpltd
InspLotNmbrAddlRecordedCharc
InspLotNmbrOpenShortTermCharc
InspLotNmbrOpenLongTermCharc
InspectionLotQuantityUnit
InspectionLotContainer I_InspectionLot InspectionLotContainer No. Containers
InspectionLotContainerUnit
InspectionLotSampleQuantity I_InspectionLot InspectionLotSampleQuantity Sample Size
InspectionLotSampleUnit
InspLotQtyToFree I_InspectionLot InspLotQtyToFree
InspLotQtyToScrap I_InspectionLot InspLotQtyToScrap
InspLotQtyToSample I_InspectionLot InspLotQtyToSample Sample
InspLotQtyToBlocked I_InspectionLot InspLotQtyToBlocked
InspLotQtyToReserves I_InspectionLot InspLotQtyToReserves Reserves
InspLotQtyToAnotherMaterial I_InspectionLot InspLotQtyToAnotherMaterial
InspLotMaterialPostedTo I_InspectionLot InspLotMaterialPostedTo
InspLotBatchTransferredTo I_InspectionLot InspLotBatchTransferredTo
InspLotQtyReturnedToSupplier I_InspectionLot InspLotQtyReturnedToSupplier
InspLotQtyToSpecialStock I_InspectionLot InspLotQtyToSpecialStock
InspLotQtyToOtherStock I_InspectionLot InspLotQtyToOtherStock
InspLotQtyToBePosted I_InspectionLot InspLotQtyToBePosted
InspLotSmplQtyForLongTermChar I_InspectionLot InspLotSmplQtyForLongTermChar
InspLotQtyInspected I_InspectionLot InspLotQtyInspected
InspLotQtyDestroyed I_InspectionLot InspLotQtyDestroyed
InspectionLotActualQuantity I_InspectionLot InspectionLotActualQuantity
InspectionLotDefectiveQuantity I_InspectionLot InspectionLotDefectiveQuantity
InspectionLotScrapRatio I_InspectionLot InspectionLotScrapRatio Share of Scrap
QualityCostCollector I_InspectionLot QualityCostCollector QM Order
AccountAssignmentCategory I_InspectionLot AccountAssignmentCategory Acct Assgmt Cat
CostCenter I_InspectionLot CostCenter Cost Center
SalesOrdStockWBSElement
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
InspLotExternalNumber I_InspectionLot InspLotExternalNumber
InspLotCreatedOnLocalDate I_InspectionLot InspLotCreatedOnLocalDate Lot Created
InspLotCreatedOnLocalTime I_InspectionLot InspLotCreatedOnLocalTime
InspectionLotCreatedOn I_InspectionLot InspectionLotCreatedOn Created On
InspectionLotCreatedOnTime I_InspectionLot InspectionLotCreatedOnTime
SoldToParty I_InspectionLot SoldToParty Sold-to Party
Customer I_InspectionLot Customer Sold-to Party
Supplier I_InspectionLot Supplier Supplier
IsBusinessPurposeCompleted I_InspectionLot IsBusinessPurposeCompleted Purpose Completed
InspectionLotQualityScore _InspLotUsageDecision InspectionLotQualityScore Inspection Lot Score
InspLotUsageDecisionCatalog _InspLotUsageDecision InspLotUsageDecisionCatalog
InspLotUsgeDcsnSelectedSet _InspLotUsageDecision InspLotUsgeDcsnSelectedSet
InspLotUsageDecisionCodeGroup _InspLotUsageDecision InspLotUsageDecisionCodeGroup
InspectionLotUsageDecisionCode _InspLotUsageDecision InspectionLotUsageDecisionCode
InspLotUsgeDcsnDynValuation _InspLotUsageDecision InspLotUsgeDcsnDynValuation
InspLotUsgeDcsnFollowUpAction _InspLotUsageDecision InspLotUsgeDcsnFollowUpAction
InspectionLotUsageDecidedBy _InspLotUsageDecision InspectionLotUsageDecidedBy
InspectionLotUsageDecidedOn _InspLotUsageDecision InspectionLotUsageDecidedOn
InspLotUsageDecisionTime _InspLotUsageDecision InspLotUsageDecisionTime
InspLotUsageDecisionChangedBy _InspLotUsageDecision InspLotUsageDecisionChangedBy
InspLotUsageDecisionChangedOn _InspLotUsageDecision InspLotUsageDecisionChangedOn
InspLotUsgeDcsnChangedTime _InspLotUsageDecision InspLotUsgeDcsnChangedTime
BatchBySupplier I_InspectionLot BatchBySupplier Supplier Batch
InspLotCostCollectorWBSElement
SystemStatus _stsObjConcatActiveStsILL ConcatenatedActiveSystStsName Concatenated System Status
UserStatus _stsObjConcatActiveStsILL ConcatenatedActiveUserStsName Concatenated User Status
InspLotRsltRecgStatus
InspLotIsStockPostingCompleted
InspectionLotIsSkipped
InspectionLotIsFullInspection
NumberOfSerialNumbers
SmplDrwgProcedIsConfRequired
InspectionDynamicStage
InspectionSeverity
InspectionLotHasPartialLots I_InspectionLot InspectionLotHasPartialLots Partial Lots
InspLotIsAutomUsgeDcsnPossible
InspLotHasConfignSpecification
InspLotIsTaskListRequired
InspLotHasManualSampleSize
InspLotHasMaterialSpec
InspLotIsBatchRequired
InspectionLotHasUsageDecision
InspLotIsDocumentationRequired
InspectionLotStartTime
InspectionLotEndTime
SmplDrawingProcedure I_InspectionLot SmplDrawingProcedure
Warehouse I_InspectionLot Warehouse Warehouse No.
StorageType I_InspectionLot StorageType Storage Type
StorageBin I_InspectionLot StorageBin Storage Bin
InspectionOperation
InspectionOperationPlant
OperationControlProfile
OperationText
InspectionSubSystem
OperationConfirmation
WorkCenter
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_InspectionLots.
-- 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: CQMINSPLOTS

CREATE VIEW C_QM_InspectionLots AS
SELECT
  _insplots.InspectionLot AS InspectionLot,
  cast(_insplotaggrgt.MaterialSampleCount as abap.int4 ) AS MaterialSampleCount,
  _insplots.ManufacturingOrder AS ManufacturingOrder,
  _insplots.Plant AS Plant,
  _insplots.Material AS Material,
  _InspLotUsageDecision.InspLotUsageDecisionValuation AS InspLotUsageDecisionValuation,
  _insplots.InspectionLotOrigin AS InspectionLotOrigin,
  _insplots._InspectionLotOrigin._Text[1:Language=$session.system_language].InspectionLotOriginText AS InspectionLotOriginText,
  _insplots.InspectionLotType AS InspectionLotType,
  _insplots._InspectionLotType._Text[1:Language=$session.system_language].InspectionLotTypeText AS InspectionLotTypeText,
  _insplots._Material._Text[1:Language=$session.system_language].MaterialName AS MaterialName,
  _insplots.Batch AS Batch,
  cast(0 as abap.int4) AS InspCharCount,
  _insplots.InspectionLotText AS InspectionLotText,
  _insplots.InspectionLotQuantity AS InspectionLotQuantity,
  _insplots.InspectionLotObjectText AS InspectionLotObjectText,
  _insplots.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup,
  _matlQualityAuthGroup._Text[1:Language=$session.system_language].MatlQltyAuthorizationGrpText AS MatlQltyAuthorizationGrpText,
  _insplots.GoodsReceiptIsMovedToBlkdStock AS GoodsReceiptIsMovedToBlkdStock,
  _insplots.InspectionLotHasQuantity AS InspectionLotHasQuantity,
  _insplots.InspectionLotApproval AS InspectionLotApproval,
  _insplots.InspLotDigitalSgntrResultsRecg AS InspLotDigitalSgntrResultsRecg,
  _insplots.InspLotDigitalSgntrInUsgeDcsn AS InspLotDigitalSgntrInUsgeDcsn,
  _insplots.InspectionLotCreatedBy AS InspectionLotCreatedBy,
  _insplots.InspectionLotChangedBy AS InspectionLotChangedBy,
  _insplots.InspectionLotChangeDate AS InspectionLotChangeDate,
  _insplots.InspectionLotChangeTime AS InspectionLotChangeTime,
  _insplots.InspectionLotStartDate AS InspectionLotStartDate,
  _insplots.InspectionLotEndDate AS InspectionLotEndDate,
  _insplots.BillOfOperationsType AS BillOfOperationsType,
  _billOfOperationsType._Text[1:Language=$session.system_language].BillOfOperationsTypeName AS BillOfOperationsTypeName,
  _insplots.BillOfOperationsGroup AS BillOfOperationsGroup,
  _insplots.BillOfOperationsUsage AS BillOfOperationsUsage,
  _billOfOperationsUsage._Text[1:Language=$session.system_language].BillOfOperationsUsageDesc AS BillOfOperationsUsageDesc,
  _insplots.BillOfOperationsVariant AS BillOfOperationsVariant,
  _insplots.InspLotSelectionValidFromDate AS InspLotSelectionValidFromDate,
  _insplots.ProductionVersion AS ProductionVersion,
  _insplots.Manufacturer AS Manufacturer,
  _insplots.ManufacturerPartNmbr AS ManufacturerPartNmbr,
  _insplots.MaterialRevisionLevel AS MaterialRevisionLevel,
  _insplots.MaterialIsBatchManaged AS MaterialIsBatchManaged,
  _insplots.BatchStorageLocation AS BatchStorageLocation,
  _insplots.MaterialCompIsSpecialStock AS MaterialCompIsSpecialStock,
  _insplots.PurchasingOrganization AS PurchasingOrganization,
  _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.MatlDocLatestPostgDate AS MatlDocLatestPostgDate,
  _insplots.GoodsMovementType AS GoodsMovementType,
  _insplots.InspectionLotPlant AS InspectionLotPlant,
  _insplots.InspectionLotStorageLocation AS InspectionLotStorageLocation,
  _insplots.SalesOrder AS SalesOrder,
  _insplots.SalesOrderItem AS SalesOrderItem,
  _insplots.DeliveryDocument AS DeliveryDocument,
  _insplots.DeliveryDocumentItem AS DeliveryDocumentItem,
  _insplots.InspectionDeliveryCategory AS DeliveryCategory,
  _insplots.Route AS Route,
  _insplots.BillToPartyCountry AS BillToPartyCountry,
  _insplots.SalesOrganization AS SalesOrganization,
  _insplots.MaterialByCustomer AS MaterialByCustomer,
  InspOpAggr.InspCharOpenCount AS InspCharOpenCount,
  InspOpAggr.InspCharAcceptedCount AS InspCharAcceptedCount,
  InspOpAggr.InspCharRejectedCount AS InspCharRejectedCount,
  InspOpAggr.InspOpNmbrOfOpen AS InspOpNmbrOfOpen,
  InspOpAggr.InspOpNmbrOfRjctd AS InspOpNmbrOfRjctd,
  InspOpAggr.InspOpNmbrOfAccepted AS InspOpNmbrOfAccepted,
  InspOpAggr.InspOpNmbrOfAcceptedCmpltd AS InspOpNmbrOfAcceptedCmpltd,
  InspOpAggr.InspOpNmbrOfRjctdCmpltd AS InspOpNmbrOfRjctdCmpltd,
  InspOpAggr.InspOpNmbrOfOpenCmpltd AS InspOpNmbrOfOpenCmpltd,
  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._InspectionLotQuantityUnit._Text[1:Language=$session.system_language].UnitOfMeasure_E AS InspectionLotQuantityUnit,
  _insplots.InspectionLotContainer AS InspectionLotContainer,
  _insplots._InspectionLotContainerUnit._Text[1:Language=$session.system_language].UnitOfMeasure_E AS InspectionLotContainerUnit,
  _insplots.InspectionLotSampleQuantity AS InspectionLotSampleQuantity,
  _insplots._InspectionLotSampleUnit._Text[1:Language=$session.system_language].UnitOfMeasure_E AS InspectionLotSampleUnit,
  _insplots.InspLotQtyToFree AS InspLotQtyToFree,
  _insplots.InspLotQtyToScrap AS InspLotQtyToScrap,
  _insplots.InspLotQtyToSample AS InspLotQtyToSample,
  _insplots.InspLotQtyToBlocked AS InspLotQtyToBlocked,
  _insplots.InspLotQtyToReserves AS InspLotQtyToReserves,
  _insplots.InspLotQtyToAnotherMaterial AS InspLotQtyToAnotherMaterial,
  _insplots.InspLotMaterialPostedTo AS InspLotMaterialPostedTo,
  _insplots.InspLotBatchTransferredTo AS InspLotBatchTransferredTo,
  _insplots.InspLotQtyReturnedToSupplier AS InspLotQtyReturnedToSupplier,
  _insplots.InspLotQtyToSpecialStock AS InspLotQtyToSpecialStock,
  _insplots.InspLotQtyToOtherStock AS InspLotQtyToOtherStock,
  _insplots.InspLotQtyToBePosted AS InspLotQtyToBePosted,
  _insplots.InspLotSmplQtyForLongTermChar AS InspLotSmplQtyForLongTermChar,
  _insplots.InspLotQtyInspected AS InspLotQtyInspected,
  _insplots.InspLotQtyDestroyed AS InspLotQtyDestroyed,
  _insplots.InspectionLotActualQuantity AS InspectionLotActualQuantity,
  _insplots.InspectionLotDefectiveQuantity AS InspectionLotDefectiveQuantity,
  _insplots.InspectionLotScrapRatio AS InspectionLotScrapRatio,
  _insplots.QualityCostCollector AS QualityCostCollector,
  _insplots.AccountAssignmentCategory AS AccountAssignmentCategory,
  _insplots.CostCenter AS CostCenter,
  cast('' as abap.char( 24 ) ) AS SalesOrdStockWBSElement,
  _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.InspLotExternalNumber AS InspLotExternalNumber,
  _insplots.InspLotCreatedOnLocalDate AS InspLotCreatedOnLocalDate,
  _insplots.InspLotCreatedOnLocalTime AS InspLotCreatedOnLocalTime,
  _insplots.InspectionLotCreatedOn AS InspectionLotCreatedOn,
  _insplots.InspectionLotCreatedOnTime AS InspectionLotCreatedOnTime,
  _insplots.SoldToParty AS SoldToParty,
  _insplots.Customer AS Customer,
  _insplots.Supplier AS Supplier,
  _insplots.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  _InspLotUsageDecision.InspectionLotQualityScore AS InspectionLotQualityScore,
  _InspLotUsageDecision.InspLotUsageDecisionCatalog AS InspLotUsageDecisionCatalog,
  _InspLotUsageDecision.InspLotUsgeDcsnSelectedSet AS InspLotUsgeDcsnSelectedSet,
  _InspLotUsageDecision.InspLotUsageDecisionCodeGroup AS InspLotUsageDecisionCodeGroup,
  _InspLotUsageDecision.InspectionLotUsageDecisionCode AS InspectionLotUsageDecisionCode,
  _InspLotUsageDecision.InspLotUsgeDcsnDynValuation AS InspLotUsgeDcsnDynValuation,
  _InspLotUsageDecision.InspLotUsgeDcsnFollowUpAction AS InspLotUsgeDcsnFollowUpAction,
  _InspLotUsageDecision.InspectionLotUsageDecidedBy AS InspectionLotUsageDecidedBy,
  _InspLotUsageDecision.InspectionLotUsageDecidedOn AS InspectionLotUsageDecidedOn,
  _InspLotUsageDecision.InspLotUsageDecisionTime AS InspLotUsageDecisionTime,
  _InspLotUsageDecision.InspLotUsageDecisionChangedBy AS InspLotUsageDecisionChangedBy,
  _InspLotUsageDecision.InspLotUsageDecisionChangedOn AS InspLotUsageDecisionChangedOn,
  _InspLotUsageDecision.InspLotUsgeDcsnChangedTime AS InspLotUsgeDcsnChangedTime,
  _insplots.BatchBySupplier AS BatchBySupplier,
  cast('' as abap.char( 24 ) ) AS InspLotCostCollectorWBSElement,
  _stsObjConcatActiveStsILL.ConcatenatedActiveSystStsName AS SystemStatus,
  _stsObjConcatActiveStsILL.ConcatenatedActiveUserStsName AS UserStatus,
  cast('' as abap.char( 1 )) AS InspLotRsltRecgStatus,
  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( 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 InspLotIsBatchRequired,
  cast('' as abap.char( 1 )) AS InspectionLotHasUsageDecision,
  cast('' as abap.char( 1 )) AS InspLotIsDocumentationRequired,
  cast('' as abap.tims) AS InspectionLotStartTime,
  cast('' as abap.tims) AS InspectionLotEndTime,
  _insplots.SmplDrawingProcedure AS SmplDrawingProcedure,
  _insplots.Warehouse AS Warehouse,
  _insplots.StorageType AS StorageType,
  _insplots.StorageBin AS StorageBin,
  cast('' as abap.char( 4 )) AS InspectionOperation,
  cast('' as abap.char( 4 )) AS InspectionOperationPlant,
  cast('' as abap.char( 4 )) AS OperationControlProfile,
  cast('' as abap.char( 40 )) AS OperationText,
  cast('' as abap.char( 6 )) AS InspectionSubSystem,
  cast('' as abap.char( 10 )) AS OperationConfirmation,
  cast('' as abap.char( 8 )) AS WorkCenter,
  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 C_Inspopers_Dstnct AS _inspops_dst ON /* join condition not captured in parsed metadata */
;