?---
# API: Service Document Type (A2X)
# File: SERVICEDOCUMENTTYPE_0001.md
# Version: 1.0.0
# Status: ACTIVE
# Protocol: OData V4
# Source URL: https://api.sap.com/api/SERVICEDOCUMENTTYPE/overview
# Generated: 2026-07-23 14:17:02
---

# Service Document Type (A2X) / 服务单据类型 API

> **API 版本:** 1.0.0 | **状** ACTIVE | **协议:** OData V4  
> **技术名** `SERVICEDOCUMENTTYPE`  
> **服务根路** `/sap/opu/odata4/sap/servicedocumenttype/srvd_a2x/sap/servicetransactiontype/0001/`  
> **SAP 通信场景:** `SAP_COM_0279`

## 概述 / Overview

该服务提供对服务单据类型的读取操作，用于定义和管?SAP 服务交易中使用的各种单据类型?
This synchronous inbound OData V4 service enables read operations on Service Document Type master data, used to define and manage various document types used in SAP service transactions.

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

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_ServiceDocType` | Service Document Type | 服务单据类型 | `ServiceTransactionType` |

---

## 1. A_ServiceDocType ?服务单据类型

**实体集合路径:** `A_ServiceDocType`  
**主键 (Key):** `ServiceTransactionType` (CHAR 4)

### 字段列表 / Field List

| 字段?| 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `ServiceTransactionType` | CHAR | 4 | Service Transaction Type | 服务交易类型 |
| `ServiceTransactionTypeName` | CHAR | 60 | Name of Service Transaction Type | 服务交易类型名称 |

### 查询选项 / Query Options

| 选项 | 说明 |
|------|------|
| `GET /A_ServiceDocType` | 获取所有服务单据类型列?|
| `GET /A_ServiceDocType(\$value)` | 读取指定服务单据类型 |
| `$filter` | 支持字段过滤 |
| `$orderby` | 支持排序 |
| `$top` / `$skip` | 支持分页 |

### 示例请求 / Example Request

```http
GET /sap/opu/odata4/sap/servicedocumenttype/srvd_a2x/sap/servicetransactiontype/0001/A_ServiceDocType
Accept: application/json
```

### 示例响应 / Example Response

```json
{
  "d": {
    "results": [
      {
        "ServiceTransactionType": "SRVO",
        "ServiceTransactionTypeName": "Service Order"
      }
    ]
  }
}
```