---
# API: Direct Activity Allocation (A2X)
# File: CE_DIRECTACTIVITYALLOCATION_0001.md
# Version: 1.3.0
# Status: ACTIVE
# Protocol: OData V4
# Source URL: https://api.sap.com/api/CE_DIRECTACTIVITYALLOCATION_0001/overview
# Generated: 2026-07-23
---

# Direct Activity Allocation / 直接作业分配 API

> **API 版本:** 1.3.0 | **状态:** ACTIVE | **协议:** OData V4  
> **技术名称:** `CE_DIRECTACTIVITYALLOCATION_0001`  
> **服务根路径:** `/sap/opu/odata4/sap/ce_directactivityallocation/srvd_a2x/sap/directactivityallocation/0001/`  
> **SAP 通信场景:** `SAP_COM_0279`

## 概述 / Overview

该服务支持直接作业分配记录的创建、读取、更新和删除操作。直接作业分配用于在控制范围内记录和分摊发送方成本中心向接收方对象提供的作业量。

This service enables CRUD operations on direct activity allocation records. Direct activity allocation involves the measurement, recording, and allocation of business services performed, charging sender cost centers to receiver objects based on activity types.

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

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_DirectActivityAllocation` | Direct Activity Allocation | 直接作业分配 | `DirectActivityAllocation`, `DirectActivityAllocationItem` |

---

## 1. A_DirectActivityAllocation — 直接作业分配

**实体集合路径:** `A_DirectActivityAllocation`  
**主键 (Key):** `DirectActivityAllocation` (CHAR 10), `DirectActivityAllocationItem` (NUMC 4)  
**ETag:** 不支持

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `DirectActivityAllocation` | String | 10 | Direct Activity Allocation Document Number | 直接作业分配凭证编号 (主键) |
| `DirectActivityAllocationItem` | String | 4 | Direct Activity Allocation Item Number | 直接作业分配行项目 (主键) |
| `ControllingArea` | String | 4 | Controlling Area | 控制范围 |
| `SenderCostCenter` | String | 10 | Sender Cost Center | 发送方成本中心 |
| `ReceiverCostCenter` | String | 10 | Receiver Cost Center | 接收方成本中心 |
| `ReceiverOrder` | String | 12 | Receiver Order | 接收方内部订单 |
| `ReceiverWBSElement` | String | 8 | Receiver WBS Element | 接收方WBS元素 |
| `ReceiverCostObject` | String | 12 | Receiver Cost Object | 接收方成本对象 |
| `ReceiverBusinessProcess` | String | 12 | Receiver Business Process | 接收方业务流程 |
| `ReceiverProfitabilitySegment` | String | 10 | Receiver Profitability Segment | 接收方获利能力段 |
| `ActivityType` | String | 6 | Activity Type | 作业类型 |
| `ActivityUnit` | String | 3 | Unit of Measure for Activity | 作业计量单位 |
| `ActualQuantity` | Decimal | 15 | Actual Activity Quantity | 实际作业数量 |
| `TransactionCurrency` | String | 5 | Transaction Currency | 交易货币 |
| `TotalPrice` | Decimal | 23 | Total Price (Amount) | 总金额 |
| `PricePerUnit` | Decimal | 23 | Price per Unit | 单价 |
| `PostingDate` | DateTime | - | Posting Date | 过账日期 |
| `AccountingDocument` | String | 10 | Accounting Document Number | 会计凭证编号 |
| `FiscalYear` | String | 4 | Fiscal Year | 会计年度 |
| `FiscalPeriod` | String | 3 | Fiscal Period | 会计期间 |
| `CreationDate` | DateTime | - | Created On | 创建日期 |
| `CreatedByUser` | String | 12 | Created By | 创建人 |
| `DocumentHeaderText` | String | 50 | Document Header Text | 凭证抬头文本 |
| `QuantityUnit` | String | 3 | Quantity Unit of Measure | 数量单位 |
| `AllocationIsReversed` | Boolean | - | Reversal Indicator | 冲销标识 |
| `ReversalDocumentNumber` | String | 10 | Reversal Document Number | 冲销凭证编号 |

### 导航属性 / Navigation Properties

| 属性名 | 目标实体 | 基数 | 描述 |
|--------|----------|------|------|
| `to_CostCenter` | `A_CostCenter` | 0..1 | Sender Cost Center / 发送方成本中心 |
| `to_ActivityType` | `A_ActivityType` | 0..1 | Activity Type / 作业类型 |
