R_InspectionLotTP
Inspection Lot
R_InspectionLotTP is a Transactional CDS View that provides data about "Inspection Lot" in SAP S/4HANA. It reads from 1 data source (I_InspectionLot) and exposes 188 fields with key field InspectionLot. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_InspectionLot | I_InspectionLot | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_InspectionLot | _Extension | $projection.InspectionLot = _Extension.InspectionLot |
| [0..1] | R_InspectionLotUsageDecisionTP | _InspectionLotUsageDecision | |
| [0..*] | R_InspectionLotStatusTP | _InspectionLotStatus | |
| [0..*] | R_InspLotMatlDocItemTP | _InspLotMatlDocItem | |
| [0..*] | R_InspectionOperationTP | _InspectionOperation | |
| [0..*] | R_InspLotSerialNumberTP | _InspLotSerialNumber | |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Inspection Lot | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.sapObjectNodeType.name | InspectionLot | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.representativeKey | InspectionLot | view |
Fields (188)
| 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 | ||
| MatlQualityAuthorizationGroup | MatlQualityAuthorizationGroup | QM Matl Auth. | ||
| InspectionLotHasQuantity | InspectionLotHasQuantity | |||
| InspLotIsCreatedAutomatically | InspLotIsCreatedAutomatically | Lot Created | ||
| InspectionLotHasPartialLots | InspectionLotHasPartialLots | Partial Lots | ||
| InspLotHasSubsets | InspLotHasSubsets | Prod. insp. | ||
| InspLotIsAutomUsgeDcsnPossible | InspLotIsAutomUsgeDcsnPossible | |||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| GoodsReceiptIsMovedToBlkdStock | GoodsReceiptIsMovedToBlkdStock | GR Blocked Stck | ||
| InspLotIsDocumentationRequired | InspLotIsDocumentationRequired | |||
| InspLotIsTaskListRequired | InspLotIsTaskListRequired | |||
| InspLotHasManualSampleSize | InspLotHasManualSampleSize | Manual sample | ||
| InspectionLotApproval | InspectionLotApproval | |||
| InspLotDigitalSgntrResultsRecg | InspLotDigitalSgntrResultsRecg | Dig. Sig. in RR | ||
| InspLotDigitalSgntrInUsgeDcsn | InspLotDigitalSgntrInUsgeDcsn | |||
| InspLotIsBatchRequired | InspLotIsBatchRequired | Batch rec. req. | ||
| InspLotHasMultipleSpec | InspLotHasMultipleSpec | Multiple Specs | ||
| 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 | |||
| InspLotSelectionMaterial | InspLotSelectionMaterial | Material | ||
| 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 | ||
| 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 | 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 | ||
| 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 | ||
| 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 % | ||
| ConsumptionPosting | ConsumptionPosting | Consumption Posting | ||
| PurchasingDocumentItemCategory | PurchasingDocumentItemCategory | Item Category | ||
| SerialNumberProfile | SerialNumberProfile | SerialNoProfile | ||
| InspLotExternalNumber | InspLotExternalNumber | |||
| InspectionLotPriorityPoints | InspectionLotPriorityPoints | Priority Points | ||
| InspLotForFirstArticleInsp | InspLotForFirstArticleInsp | Created for FAI | ||
| InspectionLotUUID | InspectionLotUUID | Insp. Lot GUID | ||
| _InspectionLotUsageDecision | _InspectionLotUsageDecision | |||
| _InspectionLotStatus | _InspectionLotStatus | |||
| _InspLotMatlDocItem | _InspLotMatlDocItem | |||
| _InspectionOperation | _InspectionOperation | |||
| _InspLotSerialNumber | _InspLotSerialNumber | |||
| _InspectionLotType | _InspectionLotType | |||
| _InspectionLotOrigin | _InspectionLotOrigin | |||
| _InspSubsetFieldCombination | _InspSubsetFieldCombination | |||
| _QltyMgmtPlantLvlConfign | _QltyMgmtPlantLvlConfign | |||
| _MatlQualityAuthGroup | _MatlQualityAuthGroup | |||
| _InspectionSubsetType | _InspectionSubsetType | |||
| _InspectionSubsetTypeText | _InspectionSubsetTypeText | |||
| _InspectionLotApproval | _InspectionLotApproval | |||
| _InspectionLotApprovalText | _InspectionLotApprovalText | |||
| _InspectionLotLongText | _InspectionLotLongText | |||
| _InspectionLotAllLongText | _InspectionLotAllLongText | |||
| _InspectionLotHasQuantity | _InspectionLotHasQuantity | |||
| _InspectionLotHasQuantityT | _InspectionLotHasQuantityT | |||
| _IsStockPostgCmpltd | _IsStockPostgCmpltd | |||
| _IsStockPostgCmpltdTxt | _IsStockPostgCmpltdTxt | |||
| _IsAutomUsgeDcsnPossible | _IsAutomUsgeDcsnPossible | |||
| _IsAutomUsgeDcsnPossibleTxt | _IsAutomUsgeDcsnPossibleTxt | |||
| _IsDocumentationRqd | _IsDocumentationRqd | |||
| _IsDocumentationRqdTxt | _IsDocumentationRqdTxt | |||
| _InspLotIsBatchRequired | _InspLotIsBatchRequired | |||
| _InspLotIsBatchRequiredTxt | _InspLotIsBatchRequiredTxt | |||
| _InspectionLotHasUsgeDcsn | _InspectionLotHasUsgeDcsn | |||
| _InspectionLotHasUsgeDcsnTxt | _InspectionLotHasUsgeDcsnTxt | |||
| _Plant | _Plant | |||
| _Material | _Material | |||
| _InspLotSelectionMaterial | _InspLotSelectionMaterial | |||
| _Supplier | _Supplier | |||
| _InspLotSelectionSupplier | _InspLotSelectionSupplier | |||
| _Manufacturer | _Manufacturer | |||
| _InspLotSelManufacturer | _InspLotSelManufacturer | |||
| _Customer | _Customer | |||
| _InspLotSelectionCustomer | _InspLotSelectionCustomer | |||
| _SoldToParty | _SoldToParty | |||
| _SalesOrganization | _SalesOrganization | |||
| _MaterialSampleDrawing | _MaterialSampleDrawing | |||
| _BillOfOperationsChangeState | _BillOfOperationsChangeState | |||
| _BillOfOperationsType | _BillOfOperationsType | |||
| _BillOfOperationsGroup | _BillOfOperationsGroup | |||
| _InspectionLotQuantityUnit | _InspectionLotQuantityUnit | |||
| _InspectionLotSampleUnit | _InspectionLotSampleUnit | |||
| _InspectionLotCreatedBy | _InspectionLotCreatedBy | |||
| _InspectionLotChangedBy | _InspectionLotChangedBy | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _ManufacturerPartNmbr | _ManufacturerPartNmbr |
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 R_InspectionLotTP.
-- 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.
CREATE VIEW R_InspectionLotTP AS
SELECT
InspectionLot,
Material,
Batch,
Plant,
InspectionLotOrigin,
OrderInternalBillOfOperations,
ManufacturingOrder,
InspectionLotText,
InspectionLotType,
InspectionLotQuantity,
InspectionLotActualQuantity,
InspectionLotDefectiveQuantity,
InspectionLotQuantityUnit,
InspLotCreatedOnLocalDate,
InspSubsetFieldCombination,
InspLotNmbrOpenLongTermCharc,
StatusObject,
StatusObjectCategory,
InspectionLotObjectText,
MatlQualityAuthorizationGroup,
InspectionLotHasQuantity,
InspLotIsCreatedAutomatically,
InspectionLotHasPartialLots,
InspLotHasSubsets,
InspLotIsAutomUsgeDcsnPossible,
PurchasingDocumentCategory,
GoodsReceiptIsMovedToBlkdStock,
InspLotIsDocumentationRequired,
InspLotIsTaskListRequired,
InspLotHasManualSampleSize,
InspectionLotApproval,
InspLotDigitalSgntrResultsRecg,
InspLotDigitalSgntrInUsgeDcsn,
InspLotIsBatchRequired,
InspLotHasMultipleSpec,
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,
InspLotSelectionMaterial,
cast( InspLotSelMatlRevisionLvl as vdm_qm_revlv preserving type ) AS InspLotSelMatlRevisionLvl,
InspLotSelectionPlant,
InspLotSelectionSupplier,
InspLotSelectionManufacturer,
InspLotSelectionCustomer,
InspLotSelBillOfOperationsUsge,
InspLotSelectionValidFromDate,
ProductionVersion,
IsBusinessPurposeCompleted,
Customer,
Supplier,
BatchBySupplier,
Manufacturer,
ManufacturerPartNmbr,
cast( MaterialRevisionLevel as vdm_qm_revlv preserving type ) AS MaterialRevisionLevel,
MaterialIsBatchManaged,
BatchStorageLocation,
MaterialCompIsSpecialStock,
PurchasingOrganization,
PurchasingDocument,
PurchasingDocumentItem,
ScheduleLine,
AccountingDocumentType,
MaterialDocumentYear,
MaterialDocument,
MaterialDocumentItem,
MatlDocLatestPostgDate,
GoodsMovementType,
InspectionLotPlant,
InspectionLotStorageLocation,
Warehouse,
StorageType,
StorageBin,
SalesOrder,
SalesOrderItem,
DeliveryDocument,
DeliveryDocumentItem,
InspectionDeliveryCategory,
Route,
BillToPartyCountry,
SoldToParty,
SalesOrganization,
MaterialByCustomer,
Language,
InspLotNmbrAddlRecordedCharc,
InspLotNmbrOpenShortTermCharc,
InspectionLotSampleQuantity,
InspectionLotSampleUnit,
InspLotDynamicRule,
InspLotDynamicTrggrPoint,
InspectionDynamicStage,
InspectionSeverity,
InspLotQtyToFree,
InspLotQtyToScrap,
InspLotQtyToSample,
InspLotQtyToBlocked,
InspLotQtyToReserves,
InspLotQtyToAnotherMaterial,
InspLotMaterialPostedTo,
InspLotBatchTransferredTo,
InspLotQtyReturnedToSupplier,
InspLotQtyToSpecialStock,
InspLotQtyToOtherStock,
InspLotQtyToBePosted,
InspLotSmplQtyForLongTermChar,
InspLotQtyInspected,
InspLotQtyDestroyed,
InspectionLotScrapRatio,
InspLotUsageDecisionTool,
InspectionLotAllowedScrapRatio,
ConsumptionPosting,
PurchasingDocumentItemCategory,
SerialNumberProfile,
InspLotExternalNumber,
InspectionLotPriorityPoints,
InspLotForFirstArticleInsp,
InspectionLotUUID
FROM I_InspectionLot
LEFT OUTER JOIN E_InspectionLot AS _Extension ON InspectionLot = _Extension.InspectionLot -- association [1..1]
LEFT OUTER JOIN R_InspectionLotUsageDecisionTP AS _InspectionLotUsageDecision ON /* condition not available in parsed metadata */ -- association [0..1]
LEFT OUTER JOIN R_InspectionLotStatusTP AS _InspectionLotStatus ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_InspLotMatlDocItemTP AS _InspLotMatlDocItem ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_InspectionOperationTP AS _InspectionOperation ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_InspLotSerialNumberTP AS _InspLotSerialNumber ON /* condition not available in parsed metadata */ -- association [0..*]
;
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