C_Insplotmng
Manage Inspection Lots
C_Insplotmng is a Consumption CDS View that provides data about "Manage Inspection Lots" in SAP S/4HANA. It reads from 1 data source (I_InspectionLot) and exposes 150 fields with key field InspectionLot. It has 15 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_InspectionLot | _InspLot | from |
Associations (15)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_InspectionLotType | _InspectionLotType | $projection.InspectionLotType = _InspectionLotType.InspectionLotType |
| [0..1] | I_Batch | _Batch | $projection.Batch = _Batch.Batch and $projection.Material = _Batch.Material and $projection.Plant = _Batch.Plant |
| [1..1] | I_InspectionLotAggregate | _InspLotAgg | $projection.InspectionLot = _InspLotAgg.InspectionLot |
| [1..1] | I_InspLotUsageDecision | _InspUsageDec | $projection.InspectionLot = _InspUsageDec.InspectionLot |
| [0..1] | C_InspectionLotApprFltT | _InspectionLotApprFltT | $projection.InspectionLotApproval = _InspectionLotApprFltT.InspectionLotApproval |
| [1..1] | I_InspectionLotWithStatus | _InspectionLotWithStatus | $projection.InspectionLot = _InspectionLotWithStatus.InspectionLot |
| [0..1] | C_InspLotDigiSgntrInUsgeDcsnT | _InspLotDigiSgntrInUsgeDcsnT | $projection.InspLotDigitalSgntrInUsgeDcsn = _InspLotDigiSgntrInUsgeDcsnT.InspLotDigitalSgntrInUsgeDcsn |
| [0..1] | C_InspLotRsltRecgStatusT | _InspLotRsltRecgStatusT | $projection.InspLotRsltRecgStatus = _InspLotRsltRecgStatusT.InspLotRsltRecgStatus |
| [0..1] | C_InspLotCompltnStatusT | _InspLotCompltnStatusT | $projection.InspLotCompltnStatus = _InspLotCompltnStatusT.InspLotCompltnStatus |
| [0..1] | C_InspLotDefectCount | _InspLotDefectCount | $projection.InspectionLot = _InspLotDefectCount.InspectionLot |
| [1..1] | E_InspectionLot | _Extension | $projection.InspectionLot = _Extension.InspectionLot |
| [0..*] | C_InspLotMngSerialNumber | _InspLotSerialNumber | $projection.InspectionLot = _InspLotSerialNumber.InspectionLot |
| [0..1] | I_InspectionLotApprovalStatus | _InspLotApprovalStatus | $projection.InspectionLot = _InspLotApprovalStatus.InspectionLot |
| [0..1] | I_StatusCodeText | _InspLotApprovalStatusT | $projection.StatusProfile = _InspLotApprovalStatusT.StatusProfile and $projection.statuscode = _InspLotApprovalStatusT.StatusCode and _InspLotApprovalStatusT.Language = $session.system_language |
| [0..1] | I_InspLotForFirstArticleInspVH | _InspLotForFirstArticleInspVH | $projection.InspLotForFirstArticleInsp = _InspLotForFirstArticleInspVH.InspLotForFirstArticleInsp |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Manage Inspection Lots | view | |
| AbapCatalog.sqlViewName | CINSPLOTMNG | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| UI.headerInfo.description.label | Inspection Lot | view | |
| UI.headerInfo.description.type | #STANDARD | view | |
| UI.headerInfo.description.value | InspectionLotText | view | |
| UI.headerInfo.title.label | Inspection Lot | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.value | InspectionLot | view | |
| UI.headerInfo.typeNamePlural | Inspection Lots | view | |
| UI.headerInfo.typeName | Inspection Lot | view |
Fields (150)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionLot | I_InspectionLot | InspectionLot | Inspection Lot |
| StatusProfile | I_InspectionLot | StatusProfile | Status Profile | |
| StatusShortName | _InspLotApprovalStatus | StatusShortName | Inspection Lot Approval Status | |
| StatusCode | _InspLotApprovalStatus | StatusCode | Statuscode | |
| InspectionLotOrigin | I_InspectionLot | InspectionLotOrigin | ||
| InspectionLotOriginText | ||||
| Plant | I_InspectionLot | Plant | Valuation Area | |
| Material | I_InspectionLot | Material | Vehicle Model | |
| InspectionLotApprovalText | ||||
| InspectionLotApproval | I_InspectionLot | InspectionLotApproval | ||
| InspectionLotEndDate | I_InspectionLot | InspectionLotEndDate | End Date | |
| InspectionLotText | I_InspectionLot | InspectionLotText | ||
| InspectionLotType | I_InspectionLot | InspectionLotType | Inspection Type | |
| Batch | I_InspectionLot | Batch | Lot No. | |
| InspCharCount | ||||
| InspCharacteristicCount | ||||
| NumberOfDefects | ||||
| InspectionLotStartDate | I_InspectionLot | InspectionLotStartDate | Start Date | |
| SalesOrdStockWBSElement | I_InspectionLot | SalesOrdStockWBSElement | WBS Element | |
| WBSDescription | ||||
| InventorySpclStkSalesDocument | ||||
| QualityCostCollector | I_InspectionLot | QualityCostCollector | QM Order | |
| CostCenter | I_InspectionLot | CostCenter | Cost Center | |
| ProfitCenter | I_InspectionLot | ProfitCenter | Profit Center | |
| InspLotIsAutomUsgeDcsnPossible | ||||
| InspLotIsDocumentationRequired | ||||
| InspLotDgtlSgntrInUsgeDcsnTxt | ||||
| InspLotDigitalSgntrInUsgeDcsn | I_InspectionLot | InspLotDigitalSgntrInUsgeDcsn | ||
| InspLotIsBatchRequired | ||||
| InspectionLotHasUsageDecision | ||||
| InspectionLotHasQuantity | ||||
| InspLotIsStockPostingCompleted | ||||
| MaterialDocumentYear | I_InspectionLot | MaterialDocumentYear | Material Document Year | |
| MaterialDocument | I_InspectionLot | MaterialDocument | Material Doc. | |
| BatchStorageLocation | I_InspectionLot | BatchStorageLocation | ||
| InspectionLotStorageLocation | I_InspectionLot | InspectionLotStorageLocation | ||
| InspLotCreatedOnLocalDate | I_InspectionLot | InspLotCreatedOnLocalDate | Lot Created | |
| InspectionLotCreatedBy | I_InspectionLot | InspectionLotCreatedBy | Created By | |
| InspectionLotCreatedOn | I_InspectionLot | InspectionLotCreatedOn | Created On | |
| InspectionLotChangedBy | I_InspectionLot | InspectionLotChangedBy | Changed By | |
| InspectionLotChangeDate | I_InspectionLot | InspectionLotChangeDate | Changed On | |
| BatchBySupplier | _Batch | BatchBySupplier | Supplier Batch | |
| InspectionLotObjectText | I_InspectionLot | InspectionLotObjectText | Obj short text | |
| MatlQualityAuthorizationGroup | I_InspectionLot | MatlQualityAuthorizationGroup | QM Matl Auth. | |
| Supplier | I_InspectionLot | Supplier | Supplier | |
| SupplierName | ||||
| Manufacturer | I_InspectionLot | Manufacturer | Manufacturer | |
| ManufacturerName | ||||
| ManufacturerPartNmbr | I_InspectionLot | ManufacturerPartNmbr | Mfr Part Number | |
| ManufacturerPartNmbrText | ||||
| PurchasingOrganization | I_InspectionLot | PurchasingOrganization | Purchasing Organization | |
| PurchasingOrganizationName | ||||
| PurchasingDocument | I_InspectionLot | PurchasingDocument | Purchasing Document | |
| AccountingDocumentType | I_InspectionLot | AccountingDocumentType | Journal Entry Type | |
| SalesOperationsPlanningOrder | I_InspectionLot | SalesOperationsPlanningOrder | ||
| ProductionVersion | I_InspectionLot | ProductionVersion | Version ID | |
| ManufacturingOrder | I_InspectionLot | ManufacturingOrder | Order | |
| Customer | I_InspectionLot | Customer | Sold-to Party | |
| CustomerName | ||||
| SalesOrder | I_InspectionLot | SalesOrder | SD Document | |
| DeliveryDocument | I_InspectionLot | DeliveryDocument | Outbound Delivery | |
| SoldToParty | I_InspectionLot | SoldToParty | Sold-to Party | |
| SoldToPartyName | ||||
| SalesOrganization | I_InspectionLot | SalesOrganization | Sales Organization | |
| SalesOrganizationName | ||||
| MaterialByCustomer | I_InspectionLot | MaterialByCustomer | Customer Mat. | |
| SmplDrwgProcedIsConfRequired | ||||
| InspLotUsgeDcsnValuationText | ||||
| InspectionLotQualityScore | _InspUsageDec | InspectionLotQualityScore | Inspection Lot Score | |
| InspLotUsageDecisionCodeGroup | ||||
| UsageDecisionCodeGroupText | ||||
| InspectionLotUsageDecisionCode | _InspUsageDec | InspectionLotUsageDecisionCode | ||
| UsageDecisionCodeText | ||||
| InspLotUsgeDcsnFollowUpAction | _InspUsageDec | InspLotUsgeDcsnFollowUpAction | ||
| InspectionLotUsageDecidedBy | _InspUsageDec | InspectionLotUsageDecidedBy | ||
| InspectionLotUsageDecidedOn | ||||
| InspLotUsageDecisionChangedBy | _InspUsageDec | InspLotUsageDecisionChangedBy | ||
| InspLotUsageDecisionChangedOn | _InspUsageDec | InspLotUsageDecisionChangedOn | ||
| MaterialName | ||||
| InspectionLotTypeText | ||||
| PlantName | ||||
| InspectionLotIsSkipped | ||||
| InspLotIsTaskListRequired | ||||
| Equipment | I_InspectionLot | Equipment | Equipment check | |
| FunctionalLocation | I_InspectionLot | FunctionalLocation | Object ID | |
| InspLotCreatedOnLocalTime | I_InspectionLot | InspLotCreatedOnLocalTime | ||
| InspectionLotCreatedOnTime | I_InspectionLot | InspectionLotCreatedOnTime | ||
| InspectionLotChangeTime | I_InspectionLot | InspectionLotChangeTime | ||
| InspectionLotStartTime | I_InspectionLot | InspectionLotStartTime | ||
| InspectionLotEndTime | I_InspectionLot | InspectionLotEndTime | ||
| InspLotSelectionMaterial | ||||
| MaterialRevisionLevel | I_InspectionLot | MaterialRevisionLevel | Revision Level | |
| MaterialCompIsSpecialStock | I_InspectionLot | MaterialCompIsSpecialStock | Special Stock | |
| PurchasingDocumentItem | I_InspectionLot | PurchasingDocumentItem | Purchasing Doc. Item | |
| ScheduleLine | I_InspectionLot | ScheduleLine | Schedule Line | |
| MaterialDocumentItem | I_InspectionLot | MaterialDocumentItem | Material Document Item | |
| MatlDocLatestPostgDate | I_InspectionLot | MatlDocLatestPostgDate | Posting Date | |
| InspectionLotPlant | I_InspectionLot | InspectionLotPlant | ||
| SalesOrderItem | I_InspectionLot | SalesOrderItem | Sales Order Item | |
| DeliveryDocumentItem | I_InspectionLot | DeliveryDocumentItem | Outb. Delivery Item | |
| BillToPartyCountry | I_InspectionLot | BillToPartyCountry | Dst.CtryRg.Ord. | |
| InspLotNmbrOpenLongTermCharc | I_InspectionLot | InspLotNmbrOpenLongTermCharc | ||
| InspectionLotQuantity | I_InspectionLot | InspectionLotQuantity | ||
| InspectionLotQuantityUnit | I_InspectionLot | InspectionLotQuantityUnit | Sample UOM | |
| InspectionLotContainer | I_InspectionLot | InspectionLotContainer | No. Containers | |
| InspectionLotContainerUnit | I_InspectionLot | InspectionLotContainerUnit | Lot Container | |
| InspectionLotSampleQuantity | I_InspectionLot | InspectionLotSampleQuantity | Sample Size | |
| InspectionLotSampleUnit | I_InspectionLot | 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 | |
| InspLotExternalNumber | I_InspectionLot | InspLotExternalNumber | ||
| InspLotUsgeDcsnChangedTime | _InspUsageDec | InspLotUsgeDcsnChangedTime | ||
| InspLotUsgeDcsnSelectedSet | _InspUsageDec | InspLotUsgeDcsnSelectedSet | ||
| InspLotUsageDecisionTime | _InspUsageDec | InspLotUsageDecisionTime | ||
| InspLotNmbrOpenShortTermCharc | I_InspectionLot | InspLotNmbrOpenShortTermCharc | Short-Term Char | |
| InspLotHasSubsets | I_InspectionLot | InspLotHasSubsets | Prod. insp. | |
| IsBusinessPurposeCompleted | I_InspectionLot | IsBusinessPurposeCompleted | Purpose Completed | |
| SerialNumberProfile | SerialNumberProfile | SerialNoProfile | ||
| InspLotIsSerialNmbrPossible | InspLotIsSerialNmbrPossible | Serial Numbers | ||
| SerialNumber | Serial Number | |||
| InspLotForFirstArticleInsp | I_InspectionLot | InspLotForFirstArticleInsp | Created for FAI | |
| InspLotForFirstArticleInspText | _InspLotForFirstArticleInspVH | InspLotForFirstArticleInspText | ||
| _InspUsageDec | _InspUsageDec | |||
| _InspectionLotType | _InspectionLotType | |||
| _InspectionLotApprFltT | _InspectionLotApprFltT | |||
| _InspectionLotWithStatus | _InspectionLotWithStatus | |||
| _InspLotDigiSgntrInUsgeDcsnT | _InspLotDigiSgntrInUsgeDcsnT | |||
| _InspLotRsltRecgStatusT | _InspLotRsltRecgStatusT | |||
| _InspLotCompltnStatusT | _InspLotCompltnStatusT | |||
| _InspLotDefectCount | _InspLotDefectCount | |||
| _InspLotSerialNumber | _InspLotSerialNumber | |||
| _InspLotApprovalStatusT | _InspLotApprovalStatusT | |||
| _InspLotApprovalStatus | _InspLotApprovalStatus | |||
| _InspLotForFirstArticleInspVH | _InspLotForFirstArticleInspVH |
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_Insplotmng.
-- 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: CINSPLOTMNG
CREATE VIEW C_Insplotmng AS
SELECT
_InspLot.InspectionLot AS InspectionLot,
_InspLot.StatusProfile AS StatusProfile,
_InspLotApprovalStatus.StatusShortName AS StatusShortName,
_InspLotApprovalStatus.StatusCode AS StatusCode,
_InspLot.InspectionLotOrigin AS InspectionLotOrigin,
_InspLot._InspectionLotOrigin._Text[1:Language=$session.system_language].InspectionLotOriginText AS InspectionLotOriginText,
_InspLot.Plant AS Plant,
_InspLot.Material AS Material,
_InspectionLotApproval._Text[1:Language=$session.system_language].InspectionLotApprovalText AS InspectionLotApprovalText,
_InspLot.InspectionLotApproval AS InspectionLotApproval,
_InspLot.InspectionLotEndDate AS InspectionLotEndDate,
_InspLot.InspectionLotText AS InspectionLotText,
_InspLot.InspectionLotType AS InspectionLotType,
_InspLot.Batch AS Batch,
cast( concat_with_space (concat (cast (_InspLotAgg.InspCharRejectedCount as abap.char( 20 )),' / '), cast (_InspLotAgg.InspCharacteristicCount as abap.char( 20 )), 1) as vdm_inspcharcount) AS InspCharCount,
cast (_InspLotAgg.InspCharacteristicCount as vdm_inspcharacteristiccount) AS InspCharacteristicCount,
cast (_InspLotDefectCount.NumberOfDefects as vdm_numberofdefects preserving type ) AS NumberOfDefects,
_InspLot.InspectionLotStartDate AS InspectionLotStartDate,
_InspLot.SalesOrdStockWBSElement AS SalesOrdStockWBSElement,
_InspLot._SalesOrdStockWBSElement.WBSDescription AS WBSDescription,
cast ( _InspLot.InventorySpclStkSalesDocument as vdm_mat_kdauf preserving type ) AS InventorySpclStkSalesDocument,
_InspLot.QualityCostCollector AS QualityCostCollector,
_InspLot.CostCenter AS CostCenter,
_InspLot.ProfitCenter AS ProfitCenter,
cast( _InspLot.InspLotIsAutomUsgeDcsnPossible as vdm_qauto_ve preserving type ) AS InspLotIsAutomUsgeDcsnPossible,
cast( _InspLot.InspLotIsDocumentationRequired as vdm_qstat19 preserving type ) AS InspLotIsDocumentationRequired,
_InspLot._InspLotSgntrInUsgeDcsn._InspLotSgntrInUsgeDcsnText[1:Language=$session.system_language].InspLotDgtlSgntrInUsgeDcsnTxt AS InspLotDgtlSgntrInUsgeDcsnTxt,
_InspLot.InspLotDigitalSgntrInUsgeDcsn AS InspLotDigitalSgntrInUsgeDcsn,
cast( _InspLot.MaterialIsBatchManaged as vdm_xchpf preserving type ) AS InspLotIsBatchRequired,
cast( _InspLot.InspectionLotHasUsageDecision as vdm_qstat35 preserving type ) AS InspectionLotHasUsageDecision,
cast( _InspLot.InspectionLotHasQuantity as vdm_qvinsmk preserving type ) AS InspectionLotHasQuantity,
cast( _InspLot.InspLotIsStockPostingCompleted as vdm_qstat34 preserving type ) AS InspLotIsStockPostingCompleted,
_InspLot.MaterialDocumentYear AS MaterialDocumentYear,
_InspLot.MaterialDocument AS MaterialDocument,
_InspLot.BatchStorageLocation AS BatchStorageLocation,
_InspLot.InspectionLotStorageLocation AS InspectionLotStorageLocation,
_InspLot.InspLotCreatedOnLocalDate AS InspLotCreatedOnLocalDate,
_InspLot.InspectionLotCreatedBy AS InspectionLotCreatedBy,
_InspLot.InspectionLotCreatedOn AS InspectionLotCreatedOn,
_InspLot.InspectionLotChangedBy AS InspectionLotChangedBy,
_InspLot.InspectionLotChangeDate AS InspectionLotChangeDate,
_Batch.BatchBySupplier AS BatchBySupplier,
_InspLot.InspectionLotObjectText AS InspectionLotObjectText,
_InspLot.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup,
_InspLot.Supplier AS Supplier,
_InspLot._Supplier.SupplierName AS SupplierName,
_InspLot.Manufacturer AS Manufacturer,
_InspLot._Manufacturer.SupplierName AS ManufacturerName,
_InspLot.ManufacturerPartNmbr AS ManufacturerPartNmbr,
_InspLot._ManufacturerPartNmbr._Text[1:Language=$session.system_language].MaterialName AS ManufacturerPartNmbrText,
_InspLot.PurchasingOrganization AS PurchasingOrganization,
_InspLot._PurchasingOrganization.PurchasingOrganizationName AS PurchasingOrganizationName,
_InspLot.PurchasingDocument AS PurchasingDocument,
_InspLot.AccountingDocumentType AS AccountingDocumentType,
_InspLot.SalesOperationsPlanningOrder AS SalesOperationsPlanningOrder,
_InspLot.ProductionVersion AS ProductionVersion,
_InspLot.ManufacturingOrder AS ManufacturingOrder,
_InspLot.Customer AS Customer,
_InspLot._Customer.CustomerName AS CustomerName,
_InspLot.SalesOrder AS SalesOrder,
_InspLot.DeliveryDocument AS DeliveryDocument,
_InspLot.SoldToParty AS SoldToParty,
_InspLot._SoldToParty.CustomerName AS SoldToPartyName,
_InspLot.SalesOrganization AS SalesOrganization,
_InspLot._SalesOrganization._Text[1:Language=$session.system_language].SalesOrganizationName AS SalesOrganizationName,
_InspLot.MaterialByCustomer AS MaterialByCustomer,
cast( _InspLot.SmplDrwgProcedIsConfRequired as vdm_qkzquit preserving type ) AS SmplDrwgProcedIsConfRequired,
_InspLot._InspLotUsageDecision._UsageDecisionValuation._Text[1:Language=$session.system_language].InspLotUsgeDcsnValuationText AS InspLotUsgeDcsnValuationText,
_InspUsageDec.InspectionLotQualityScore AS InspectionLotQualityScore,
cast (_InspUsageDec.InspLotUsageDecisionCodeGroup as vdm_qvgruppe preserving type ) AS InspLotUsageDecisionCodeGroup,
_InspUsageDec._UsageDecisionCodeGroup._Text[1:Language=$session.system_language].UsageDecisionCodeGroupText AS UsageDecisionCodeGroupText,
_InspUsageDec.InspectionLotUsageDecisionCode AS InspectionLotUsageDecisionCode,
_InspUsageDec._UsageDecisionCode._Text[1:Language=$session.system_language].UsageDecisionCodeText AS UsageDecisionCodeText,
_InspUsageDec.InspLotUsgeDcsnFollowUpAction AS InspLotUsgeDcsnFollowUpAction,
_InspUsageDec.InspectionLotUsageDecidedBy AS InspectionLotUsageDecidedBy,
cast (_InspUsageDec.InspectionLotUsageDecidedOn as vdm_qvedatum) AS InspectionLotUsageDecidedOn,
_InspUsageDec.InspLotUsageDecisionChangedBy AS InspLotUsageDecisionChangedBy,
_InspUsageDec.InspLotUsageDecisionChangedOn AS InspLotUsageDecisionChangedOn,
_InspLot._Material._Text[1:Language=$session.system_language].MaterialName AS MaterialName,
_InspLot._InspectionLotType._Text[1:Language=$session.system_language].InspectionLotTypeText AS InspectionLotTypeText,
_InspLot._Plant.PlantName AS PlantName,
cast( _InspLot.InspectionLotIsSkipped as vdm_qkzskiplot preserving type ) AS InspectionLotIsSkipped,
cast( _InspLot.InspLotIsTaskListRequired as vdm_qstat20 preserving type ) AS InspLotIsTaskListRequired,
_InspLot.Equipment AS Equipment,
_InspLot.FunctionalLocation AS FunctionalLocation,
_InspLot.InspLotCreatedOnLocalTime AS InspLotCreatedOnLocalTime,
_InspLot.InspectionLotCreatedOnTime AS InspectionLotCreatedOnTime,
_InspLot.InspectionLotChangeTime AS InspectionLotChangeTime,
_InspLot.InspectionLotStartTime AS InspectionLotStartTime,
_InspLot.InspectionLotEndTime AS InspectionLotEndTime,
cast( _InspLot.InspLotSelectionMaterial as vdm_selmatnr preserving type ) AS InspLotSelectionMaterial,
_InspLot.MaterialRevisionLevel AS MaterialRevisionLevel,
_InspLot.MaterialCompIsSpecialStock AS MaterialCompIsSpecialStock,
_InspLot.PurchasingDocumentItem AS PurchasingDocumentItem,
_InspLot.ScheduleLine AS ScheduleLine,
_InspLot.MaterialDocumentItem AS MaterialDocumentItem,
_InspLot.MatlDocLatestPostgDate AS MatlDocLatestPostgDate,
_InspLot.InspectionLotPlant AS InspectionLotPlant,
_InspLot.SalesOrderItem AS SalesOrderItem,
_InspLot.DeliveryDocumentItem AS DeliveryDocumentItem,
_InspLot.BillToPartyCountry AS BillToPartyCountry,
_InspLot.InspLotNmbrOpenLongTermCharc AS InspLotNmbrOpenLongTermCharc,
_InspLot.InspectionLotQuantity AS InspectionLotQuantity,
_InspLot.InspectionLotQuantityUnit AS InspectionLotQuantityUnit,
_InspLot.InspectionLotContainer AS InspectionLotContainer,
_InspLot.InspectionLotContainerUnit AS InspectionLotContainerUnit,
_InspLot.InspectionLotSampleQuantity AS InspectionLotSampleQuantity,
_InspLot.InspectionLotSampleUnit AS InspectionLotSampleUnit,
_InspLot.InspLotQtyToFree AS InspLotQtyToFree,
_InspLot.InspLotQtyToScrap AS InspLotQtyToScrap,
_InspLot.InspLotQtyToSample AS InspLotQtyToSample,
_InspLot.InspLotQtyToBlocked AS InspLotQtyToBlocked,
_InspLot.InspLotQtyToReserves AS InspLotQtyToReserves,
_InspLot.InspLotQtyToAnotherMaterial AS InspLotQtyToAnotherMaterial,
_InspLot.InspLotMaterialPostedTo AS InspLotMaterialPostedTo,
_InspLot.InspLotBatchTransferredTo AS InspLotBatchTransferredTo,
_InspLot.InspLotQtyReturnedToSupplier AS InspLotQtyReturnedToSupplier,
_InspLot.InspLotQtyToSpecialStock AS InspLotQtyToSpecialStock,
_InspLot.InspLotQtyToOtherStock AS InspLotQtyToOtherStock,
_InspLot.InspLotQtyToBePosted AS InspLotQtyToBePosted,
_InspLot.InspLotSmplQtyForLongTermChar AS InspLotSmplQtyForLongTermChar,
_InspLot.InspLotQtyInspected AS InspLotQtyInspected,
_InspLot.InspLotQtyDestroyed AS InspLotQtyDestroyed,
_InspLot.InspectionLotActualQuantity AS InspectionLotActualQuantity,
_InspLot.InspectionLotDefectiveQuantity AS InspectionLotDefectiveQuantity,
_InspLot.InspectionLotScrapRatio AS InspectionLotScrapRatio,
_InspLot.InspLotExternalNumber AS InspLotExternalNumber,
_InspUsageDec.InspLotUsgeDcsnChangedTime AS InspLotUsgeDcsnChangedTime,
_InspUsageDec.InspLotUsgeDcsnSelectedSet AS InspLotUsgeDcsnSelectedSet,
_InspUsageDec.InspLotUsageDecisionTime AS InspLotUsageDecisionTime,
_InspLot.InspLotNmbrOpenShortTermCharc AS InspLotNmbrOpenShortTermCharc,
_InspLot.InspLotHasSubsets AS InspLotHasSubsets,
_InspLot.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
SerialNumberProfile,
InspLotIsSerialNmbrPossible,
cast('' as gernr) AS SerialNumber,
_InspLot.InspLotForFirstArticleInsp AS InspLotForFirstArticleInsp,
_InspLotForFirstArticleInspVH.InspLotForFirstArticleInspText AS InspLotForFirstArticleInspText
FROM I_InspectionLot AS _InspLot
LEFT OUTER JOIN I_InspectionLotType AS _InspectionLotType ON InspectionLotType = _InspectionLotType.InspectionLotType -- association [0..1]
LEFT OUTER JOIN I_Batch AS _Batch ON Batch = _Batch.Batch AND Material = _Batch.Material AND Plant = _Batch.Plant -- association [0..1]
LEFT OUTER JOIN I_InspectionLotAggregate AS _InspLotAgg ON InspectionLot = _InspLotAgg.InspectionLot -- association [1..1]
LEFT OUTER JOIN I_InspLotUsageDecision AS _InspUsageDec ON InspectionLot = _InspUsageDec.InspectionLot -- association [1..1]
LEFT OUTER JOIN C_InspectionLotApprFltT AS _InspectionLotApprFltT ON InspectionLotApproval = _InspectionLotApprFltT.InspectionLotApproval -- association [0..1]
LEFT OUTER JOIN I_InspectionLotWithStatus AS _InspectionLotWithStatus ON InspectionLot = _InspectionLotWithStatus.InspectionLot -- association [1..1]
LEFT OUTER JOIN C_InspLotDigiSgntrInUsgeDcsnT AS _InspLotDigiSgntrInUsgeDcsnT ON InspLotDigitalSgntrInUsgeDcsn = _InspLotDigiSgntrInUsgeDcsnT.InspLotDigitalSgntrInUsgeDcsn -- association [0..1]
LEFT OUTER JOIN C_InspLotRsltRecgStatusT AS _InspLotRsltRecgStatusT ON InspLotRsltRecgStatus = _InspLotRsltRecgStatusT.InspLotRsltRecgStatus -- association [0..1]
LEFT OUTER JOIN C_InspLotCompltnStatusT AS _InspLotCompltnStatusT ON InspLotCompltnStatus = _InspLotCompltnStatusT.InspLotCompltnStatus -- association [0..1]
LEFT OUTER JOIN C_InspLotDefectCount AS _InspLotDefectCount ON InspectionLot = _InspLotDefectCount.InspectionLot -- association [0..1]
LEFT OUTER JOIN E_InspectionLot AS _Extension ON InspectionLot = _Extension.InspectionLot -- association [1..1]
LEFT OUTER JOIN C_InspLotMngSerialNumber AS _InspLotSerialNumber ON InspectionLot = _InspLotSerialNumber.InspectionLot -- association [0..*]
LEFT OUTER JOIN I_InspectionLotApprovalStatus AS _InspLotApprovalStatus ON InspectionLot = _InspLotApprovalStatus.InspectionLot -- association [0..1]
LEFT OUTER JOIN I_StatusCodeText AS _InspLotApprovalStatusT ON StatusProfile = _InspLotApprovalStatusT.StatusProfile AND statuscode = _InspLotApprovalStatusT.StatusCode AND _InspLotApprovalStatusT.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_InspLotForFirstArticleInspVH AS _InspLotForFirstArticleInspVH ON InspLotForFirstArticleInsp = _InspLotForFirstArticleInspVH.InspLotForFirstArticleInsp -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA