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

# Purchase Order (A2X) / 采购订单 API

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

## 概述 / Overview

该服务支持对采购订单进行创建、读取、更新和删除操作。可以从外部系统通过 API 调用在 SAP S/4HANA 中管理采购订单。

This synchronous inbound OData V4 service enables you to create, read, update, or delete purchase orders from a source system outside SAP S/4HANA.

**API 业务加速器中心:** https://api.sap.com/api/CE_PURCHASEORDER_0001/overview

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_PurchaseOrder` | Purchase Order Header | 采购订单抬头 | `PurchaseOrder` |
| 2 | `A_PurchaseOrderItem` | Purchase Order Item | 采购订单行项目 | `PurchaseOrder`, `PurchaseOrderItem` |
| 3 | `A_PurchaseOrderText` | Purchase Order Text | 采购订单文本 | `PurchaseOrder`, `PurchaseOrderItem`, `Language`, `TextID` |

---

## 1. A_PurchaseOrder — 采购订单抬头

**实体集合路径:** `A_PurchaseOrder`
**主键 (Key):** `PurchaseOrder` (CHAR 10)
**ETag:** 支持 (`ETag` 字段)

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `PurchaseOrder` | String | 10 | Purchase Order Number | 采购订单编号 (主键) |
| `CompanyCode` | String | 4 | Company Code | 公司代码 |
| `PurchaseOrderType` | String | 4 | Purchase Order Type | 采购订单类型 |
| `PurchasingOrganization` | String | 4 | Purchasing Organization | 采购组织 |
| `PurchasingGroup` | String | 3 | Purchasing Group | 采购组 |
| `Supplier` | String | 10 | Supplier Number | 供应商编号 |
| `DocumentCurrency` | String | 5 | Currency Key | 货币代码 |
| `NetAmount` | Decimal | - | Net Amount | 净金额 |
| `PaymentTerms` | String | 4 | Payment Terms | 付款条件 |
| `DeliveryDate` | DateTime | - | Delivery Date | 交货日期 |
| `CreationDate` | DateTime | - | Created On | 创建日期 |
| `CreatedByUser` | String | 12 | Created By | 创建人 |
| `LastChangeDate` | DateTime | - | Last Changed On | 最后更改日期 |
| `LastChangedByUser` | String | 12 | Last Changed By | 最后更改人 |
| `PurchasingProcessingStatus` | String | 2 | Processing Status | 采购处理状态 |
| `PurchaseOrderDeletionCode` | String | 1 | Deletion Indicator | 删除标识 |
| `ReleaseIsNotCompleted` | Boolean | - | Release Not Completed | 审批未完成标识 |
| `PurchasingReleaseStrategy` | String | 2 | Release Strategy | 审批策略 |
| `IncotermsClassification` | String | 3 | Incoterms | 国际贸易条款代码 |
| `IncotermsLocation1` | String | 70 | Incoterms Location 1 | 国际贸易条款地点1 |
| `SupplierName` | String | 80 | Supplier Name | 供应商名称 |
| `PurchasingDocumentOrigin` | String | 1 | Document Origin | 凭证来源 |
| `ResponsibleCostCenter` | String | 10 | Cost Center | 成本中心 |
| `ManualSupplierAddressID` | String | 10 | Manual Supplier Address | 手工供应商地址ID |

### 导航属性 / Navigation Properties

| 属性名 | 目标实体 | 基数 | 描述 |
|--------|----------|------|------|
| `to_PurchaseOrderItem` | A_PurchaseOrderItem | 0..* | 采购订单行项目 |
| `to_PurchaseOrderText` | A_PurchaseOrderText | 0..* | 采购订单文本 |

---

## 2. A_PurchaseOrderItem — 采购订单行项目

**实体集合路径:** `A_PurchaseOrderItem`
**主键 (Key):** `PurchaseOrder` (CHAR 10), `PurchaseOrderItem` (CHAR 5)

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `PurchaseOrder` | String | 10 | Purchase Order Number | 采购订单编号 (主键) |
| `PurchaseOrderItem` | String | 5 | Item Number | 行项目编号 (主键) |
| `Material` | String | 40 | Material Number | 物料编号 |
| `MaterialGroup` | String | 9 | Material Group | 物料组 |
| `Plant` | String | 4 | Plant | 工厂 |
| `Quantity` | Decimal | - | Order Quantity | 订购数量 |
| `OrderQuantityUnit` | String | 3 | Unit of Measure | 订单单位 |
| `NetPriceAmount` | Decimal | - | Net Price | 净价 |
| `NetAmount` | Decimal | - | Net Amount | 净金额 |
| `DocumentCurrency` | String | 5 | Currency Key | 货币代码 |
| `DeliveryDate` | DateTime | - | Delivery Date | 交货日期 |
| `TaxAmount` | Decimal | - | Tax Amount | 税额 |
| `StorageLocation` | String | 4 | Storage Location | 存储位置 |
| `StockType` | String | 2 | Stock Type | 库存类型 |
| `ItemIsBlocked` | Boolean | - | Item Blocked | 行项目冻结标识 |
| `ItemIsFinallyInvoiced` | Boolean | - | Finally Invoiced | 最终开票标识 |
| `PurchaseOrderItemText` | String | 40 | Item Text | 行项目文本 |
| `ProductType` | String | 4 | Product Type | 产品类型 |
| `ManufacturerMaterial` | String | 40 | Manufacturer Material | 制造商物料号 |
| `IsCompletelyDelivered` | Boolean | - | Complete Delivery | 完整交货标识 |
| `OverDeliveryTolerance` | Decimal | - | Overdelivery Tolerance | 过量交货容差 |
| `UnderDeliveryTolerance` | Decimal | - | Underdelivery Tolerance | 不足交货容差 |
| `CreationDate` | DateTime | - | Created On | 创建日期 |
| `LastChangeDate` | DateTime | - | Last Changed On | 最后更改日期 |

### 导航属性 / Navigation Properties

| 属性名 | 目标实体 | 基数 | 描述 |
|--------|----------|------|------|
| `to_PurchaseOrder` | A_PurchaseOrder | 0..1 | 采购订单抬头 |
| `to_PurchaseOrderText` | A_PurchaseOrderText | 0..* | 采购订单文本 |

---

## 3. A_PurchaseOrderText — 采购订单文本

**实体集合路径:** `A_PurchaseOrderText`
**主键 (Key):** `PurchaseOrder` (CHAR 10), `PurchaseOrderItem` (CHAR 5), `Language` (CHAR 2), `TextID` (CHAR 4)

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `PurchaseOrder` | String | 10 | Purchase Order Number | 采购订单编号 (主键) |
| `PurchaseOrderItem` | String | 5 | Item Number | 行项目编号 (主键) |
| `Language` | String | 2 | Language Key | 语言代码 (主键) |
| `TextID` | String | 4 | Text ID | 文本ID (主键) |
| `TextContent` | String | - | Text Content | 文本内容 |
