?---
# API: Freight Agreement (A2X)
# File: CE_FREIGHTAGREEMENT_0001.md
# Version: 1.0.4
# Status: ACTIVE
# Protocol: OData V4
# Source URL: https://api.sap.com/api/CE_FREIGHTAGREEMENT_0001/overview
# Generated: 2026-07-23 14:17:02
---

# Freight Agreement / 货运协议 API

> **API 版本:** 1.0.4 | **状** ACTIVE | **协议:** OData V4  
> **技术名** `CE_FREIGHTAGREEMENT_0001`  
> **服务根路** `/sap/opu/odata4/sap/ce_freightagreement/srvd_a2x/sap/freightagreement/0001/`  
> **SAP 通信场景:** `SAP_COM_0275`

## 概述 / Overview

该服务用于管理货运协议，支持创建、读取、更新、发布、复制和删除货运协议?
You use this service to manage your freight agreements. This service enables you to create, retrieve, update, release, copy, and delete freight agreements through API calls.

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

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_FreightAgreement` | Freight Agreement Header | 货运协议抬头 | `FreightAgreement` |
| 2 | `A_FreightAgreementItem` | Freight Agreement Item | 货运协议行项?| `FreightAgreement`, `FreightAgreementItem` |

---

## 1. A_FreightAgreement ?货运协议抬头

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

### 字段列表 / Field List

| 字段?| 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `FreightAgreement` | String | 10 | Freight Agreement Number | 货运协议编号 (主键) |
| `FreightAgreementType` | String | 4 | Freight Agreement Type | 货运协议类型 |
| `CompanyCode` | String | 4 | Company Code | 公司代码 |
| `Supplier` | String | 10 | Supplier (Carrier) | 供应商（承运商） |
| `AgreementValidityStartDate` | DateTime | - | Agreement Validity Start Date | 协议有效起始日期 |
| `AgreementValidityEndDate` | DateTime | - | Agreement Validity End Date | 协议有效截止日期 |
| `NetAmount` | Decimal | 23 | Net Amount | 净金额 |
| `Currency` | String | 5 | Currency | 货币代码 |
| `PurchasingOrganization` | String | 4 | Purchasing Organization | 采购组织 |
| `PurchasingGroup` | String | 3 | Purchasing Group | 采购?|
| `PaymentTerms` | String | 4 | Payment Terms | 付款条件 |
| `Incoterms` | String | 3 | Incoterms | 国际贸易术语 |
| `IncotermsLocation` | String | 70 | Incoterms Location | 国际贸易术语地点 |
| `TransportationMode` | String | 2 | Transportation Mode | 运输模式 |
| `FreightAgreementStatus` | String | 2 | Status of Freight Agreement | 货运协议状?|
| `Description` | String | 40 | Description | 描述 |
| `CreatedByUser` | String | 12 | Created By | 创建?|
| `CreationDate` | DateTime | - | Created On | 创建日期 |
| `LastChangedByUser` | String | 12 | Last Changed By | 最后更改人 |
| `LastChangeDate` | DateTime | - | Last Changed On | 最后更改日?|
| `ETag` | String | - | ETag for Optimistic Locking | 乐观锁ETag |

---

## 2. A_FreightAgreementItem ?货运协议行项?
**实体集合路径:** `A_FreightAgreementItem`  
**主键 (Key):** `FreightAgreement` (CHAR 10), `FreightAgreementItem` (CHAR 6)  
**ETag:** 不支?
### 字段列表 / Field List

| 字段?| 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `FreightAgreement` | String | 10 | Freight Agreement Number | 货运协议编号 (主键) |
| `FreightAgreementItem` | String | 6 | Freight Agreement Item Number | 货运协议行项目号 (主键) |
| `FreightAgreementItemCategory` | String | 4 | Item Category | 行项目类?|
| `Rate` | Decimal | 23 | Rate | 费率 |
| `RateUnit` | String | 3 | Rate Unit of Measure | 费率计量单位 |
| `RateCurrency` | String | 5 | Rate Currency | 费率货币 |
| `MinimumAmount` | Decimal | 23 | Minimum Amount | 最低金?|
| `MaximumAmount` | Decimal | 23 | Maximum Amount | 最高金?|
| `ScaleBasis` | String | 2 | Scale Basis | 阶梯基准 |
| `ScaleQuantity` | Decimal | 13 | Scale Quantity | 阶梯数量 |
| `ValidityStartDate` | DateTime | - | Item Validity Start Date | 行项目有效起始日?|
| `ValidityEndDate` | DateTime | - | Item Validity End Date | 行项目有效截止日?|
| `TransportationMode` | String | 2 | Transportation Mode | 运输模式 |
| `RateTable` | String | 10 | Rate Table | 费率?|
| `Description` | String | 40 | Item Description | 行项目描?|
