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

# Sales Order Simulation / 销售订单模?API

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

## 概述 / Overview

该服务提供销售订单模拟功能，通过函数导入（Function Import）传入销售订单、物料、工厂、数量等参数，返回模拟计算结果（如价格、可用性、交货计划等）?
This service enables sales order simulation via a function import. The request includes fields such as SalesOrder, Material, Plant, RequestedQuantity, etc., and returns simulated pricing, availability, and scheduling results.

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

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_SalesOrderSimulation` | Sales Order Simulation (Function Import) | 销售订单模拟（函数导入?| 无实体键 |

---

## 1. A_SalesOrderSimulation ?销售订单模拟函数导?
**实体集合路径:** `A_SalesOrderSimulation`  
**类型:** Function Import  
**ETag:** 不支?
### 请求参数 / Request Parameters

| 参数?| 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `SalesOrder` | String | 10 | Sales Order | 销售订?|
| `SalesOrderType` | String | 4 | Sales Order Type | 销售订单类?|
| `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 | 送达?|
| `CustomerPriceGroup` | String | 2 | Customer Price Group | 客户价格?|
| `PriceListType` | String | 2 | Price List Type | 价格表类?|
| `Material` | String | 40 | Material Number | 物料编号 |
| `MaterialGroup` | String | 9 | Material Group | 物料?|
| `Plant` | String | 4 | Plant | 工厂 |
| `RequestedQuantity` | Decimal | 13,3 | Requested Quantity | 请求数量 |
| `RequestedQuantityUnit` | String | 3 | Unit of Measure | 请求数量单位 |
| `RequestedDeliveryDate` | DateTime | - | Requested Delivery Date | 请求交货日期 |
| `ShippingType` | String | 2 | Shipping Type | 发货类型 |
| `DeliveryPriority` | String | 2 | Delivery Priority | 交货优先?|
| `Incoterms` | String | 3 | Incoterms | 国际贸易条款 |
| `PaymentTerms` | String | 4 | Payment Terms | 付款条件 |
| `PricingProcedure` | String | 6 | Pricing Procedure | 定价过程 |
| `CustomerAccountAssignmentGroup` | String | 2 | Customer Account Assignment Group | 客户科目分配?|
| `MaterialPricingGroup` | String | 2 | Material Pricing Group | 物料定价?|
| `MaterialAccountAssignmentGroup` | String | 2 | Material Account Assignment Group | 物料科目分配?|

### 响应字段 / Response Fields

| 字段?| 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `NetValue` | Decimal | 13,2 | Net Value | 净?|
| `TaxAmount` | Decimal | 13,2 | Tax Amount | 税额 |
| `GrossValue` | Decimal | 13,2 | Gross Value | 总金?|
| `Currency` | String | 5 | Currency | 货币 |
| `RequestedQuantity` | Decimal | 13,3 | Requested Quantity | 请求数量 |
| `ConfirmedQuantity` | Decimal | 13,3 | Confirmed Quantity | 确认数量 |
| `GoodsIssueDate` | DateTime | - | Goods Issue Date | 发货过账日期 |
| `MaterialAvailabilityDate` | DateTime | - | Material Availability Date | 物料可用日期 |
| `BillingDocumentDate` | DateTime | - | Billing Document Date | 开票日?|
| `ShippingPlant` | String | 4 | Shipping Plant | 发货工厂 |
| `DeliveryBlock` | String | 2 | Delivery Block | 交货冻结 |
| `BillingBlock` | String | 2 | Billing Block | 开票冻?|
| `OverallDeliveryStatus` | String | 1 | Overall Delivery Status | 总体交货状?|
| `OverallBillingStatus` | String | 1 | Overall Billing Status | 总体开票状?|

---

## 相关资源 / References

| 资源 | 链接 |
|------|------|
| SAP API Business Hub | [https://api.sap.com/api/API_SALES_ORDER_SIMULATION_SRV/overview](https://api.sap.com/api/API_SALES_ORDER_SIMULATION_SRV/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) |