---
# API: Warehouse Available Stock (A2X)
# File: WAREHOUSEAVAILABLESTOCK_0001.md
# Version: 1.0.2
# Status: ACTIVE
# Protocol: OData V4
# Source URL: https://api.sap.com/api/WAREHOUSEAVAILABLESTOCK/overview
# Generated: 2026-07-23 14:17:02
---

# Warehouse Available Stock / 仓库可用库存 API

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

## 概述 / Overview

该服务提供对仓库可用库存数据的读取访问。可用库存用于确定仓库中特定产品、库存所有者和批次的可供货数量。

This synchronous inbound OData V4 service provides read access to warehouse available stock data. Available stock is used to determine the quantity available for a specific product, stock owner, and batch within a warehouse.

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_WarehouseAvailableStock` | Warehouse Available Stock | 仓库可用库存 | `WarehouseNumber`, `Product`, `StockOwner`, `Batch` |

---

## 1. A_WarehouseAvailableStock — 仓库可用库存

**实体集合路径:** `A_WarehouseAvailableStock`  
**主键 (Key):** `WarehouseNumber` (CHAR 3), `Product` (CHAR 40), `StockOwner` (CHAR 10), `Batch` (CHAR 10)  
**ETag:** 不支持

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `WarehouseNumber` | CHAR | 3 | Warehouse Number | 仓库编号 |
| `Product` | CHAR | 40 | Product Number | 产品编号 |
| `StockOwner` | CHAR | 10 | Stock Owner | 库存所有者 |
| `Batch` | CHAR | 10 | Batch | 批次 |
| `AvailableStock` | DEC | 17(3) | Available Stock | 可用库存 |
| `StockUnit` | UNIT | 3 | Stock Unit of Measure | 库存单位 |
| `ValuationStock` | DEC | 17(3) | Valuation Stock | 评估库存 |

---

## 附录 / Appendix

### 备注 / Notes

- 该服务为只读服务（OData V4），仅支持 GET 请求。
- This service is read-only (OData V4); only GET requests are supported.
- 可用库存 = 库存总量 - 已分配库存。
- Available Stock = Total Stock - Allocated Stock.
