---
# API: Central Purchase Contract (A2X)
# File: API_CENTRAL_PURCHASECONTRACT_SRV.md
# Version: 1.0.0
# Status: ACTIVE
# Protocol: OData V2
# Source URL: https://api.sap.com/api/API_CENTRAL_PURCHASECONTRACT_SRV/overview
# Generated: 2026-07-23 14:17:02
---

# Central Purchase Contract / 集中采购合同 API

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

## 概述 / Overview

该服务用于管理集中采购合同，支持对采购合同抬头数据的查询和维护，涵盖供应商、采购组织、采购组及合同金额等核心信息。

This synchronous inbound OData V2 service enables management of central purchase contracts, supporting query and maintenance of contract header data including supplier, purchasing organization, purchasing group, and contract amount.

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

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_CentralPurchaseContract` | Central Purchase Contract | 集中采购合同 | `CentralPurchaseContract` |
| 2 | `A_CentralPurchaseContractItem` | Central Purchase Contract Item | 集中采购合同行项目 | `CentralPurchaseContract`, `ContractItem` |
| 3 | `A_CentralPurgContractAddrDep` | Contract Address Dependent Data | 合同地址相关数据 | `CentralPurchaseContract`, `AddressID` |

---

## 1. A_CentralPurchaseContract — 集中采购合同

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

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `CentralPurchaseContract` | CHAR | 10 | Central Purchase Contract | 集中采购合同编号 |
| `Supplier` | CHAR | 10 | Supplier | 供应商 |
| `PurchasingOrganization` | CHAR | 4 | Purchasing Organization | 采购组织 |
| `PurchasingGroup` | CHAR | 3 | Purchasing Group | 采购组 |
| `NetAmount` | DEC | 15.2 | Net Amount | 净金额 |
| `Currency` | CUKY | 5 | Currency | 币种 |
| `StartDate` | DATS | 8 | Contract Start Date | 合同开始日期 |
| `EndDate` | DATS | 8 | Contract End Date | 合同结束日期 |
| `ContractType` | CHAR | 4 | Contract Type | 合同类型 |
| `AgreementDate` | DATS | 8 | Agreement Date | 协议日期 |
| `PaymentTerms` | CHAR | 4 | Payment Terms | 付款条件 |
| `Incoterms` | CHAR | 3 | Incoterms | 国际贸易条款 |
| `PurchasingDocumentOrigin` | CHAR | 1 | Purchasing Document Origin | 采购凭证来源 |
| `ReleaseStatus` | CHAR | 1 | Release Status | 审批状态 |
| `CreatedByUser` | CHAR | 12 | Created By | 创建者 |
| `CreationDate` | DATS | 8 | Creation Date | 创建日期 |
| `LastChangeDate` | DATS | 8 | Last Change Date | 最后更改日期 |

### 导航属性 / Navigation Properties

| 导航属性 | 目标实体 | 描述 (EN) | 描述 (CN) |
|----------|----------|-----------|-----------|
| `To_Item` | `A_CentralPurchaseContractItem` | Contract Items | 合同行项目 |
| `To_AddressDependent` | `A_CentralPurgContractAddrDep` | Address Dependent Data | 地址相关数据 |

### 示例请求 / Sample Request

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

### 示例响应 / Sample Response

```json
{
  "d": {
    "results": [
      {
        "__metadata": { "id": "https://host/sap/opu/odata/sap/API_CENTRAL_PURCHASECONTRACT_SRV/A_CentralPurchaseContract('5500000001')", "uri": "https://host/sap/opu/odata/sap/API_CENTRAL_PURCHASECONTRACT_SRV/A_CentralPurchaseContract('5500000001')", "type": "API_CENTRAL_PURCHASECONTRACT_SRV.A_CentralPurchaseContract" },
        "CentralPurchaseContract": "5500000001",
        "Supplier": "0010000002",
        "PurchasingOrganization": "1000",
        "PurchasingGroup": "001",
        "NetAmount": "250000.00",
        "Currency": "USD",
        "ContractType": "ZSTD",
        "StartDate": "/Date(1893456000000)/",
        "EndDate": "/Date(1924992000000)/",
        "AgreementDate": "/Date(1893024000000)/",
        "PaymentTerms": "0001",
        "Incoterms": "FOB",
        "ReleaseStatus": "R",
        "CreatedByUser": "USER001",
        "CreationDate": "/Date(1893024000000)/"
      }
    ]
  }
}
```
