?---
# API: Sales Scheduling Agreement (A2X)
# File: API_SALES_SCHEDULING_AGREEMENT.md
# Version: 1.0.0
# Status: ACTIVE
# Protocol: OData V2
# Source URL: https://api.sap.com/api/API_SALES_SCHEDULING_AGREEMENT/overview
# Generated: 2026-07-23
---

# Sales Scheduling Agreement / 销售计划协?API

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

## 概述 / Overview

该服务提供销售计划协议的创建、读取、更新和删除（CRUD）操作，支持行项目和交货计划行管理?
This service enables CRUD operations on sales scheduling agreements, including item management and delivery schedule lines.

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

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_SalesSchedulingAgreement` | Sales Scheduling Agreement | 销售计划协?| `SalesSchedulingAgreement` |
| 2 | `A_SalesSchedulingAgreementItem` | Sales Scheduling Agreement Item | 销售计划协议行项目 | `SalesSchedulingAgreement`, `SalesSchedulingAgreementItem` |

---

## 1. A_SalesSchedulingAgreement ?销售计划协?
**实体集合路径:** `A_SalesSchedulingAgreement`  
**主键 (Key):** `SalesSchedulingAgreement` (CHAR 10)  
**ETag:** 支持

### 字段列表 / Field List

| 字段?| 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `SalesSchedulingAgreement` | String | 10 | Sales Scheduling Agreement | 销售计划协?(主键) |
| `SalesOrganization` | String | 4 | Sales Organization | 销售组?|
| `DistributionChannel` | String | 2 | Distribution Channel | 分销渠道 |
| `Division` | String | 2 | Division | 产品?|
| `SoldToParty` | String | 10 | Sold-to Party | 售达?|
| `ShipToParty` | String | 10 | Ship-to Party | 送达?|
| `BillToParty` | String | 10 | Bill-to Party | 收票?|
| `PayerParty` | String | 10 | Payer | 付款?|
| `AgreementType` | String | 4 | Agreement Type | 协议类型 |
| `AgreementDate` | DateTime | - | Agreement Date | 协议日期 |
| `CreationDate` | DateTime | - | Creation Date | 创建日期 |
| `CreatedByUser` | String | 12 | Created By | 创建?|
| `LastChangeDate` | DateTime | - | Last Change Date | 最后更改日?|
| `LastChangedByUser` | String | 12 | Last Changed By | 最后更改人 |
| `NetValue` | Decimal | 13,2 | Net Value | 净?|
| `Currency` | String | 5 | Currency | 货币 |
| `CustomerPriceGroup` | String | 2 | Customer Price Group | 客户价格?|
| `PriceListType` | String | 2 | Price List Type | 价格表类?|
| `Incoterms` | String | 3 | Incoterms | 国际贸易条款 |
| `PaymentTerms` | String | 4 | Payment Terms | 付款条件 |
| `PurchaseOrderByCustomer` | String | 35 | Customer Purchase Order Number | 客户采购订单?|
| `CustomerPurchaseOrderDate` | DateTime | - | Customer Purchase Order Date | 客户采购订单日期 |
| `ValidityStartDate` | DateTime | - | Validity Start Date | 有效期起始日?|
| `ValidityEndDate` | DateTime | - | Validity End Date | 有效期截止日?|
| `OverallDeliveryStatus` | String | 1 | Overall Delivery Status | 总体交货状?|
| `OverallBillingStatus` | String | 1 | Overall Billing Status | 总体开票状?|
| `SalesDistrict` | String | 6 | Sales District | 销售地?|
| `SalesGroup` | String | 3 | Sales Group | 销售组 |
| `SalesOffice` | String | 4 | Sales Office | 销售办事处 |
| `ShippingType` | String | 2 | Shipping Type | 发货类型 |
| `DeliveryBlock` | String | 2 | Delivery Block | 交货冻结 |
| `BillingBlock` | String | 2 | Billing Block | 开票冻?|
| `ExchangeRate` | Decimal | 9,5 | Exchange Rate | 汇率 |
| `ReferenceSDDocument` | String | 10 | Reference SD Document | 参考SD单据 |
| `AccountingExchangeRate` | Decimal | 9,5 | Accounting Exchange Rate | 会计汇率 |
| `CustomerGroup` | String | 2 | Customer Group | 客户?|
| `CustomerAccountAssignmentGroup` | String | 2 | Customer Account Assignment Group | 客户科目分配?|

### 导航属?/ Navigation Properties

| 属性名 | 目标实体 | 基数 | 描述 |
|--------|----------|------|------|
| `to_Item` | A_SalesSchedulingAgreementItem | 0..* | 销售计划协议行项目 |
| `to_Partner` | A_SalesSchedulingAgreementPartner | 0..* | 销售计划协议伙?|

---

## 2. A_SalesSchedulingAgreementItem ?销售计划协议行项目

**实体集合路径:** `A_SalesSchedulingAgreementItem`  
**主键 (Key):** `SalesSchedulingAgreement` (CHAR 10), `SalesSchedulingAgreementItem` (CHAR 6)  
**ETag:** 支持

### 字段列表 / Field List

| 字段?| 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `SalesSchedulingAgreement` | String | 10 | Sales Scheduling Agreement | 销售计划协?|
| `SalesSchedulingAgreementItem` | String | 6 | Item Number | 行项目编?|
| `Material` | String | 40 | Material Number | 物料编号 |
| `MaterialGroup` | String | 9 | Material Group | 物料?|
| `Plant` | String | 4 | Plant | 工厂 |
| `TargetQuantity` | Decimal | 13,3 | Target Quantity | 目标数量 |
| `TargetQuantityUnit` | String | 3 | Unit of Measure | 目标数量单位 |
| `NetAmount` | Decimal | 13,2 | Net Amount | 净?|
| `NetAmountQuantity` | Decimal | 13,3 | Quantity for Net Amount | 净额参考数?|
| `NetAmountQuantityUnit` | String | 3 | Unit of Measure for Net Amount | 净额参考数量单?|
| `ItemDeliveryStatus` | String | 1 | Item Delivery Status | 行项目交货状?|
| `ItemBillingStatus` | String | 1 | Item Billing Status | 行项目开票状?|
| `MaterialPricingGroup` | String | 2 | Material Pricing Group | 物料定价?|
| `MaterialAccountAssignmentGroup` | String | 2 | Material Account Assignment Group | 物料科目分配?|
| `RequestedQuantity` | Decimal | 13,3 | Requested Quantity | 请求数量 |
| `CustomerMaterialNumber` | String | 35 | Customer Material Number | 客户物料?|
| `BatchNumber` | String | 10 | Batch Number | 批次?|
| `ItemBlock` | String | 2 | Item Block | 行项目冻?|
| `StorageLocation` | String | 4 | Storage Location | 存储地点 |
| `ShippingPlant` | String | 4 | Shipping Plant | 发货工厂 |

---

## 相关资源 / References

| 资源 | 链接 |
|------|------|
| SAP API Business Hub | [https://api.sap.com/api/API_SALES_SCHEDULING_AGREEMENT/overview](https://api.sap.com/api/API_SALES_SCHEDULING_AGREEMENT/overview) |
| SAP Help Portal (Cloud) | [https://help.sap.com/docs/SAP_S4HANA_CLOUD](https://help.sap.com/docs/SAP_S4HANA_CLOUD) |
| SAP Cloud SDK Java VDM | [https://javadoc.io/static/com.sap.cloud.sdk.s4hana/s4hana-api-odata](https://javadoc.io/static/com.sap.cloud.sdk.s4hana/s4hana-api-odata) |
| SAP Cloud SDK JavaScript | [https://sap.github.io/cloud-sdk/docs/js/features/odata/v2-client](https://sap.github.io/cloud-sdk/docs/js/features/odata/v2-client) |