---
# API: Inspection Lot (A2X)
# File: API_INSPECTIONLOT_SRV.md
# Version: 1.2.0
# Status: ACTIVE
# Protocol: OData V2
# Source URL: https://api.sap.com/api/API_INSPECTIONLOT_SRV/overview
# Generated: 2026-07-23 14:17:02
---

# Inspection Lot (A2X) / 检验批 API

> **API 版本:** 1.2.0 | **状态:** ACTIVE | **协议:** OData V2  
> **技术名称:** `API_INSPECTIONLOT_SRV`  
> **服务根路径:** `/sap/opu/odata/sap/API_INSPECTIONLOT_SRV`

## 概述 / Overview

该服务支持对检验批（Inspection Lot）及检验批特性（Inspection Lot Characteristic）进行读取操作。

This synchronous inbound OData V2 service enables read operations on inspection lots and their characteristics in SAP S/4HANA.

**API 业务加速器中心:** [https://api.sap.com/api/API_INSPECTIONLOT_SRV/overview](https://api.sap.com/api/API_INSPECTIONLOT_SRV/overview)

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_InspectionLot` | Inspection Lot | 检验批 | `InspectionLot` |
| 2 | `A_InspectionLotCharacteristic` | Inspection Lot Characteristic | 检验批特性 | `InspectionLot`, `InspectionLotCharacteristic` |

---

## 1. A_InspectionLot — 检验批

**实体集合路径:** `A_InspectionLot`  
**主键 (Key):** `InspectionLot` (CHAR 12)  
**ETag:** 支持 (`ETag` 字段)

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `InspectionLot` | String | 12 | Inspection Lot Number | 检验批编号 (主键) |
| `Material` | String | 40 | Material Number | 物料编号 |
| `Plant` | String | 4 | Plant | 工厂 |
| `Batch` | String | 10 | Batch Number | 批次号 |
| `OrderType` | String | 4 | Order Type | 订单类型 |
| `InspectionLotQuantity` | Decimal | - | Inspection Lot Quantity | 检验批数量 |
| `InspectionLotQuantityUnit` | String | 3 | Unit of Measure | 计量单位 |
| `LotCreationDate` | DateTime | - | Lot Creation Date | 检验批创建日期 |
| `LotClosedDate` | DateTime | - | Lot Closed Date | 检验批关闭日期 |
| `InspectionLotStatus` | String | 2 | Inspection Lot Status | 检验批状态 |
| `InspectionLotStatusDesc` | String | 60 | Status Description | 状态描述 |
| `InspectionType` | String | 4 | Inspection Type | 检验类型 |
| `InspectionPlant` | String | 4 | Inspection Plant | 检验工厂 |
| `InspectionSpecification` | String | 18 | Inspection Specification | 检验规范 |
| `Inspector` | String | 12 | Inspector | 检验员 |
| `InspectorName` | String | 60 | Inspector Name | 检验员名称 |
| `InspectionStartDate` | DateTime | - | Inspection Start Date | 检验开始日期 |
| `InspectionEndDate` | DateTime | - | Inspection End Date | 检验结束日期 |
| `CatalogType` | String | 1 | Catalog Type | 目录类型 |
| `CodeGroup` | String | 8 | Code Group | 代码组 |
| `CodedByUser` | String | 12 | Coded By | 录入人 |
| `CodingDate` | DateTime | - | Coding Date | 录入日期 |
| `UsageDecision` | String | 1 | Usage Decision | 使用决策 |
| `UsageDecisionText` | String | 60 | Usage Decision Description | 使用决策描述 |
| `MaterialName` | String | 40 | Material Description | 物料描述 |
| `CreationDate` | DateTime | - | Created On | 创建日期 |
| `CreatedByUser` | String | 12 | Created By | 创建人 |
| `LastChangeDate` | DateTime | - | Last Changed On | 最后更改日期 |
| `LastChangedByUser` | String | 12 | Last Changed By | 最后更改人 |
| `ProductionOrder` | String | 12 | Production Order | 生产订单 |
| `ProductionOrderItem` | String | 4 | Production Order Item | 生产订单行项目 |

---

## 2. A_InspectionLotCharacteristic — 检验批特性

**实体集合路径:** `A_InspectionLotCharacteristic`  
**主键 (Key):** `InspectionLot` (CHAR 12), `InspectionLotCharacteristic` (CHAR 4)  
**导航:** `A_InspectionLotCharacteristic` → `A_InspectionLot` (via `InspectionLot`)

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `InspectionLot` | String | 12 | Inspection Lot Number | 检验批编号 (主键) |
| `InspectionLotCharacteristic` | String | 4 | Characteristic Number | 特性编号 (主键) |
| `CharacteristicName` | String | 30 | Characteristic Name | 特性名称 |
| `InspSpecificationValue` | Decimal | - | Inspection Specification Value | 检验规规范值 |
| `MeasuredValue` | Decimal | - | Measured Value | 测量值 |
| `MeasuredValueUnit` | String | 3 | Unit of Measure | 计量单位 |
| `CharacteristicStatus` | String | 1 | Characteristic Status | 特性状态 |
| `CharacteristicStatusDesc` | String | 60 | Status Description | 状态描述 |
| `ValuationCode` | String | 1 | Valuation Code | 评估代码 |
| `ValuationCodeDesc` | String | 60 | Valuation Description | 评估描述 |
| `LowerSpecificationLimit` | Decimal | - | Lower Specification Limit | 规格下限 |
| `UpperSpecificationLimit` | Decimal | - | Upper Specification Limit | 规格上限 |
| `LowerToleranceLimit` | Decimal | - | Lower Tolerance Limit | 公差下限 |
| `UpperToleranceLimit` | Decimal | - | Upper Tolerance Limit | 公差上限 |
| `Formula` | String | 60 | Formula | 公式 |
| `NumberOfSamples` | Decimal | - | Number of Samples | 样本数量 |
| `MeanValue` | Decimal | - | Mean Value | 平均值 |
| `StandardDeviation` | Decimal | - | Standard Deviation | 标准偏差 |
| `MinimumValue` | Decimal | - | Minimum Value | 最小值 |
| `MaximumValue` | Decimal | - | Maximum Value | 最大值 |
| `InspectionMethod` | String | 8 | Inspection Method | 检验方法 |
| `InspectionMethodDesc` | String | 60 | Inspection Method Description | 检验方法描述 |
| `MeasuredValueDisplay` | String | 18 | Measured Value Display | 测量值显示 |