---
# API: Buffer Sizing (A2X)
# File: API_BUFFERSIZING_SRV.md
# Version: 1.1.3
# Status: ACTIVE
# Protocol: OData V1
# Source URL: https://api.sap.com/api/API_BUFFERSIZING_SRV/overview
# Generated: 2026-07-23 14:17:02
---

# Buffer Sizing / 缓冲区大小计算 API

> **API 版本:** 1.1.3 | **状态:** ACTIVE | **协议:** OData V1  
> **技术名称:** `API_BUFFERSIZING_SRV`  
> **服务根路径:** `/sap/opu/odata/sap/API_BUFFERSIZING_SRV`  
> **SAP 通信场景:** `SAP_COM_0010`

## 概述 / Overview

该服务用于管理和查询缓冲区大小配置，支持对物料在特定工厂中的缓冲参数进行维护，包括计划交货时间、安全库存等关键字段。

This synchronous inbound OData V1 service enables management of buffer sizing configurations, supporting maintenance of buffer parameters such as planned delivery time and safety stock for materials in specific plants.

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

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_BufferSizing` | Buffer Sizing | 缓冲区大小配置 | `BufferSizing` |

---

## 1. A_BufferSizing — 缓冲区大小配置

**实体集合路径:** `A_BufferSizing`  
**主键 (Key):** `BufferSizing` (CHAR 10)

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `BufferSizing` | CHAR | 10 | Buffer Sizing ID | 缓冲区大小标识 |
| `Material` | CHAR | 40 | Material Number | 物料编号 |
| `Plant` | CHAR | 4 | Plant | 工厂 |
| `BufferProfile` | CHAR | 4 | Buffer Profile | 缓冲配置文件 |
| `PlannedDeliveryTime` | DEC | 5 | Planned Delivery Time (days) | 计划交货时间（天） |
| `SafetyStock` | DEC | 13.3 | Safety Stock Quantity | 安全库存数量 |
| `TargetStockLevel` | DEC | 13.3 | Target Stock Level | 目标库存水平 |
| `MaximumStockLevel` | DEC | 13.3 | Maximum Stock Level | 最大库存水平 |
| `ReplenishmentLeadTime` | DEC | 5 | Replenishment Lead Time (days) | 补货提前期（天） |
| `LotSize` | DEC | 13.3 | Lot Size | 批量大小 |
| `StorageLocation` | CHAR | 4 | Storage Location | 存储地点 |
| `MRPType` | CHAR | 2 | MRP Type | MRP 类型 |
| `MRPController` | CHAR | 3 | MRP Controller | MRP 控制者 |
| `IsActive` | BOOL | — | Is Active | 是否激活 |

### 功能选项 / Function Imports

| 功能名称 | 描述 (EN) | 描述 (CN) |
|----------|-----------|-----------|
| `CalculateBufferSizing` | Calculate Buffer Sizing | 计算缓冲区大小 |
| `RecalculateSafetyStock` | Recalculate Safety Stock | 重新计算安全库存 |

### 示例请求 / Sample Request

```http
GET /sap/opu/odata/sap/API_BUFFERSIZING_SRV/A_BufferSizing?$top=20
Accept: application/json
```

### 示例响应 / Sample Response

```json
{
  "d": {
    "results": [
      {
        "__metadata": { "id": "https://host/sap/opu/odata/sap/API_BUFFERSIZING_SRV/A_BufferSizing('001')", "uri": "https://host/sap/opu/odata/sap/API_BUFFERSIZING_SRV/A_BufferSizing('001')", "type": "API_BUFFERSIZING_SRV.A_BufferSizing" },
        "BufferSizing": "001",
        "Material": "MAT-1000",
        "Plant": "PL01",
        "BufferProfile": "STND",
        "PlannedDeliveryTime": 5,
        "SafetyStock": "500.000",
        "TargetStockLevel": "1500.000",
        "MaximumStockLevel": "2000.000",
        "ReplenishmentLeadTime": 10,
        "LotSize": "1000.000",
        "StorageLocation": "SL01",
        "MRPType": "PD",
        "MRPController": "001",
        "IsActive": true
      }
    ]
  }
}
```
