---
# API: Detection Method (A2X)
# File: DETECTIONMETHOD_0001.md
# Version: 1.1.0
# Status: ACTIVE
# Protocol: OData V4
# Source URL: https://api.sap.com/api/DETECTIONMETHOD/overview
# Generated: 2026-07-23 14:17:02
---

# Detection Method / 检测方法 API

> **API 版本:** 1.1.0 | **状态:** ACTIVE | **协议:** OData V4  
> **技术名称:** `DETECTIONMETHOD`  
> **服务根路径:** `/sap/opu/odata4/sap/detectionmethod/srvd_a2x/sap/detectionmethod/0001/`  
> **SAP 通信场景:** `SAP_COM_0275`

## 概述 / Overview

该服务用于查询检测方法主数据，支持质量管理和检验流程。

This service enables querying of detection method master data for quality management and inspection processes.

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

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_DetectionMethod` | Detection Method | 检测方法 | `DetectionMethod` |

---

## 1. A_DetectionMethod — 检测方法

**实体集合路径:** `A_DetectionMethod`  
**主键 (Key):** `DetectionMethod` (CHAR 3)

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `DetectionMethod` | CHAR | 3 | Detection Method | 检测方法 |
| `DetectionMethodName` | CHAR | 40 | Detection Method Name | 检测方法名称 |
| `DetectionMethodGroup` | CHAR | 3 | Detection Method Group | 检测方法组 |
| `DetectionMethodUnit` | UNIT | 3 | Unit of Measurement | 计量单位 |
| `DetectionMethodCategory` | CHAR | 1 | Category | 类别 |
| `CreationDate` | DATN | 8 | Creation Date | 创建日期 |
| `LastChangeDate` | DATN | 8 | Last Change Date | 最后更改日期 |
| `Language` | LANG | 2 | Language | 语言 |
| `LongText` | CHAR | 200 | Long Text | 长文本 |

---

## 示例请求 / Sample Requests

### 读取所有检测方法

```http
GET /sap/opu/odata4/sap/detectionmethod/srvd_a2x/sap/detectionmethod/0001/A_DetectionMethod
Accept: application/json
```

### 按检测方法查询

```http
GET /sap/opu/odata4/sap/detectionmethod/srvd_a2x/sap/detectionmethod/0001/A_DetectionMethod('001')
Accept: application/json
```

### 按检测方法组筛选

```http
GET /sap/opu/odata4/sap/detectionmethod/srvd_a2x/sap/detectionmethod/0001/A_DetectionMethod?$filter=DetectionMethodGroup eq '010'
Accept: application/json
```
