A_InspectionLot
Inspection Lot Data
A_InspectionLot is a Consumption CDS View that provides data about "Inspection Lot Data" in SAP S/4HANA. It reads from 1 data source (I_InspectionLot) and exposes 173 fields with key field InspectionLot. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_InspectionLot | I_InspectionLot | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | A_InspectionLotWithStatus | _InspectionLotWithStatus | $projection.InspectionLot = _InspectionLotWithStatus.InspectionLot |
| [1..1] | E_InspectionLot | _Extension | $projection.InspectionLot = _Extension.InspectionLot |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | AINSPECTIONLOT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| EndUserText.label | Inspection Lot Data | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | false | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (173)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionLot | InspectionLot | Inspection Lot | |
| Material | Material | Vehicle Model | ||
| Batch | Batch | Lot No. | ||
| Plant | Plant | Valuation Area | ||
| InspectionLotOrigin | InspectionLotOrigin | |||
| OrderInternalBillOfOperations | OrderInternalBillOfOperations | Order Internal Bill of Operations | ||
| ManufacturingOrder | ManufacturingOrder | Order | ||
| InspectionLotText | InspectionLotText | |||
| InspectionLotType | InspectionLotType | Inspection Type | ||
| InspectionLotQuantity | InspectionLotQuantity | |||
| InspectionLotActualQuantity | InspectionLotActualQuantity | |||
| InspectionLotDefectiveQuantity | InspectionLotDefectiveQuantity | |||
| InspectionLotQuantityUnit | InspectionLotQuantityUnit | Sample UOM | ||
| InspLotCreatedOnLocalDate | InspLotCreatedOnLocalDate | Lot Created | ||
| InspSubsetFieldCombination | InspSubsetFieldCombination | Field Combinat. | ||
| InspLotNmbrOpenLongTermCharc | InspLotNmbrOpenLongTermCharc | |||
| StatusObject | StatusObject | Status Object | ||
| StatusObjectCategory | StatusObjectCategory | Picking area | ||
| InspectionLotObjectText | InspectionLotObjectText | Obj short text | ||
| StatusProfile | StatusProfile | Status Profile | ||
| MatlQualityAuthorizationGroup | MatlQualityAuthorizationGroup | QM Matl Auth. | ||
| InspectionLotHasQuantity | InspectionLotHasQuantity | |||
| InspLotIsCreatedAutomatically | InspLotIsCreatedAutomatically | Lot Created | ||
| InspectionLotHasPartialLots | InspectionLotHasPartialLots | Partial Lots | ||
| InspectionLotHasAppraisalCosts | InspectionLotHasAppraisalCosts | Indiv. QM Order | ||
| InspLotHasSubsets | InspLotHasSubsets | Prod. insp. | ||
| InspLotIsAutomUsgeDcsnPossible | InspLotIsAutomUsgeDcsnPossible | |||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| InspLotHasConfignSpecification | InspLotHasConfignSpecification | Configuration | ||
| GoodsReceiptIsMovedToBlkdStock | GoodsReceiptIsMovedToBlkdStock | GR Blocked Stck | ||
| InspLotIsDocumentationRequired | InspLotIsDocumentationRequired | |||
| InspLotIsTaskListRequired | InspLotIsTaskListRequired | |||
| InspLotHasManualSampleSize | InspLotHasManualSampleSize | Manual sample | ||
| InspLotHasMaterialSpec | InspLotHasMaterialSpec | |||
| InspectionLotApproval | InspectionLotApproval | |||
| InspLotDigitalSgntrResultsRecg | InspLotDigitalSgntrResultsRecg | Dig. Sig. in RR | ||
| InspLotDigitalSgntrInUsgeDcsn | InspLotDigitalSgntrInUsgeDcsn | |||
| InspLotIsBatchRequired | InspLotIsBatchRequired | Batch rec. req. | ||
| InspLotUsageInStabilityStudy | InspLotUsageInStabilityStudy | Insp. Lot Stab. | ||
| InspLotIsStockPostingCompleted | InspLotIsStockPostingCompleted | |||
| InspectionLotHasUsageDecision | InspectionLotHasUsageDecision | |||
| NumberOfSerialNumbers | NumberOfSerialNumbers | No.serial no. | ||
| InspLotIsSerialNmbrPossible | InspLotIsSerialNmbrPossible | Serial Numbers | ||
| InspectionLotIsSkipped | InspectionLotIsSkipped | |||
| InspectionLotIsFullInspection | InspectionLotIsFullInspection | 100% Inspection | ||
| InspectionLotDynamicLevel | InspectionLotDynamicLevel | |||
| SamplingProcedure | SamplingProcedure | Smpl. Procedure | ||
| InspLotCreatedOnLocalTime | InspLotCreatedOnLocalTime | |||
| InspectionLotCreatedBy | InspectionLotCreatedBy | Created By | ||
| InspectionLotCreatedOn | InspectionLotCreatedOn | Created On | ||
| InspectionLotCreatedOnTime | InspectionLotCreatedOnTime | |||
| InspectionLotChangedBy | InspectionLotChangedBy | Changed By | ||
| InspectionLotChangeDate | InspectionLotChangeDate | Changed On | ||
| InspectionLotChangeTime | InspectionLotChangeTime | |||
| ChangedDateTime | ChangedDateTime | Time Stamp | ||
| InspectionLotStartDate | InspectionLotStartDate | Start Date | ||
| InspectionLotStartTime | InspectionLotStartTime | |||
| InspectionLotEndDate | InspectionLotEndDate | End Date | ||
| InspectionLotEndTime | InspectionLotEndTime | |||
| BillOfOperationsType | BillOfOperationsType | Task List Type | ||
| BillOfOperationsGroup | BillOfOperationsGroup | Group | ||
| BillOfOperationsUsage | BillOfOperationsUsage | |||
| BillOfOperationsVariant | BillOfOperationsVariant | Group Counter | ||
| BillOfOperationsChangeStateID | BillOfOperationsChangeStateID | Sort pos. | ||
| InspectionSubsetType | InspectionSubsetType | |||
| SmplDrawingProcedure | SmplDrawingProcedure | |||
| SmplDrawingProcedureVersion | SmplDrawingProcedureVersion | Version | ||
| SmplDrwgProcedIsConfRequired | SmplDrwgProcedIsConfRequired | |||
| InspLotSelectionMaterial | InspLotSelectionMaterial | Material | ||
| InspLotSelMatlRevisionLvl | InspLotSelMatlRevisionLvl | Revision Level | ||
| InspLotSelectionPlant | InspLotSelectionPlant | Plant | ||
| InspLotSelectionSupplier | InspLotSelectionSupplier | Supplier | ||
| InspLotSelectionManufacturer | InspLotSelectionManufacturer | Manufacturer | ||
| InspLotSelectionCustomer | InspLotSelectionCustomer | Customer | ||
| InspLotSelBillOfOperationsUsge | InspLotSelBillOfOperationsUsge | Usage | ||
| InspLotSelectionValidFromDate | InspLotSelectionValidFromDate | Valid From | ||
| ProductionVersion | ProductionVersion | Version ID | ||
| SalesOperationsPlanningOrder | SalesOperationsPlanningOrder | |||
| IsBusinessPurposeCompleted | IsBusinessPurposeCompleted | Purpose Completed | ||
| Customer | Customer | Sold-to Party | ||
| Supplier | Supplier | Supplier | ||
| BatchBySupplier | BatchBySupplier | Supplier Batch | ||
| Manufacturer | Manufacturer | Manufacturer | ||
| ManufacturerPartNmbr | ManufacturerPartNmbr | Mfr Part Number | ||
| MaterialRevisionLevel | MaterialRevisionLevel | Revision Level | ||
| MaterialIsBatchManaged | MaterialIsBatchManaged | |||
| BatchStorageLocation | BatchStorageLocation | |||
| MaterialCompIsSpecialStock | MaterialCompIsSpecialStock | Special Stock | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingDocument | PurchasingDocument | Purchasing Document | ||
| PurchasingDocumentItem | PurchasingDocumentItem | Purchasing Doc. Item | ||
| ScheduleLine | ScheduleLine | Schedule Line | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| MaterialDocumentYear | MaterialDocumentYear | Material Document Year | ||
| MaterialDocument | MaterialDocument | Material Doc. | ||
| MaterialDocumentItem | MaterialDocumentItem | Material Document Item | ||
| MatlDocLatestPostgDate | MatlDocLatestPostgDate | Posting Date | ||
| GoodsMovementType | GoodsMovementType | Movement Type | ||
| InspectionLotPlant | InspectionLotPlant | |||
| InspectionLotStorageLocation | InspectionLotStorageLocation | |||
| Warehouse | Warehouse | Warehouse No. | ||
| StorageType | StorageType | Storage Type | ||
| StorageBin | StorageBin | Storage Bin | ||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| DeliveryDocument | DeliveryDocument | Outbound Delivery | ||
| DeliveryDocumentItem | DeliveryDocumentItem | Outb. Delivery Item | ||
| DeliveryCategory | InspectionDeliveryCategory | Delivery cat. | ||
| InspectionDeliveryCategory | InspectionDeliveryCategory | Delivery cat. | ||
| Route | Route | Vehicle route | ||
| BillToPartyCountry | BillToPartyCountry | Dst.CtryRg.Ord. | ||
| SoldToParty | SoldToParty | Sold-to Party | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| MaterialByCustomer | MaterialByCustomer | Customer Mat. | ||
| Language | Language | Report Text Language | ||
| InspLotNmbrAddlRecordedCharc | InspLotNmbrAddlRecordedCharc | Charcs Recorded | ||
| InspLotNmbrOpenShortTermCharc | InspLotNmbrOpenShortTermCharc | Short-Term Char | ||
| InspectionLotContainer | InspectionLotContainer | No. Containers | ||
| InspectionLotContainerUnit | InspectionLotContainerUnit | Lot Container | ||
| InspectionLotSampleQuantity | InspectionLotSampleQuantity | Sample Size | ||
| InspectionLotSampleUnit | InspectionLotSampleUnit | |||
| InspLotDynamicRule | InspLotDynamicRule | |||
| InspLotDynamicTrggrPoint | InspLotDynamicTrggrPoint | Time DynModif. | ||
| InspectionDynamicStage | InspectionDynamicStage | Insp. Stage | ||
| InspectionSeverity | InspectionSeverity | Insp. Severity | ||
| InspLotQtyToFree | InspLotQtyToFree | |||
| InspLotQtyToScrap | InspLotQtyToScrap | |||
| InspLotQtyToSample | InspLotQtyToSample | Sample | ||
| InspLotQtyToBlocked | InspLotQtyToBlocked | |||
| InspLotQtyToReserves | InspLotQtyToReserves | Reserves | ||
| InspLotQtyToAnotherMaterial | InspLotQtyToAnotherMaterial | |||
| InspLotMaterialPostedTo | InspLotMaterialPostedTo | |||
| InspLotBatchTransferredTo | InspLotBatchTransferredTo | |||
| InspLotQtyReturnedToSupplier | InspLotQtyReturnedToSupplier | |||
| InspLotQtyToSpecialStock | InspLotQtyToSpecialStock | |||
| InspLotQtyToOtherStock | InspLotQtyToOtherStock | |||
| InspLotQtyToBePosted | InspLotQtyToBePosted | |||
| InspLotSmplQtyForLongTermChar | InspLotSmplQtyForLongTermChar | |||
| InspLotQtyInspected | InspLotQtyInspected | |||
| InspLotQtyDestroyed | InspLotQtyDestroyed | |||
| InspectionLotScrapRatio | InspectionLotScrapRatio | Share of Scrap | ||
| InspLotUsageDecisionTool | InspLotUsageDecisionTool | UD Mode | ||
| InspectionLotAllowedScrapRatio | InspectionLotAllowedScrapRatio | Allowed Scrap % | ||
| QualityCostCollector | QualityCostCollector | QM Order | ||
| ConsumptionPosting | ConsumptionPosting | Consumption Posting | ||
| AccountAssignmentCategory | AccountAssignmentCategory | Acct Assgmt Cat | ||
| PurchasingDocumentItemCategory | PurchasingDocumentItemCategory | Item Category | ||
| InspLotAcctAssgmtKey | InspLotAcctAssgmtKey | Acct Assgmt Key | ||
| CostCenter | CostCenter | Cost Center | ||
| ReservationItem | ReservationItem | Reservation Item | ||
| MasterFixedAsset | MasterFixedAsset | Fixed Asset | ||
| FixedAsset | FixedAsset | Sub-number | ||
| SalesOrdStockWBSElement | SalesOrdStockWBSElement | WBS Element | ||
| ProjectNetwork | ProjectNetwork | Order | ||
| NetworkActivityInternalID | NetworkActivityInternalID | Counter | ||
| InventorySpclStkSalesDocument | InventorySpclStkSalesDocument | |||
| InventorySpclStkSalesDocItm | InventorySpclStkSalesDocItm | Sales Ord. Item | ||
| ProfitabilitySegment | ProfitabilitySegment_2 | Profit. segment | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| BusinessArea | BusinessArea | Business Area | ||
| GLAccount | GLAccount | General Ledger | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| SerialNumberProfile | SerialNumberProfile | SerialNoProfile | ||
| InspLotCostCollectorSalesOrder | InspLotCostCollectorSalesOrder | Sales Order | ||
| InspLotCostCollectorSlsOrdItem | InspLotCostCollectorSlsOrdItem | Sales Ord. Item | ||
| InspLotCostCollectorWBSElement | InspLotCostCollectorWBSElement | WBS Element | ||
| InspLotExternalNumber | InspLotExternalNumber | |||
| InspectionLotPriorityPoints | InspectionLotPriorityPoints | Priority Points | ||
| MaintenancePlan | MaintenancePlan | MaintenancePlan | ||
| MaintenancePlanItemIntID | MaintenancePlanItemIntID | MaintItem | ||
| MaintenanceStrategy | MaintenanceStrategy | Strategy Fields | ||
| _InspectionLotWithStatus | _InspectionLotWithStatus |
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 A_InspectionLot.
-- 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: AINSPECTIONLOT
CREATE VIEW A_InspectionLot AS
SELECT
InspectionLot,
Material,
Batch,
Plant,
InspectionLotOrigin,
OrderInternalBillOfOperations,
ManufacturingOrder,
InspectionLotText,
InspectionLotType,
InspectionLotQuantity,
InspectionLotActualQuantity,
InspectionLotDefectiveQuantity,
InspectionLotQuantityUnit,
InspLotCreatedOnLocalDate,
InspSubsetFieldCombination,
InspLotNmbrOpenLongTermCharc,
StatusObject,
StatusObjectCategory,
InspectionLotObjectText,
StatusProfile,
MatlQualityAuthorizationGroup,
InspectionLotHasQuantity,
InspLotIsCreatedAutomatically,
InspectionLotHasPartialLots,
InspectionLotHasAppraisalCosts,
InspLotHasSubsets,
InspLotIsAutomUsgeDcsnPossible,
PurchasingDocumentCategory,
InspLotHasConfignSpecification,
GoodsReceiptIsMovedToBlkdStock,
InspLotIsDocumentationRequired,
InspLotIsTaskListRequired,
InspLotHasManualSampleSize,
InspLotHasMaterialSpec,
InspectionLotApproval,
InspLotDigitalSgntrResultsRecg,
InspLotDigitalSgntrInUsgeDcsn,
InspLotIsBatchRequired,
InspLotUsageInStabilityStudy,
InspLotIsStockPostingCompleted,
InspectionLotHasUsageDecision,
NumberOfSerialNumbers,
InspLotIsSerialNmbrPossible,
InspectionLotIsSkipped,
InspectionLotIsFullInspection,
InspectionLotDynamicLevel,
SamplingProcedure,
InspLotCreatedOnLocalTime,
InspectionLotCreatedBy,
InspectionLotCreatedOn,
InspectionLotCreatedOnTime,
InspectionLotChangedBy,
InspectionLotChangeDate,
InspectionLotChangeTime,
ChangedDateTime,
InspectionLotStartDate,
InspectionLotStartTime,
InspectionLotEndDate,
InspectionLotEndTime,
BillOfOperationsType,
BillOfOperationsGroup,
BillOfOperationsUsage,
BillOfOperationsVariant,
BillOfOperationsChangeStateID,
InspectionSubsetType,
SmplDrawingProcedure,
SmplDrawingProcedureVersion,
SmplDrwgProcedIsConfRequired,
InspLotSelectionMaterial,
InspLotSelMatlRevisionLvl,
InspLotSelectionPlant,
InspLotSelectionSupplier,
InspLotSelectionManufacturer,
InspLotSelectionCustomer,
InspLotSelBillOfOperationsUsge,
InspLotSelectionValidFromDate,
ProductionVersion,
SalesOperationsPlanningOrder,
IsBusinessPurposeCompleted,
Customer,
Supplier,
BatchBySupplier,
Manufacturer,
ManufacturerPartNmbr,
MaterialRevisionLevel,
MaterialIsBatchManaged,
BatchStorageLocation,
MaterialCompIsSpecialStock,
PurchasingOrganization,
PurchasingDocument,
PurchasingDocumentItem,
ScheduleLine,
AccountingDocumentType,
MaterialDocumentYear,
MaterialDocument,
MaterialDocumentItem,
MatlDocLatestPostgDate,
GoodsMovementType,
InspectionLotPlant,
InspectionLotStorageLocation,
Warehouse,
StorageType,
StorageBin,
SalesOrder,
SalesOrderItem,
DeliveryDocument,
DeliveryDocumentItem,
InspectionDeliveryCategory AS DeliveryCategory,
InspectionDeliveryCategory,
Route,
BillToPartyCountry,
SoldToParty,
SalesOrganization,
MaterialByCustomer,
Language,
InspLotNmbrAddlRecordedCharc,
InspLotNmbrOpenShortTermCharc,
InspectionLotContainer,
InspectionLotContainerUnit,
InspectionLotSampleQuantity,
InspectionLotSampleUnit,
InspLotDynamicRule,
InspLotDynamicTrggrPoint,
InspectionDynamicStage,
InspectionSeverity,
InspLotQtyToFree,
InspLotQtyToScrap,
InspLotQtyToSample,
InspLotQtyToBlocked,
InspLotQtyToReserves,
InspLotQtyToAnotherMaterial,
InspLotMaterialPostedTo,
InspLotBatchTransferredTo,
InspLotQtyReturnedToSupplier,
InspLotQtyToSpecialStock,
InspLotQtyToOtherStock,
InspLotQtyToBePosted,
InspLotSmplQtyForLongTermChar,
InspLotQtyInspected,
InspLotQtyDestroyed,
InspectionLotScrapRatio,
InspLotUsageDecisionTool,
InspectionLotAllowedScrapRatio,
QualityCostCollector,
ConsumptionPosting,
AccountAssignmentCategory,
PurchasingDocumentItemCategory,
InspLotAcctAssgmtKey,
CostCenter,
ReservationItem,
MasterFixedAsset,
FixedAsset,
SalesOrdStockWBSElement,
ProjectNetwork,
NetworkActivityInternalID,
InventorySpclStkSalesDocument,
InventorySpclStkSalesDocItm,
ProfitabilitySegment_2 AS ProfitabilitySegment,
ProfitCenter,
BusinessArea,
GLAccount,
ControllingArea,
CompanyCode,
SerialNumberProfile,
InspLotCostCollectorSalesOrder,
InspLotCostCollectorSlsOrdItem,
InspLotCostCollectorWBSElement,
InspLotExternalNumber,
InspectionLotPriorityPoints,
MaintenancePlan,
MaintenancePlanItemIntID,
MaintenanceStrategy
FROM I_InspectionLot
LEFT OUTER JOIN A_InspectionLotWithStatus AS _InspectionLotWithStatus ON InspectionLot = _InspectionLotWithStatus.InspectionLot -- association [1..1]
LEFT OUTER JOIN E_InspectionLot AS _Extension ON InspectionLot = _Extension.InspectionLot -- association [1..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