---
# API: Cost Center (A2X)
# File: CE_COSTCENTER_0001.md
# Version: 1.0.2
# Status: ACTIVE
# Protocol: OData V4
# Source URL: https://api.sap.com/api/CE_COSTCENTER_0001/overview
# Generated: 2026-07-23
---

# Cost Center / 成本中心 API

> **API 版本:** 1.0.2 | **状态:** ACTIVE | **协议:** OData V4  
> **技术名称:** `CE_COSTCENTER_0001`  
> **服务根路径:** `/sap/opu/odata4/sap/ce_costcenter/srvd_a2x/sap/costcenter/0001/`  
> **SAP 通信场景:** `SAP_COM_0087`

## 概述 / Overview

该服务支持对成本中心主数据进行创建、读取、更新和删除（CRUD）操作。成本中心是控制范围内代表成本发生地点的组织单元，用于成本控制与报告。

This synchronous inbound OData V4 service enables CRUD operations on cost center master data. Cost centers are organizational units within a controlling area that represent clearly delimited locations where costs occur, used for cost control and reporting.

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

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_CostCenter` | Cost Center Master Data | 成本中心主数据 | `ControllingArea`, `CostCenter` |
| 2 | `A_CostCenterText` | Cost Center Text Data | 成本中心文本数据 | `ControllingArea`, `CostCenter`, `Language` |

---

## 1. A_CostCenter — 成本中心主数据

**实体集合路径:** `A_CostCenter`  
**主键 (Key):** `ControllingArea` (CHAR 4), `CostCenter` (CHAR 10)  
**ETag:** 支持 (`LastChangedAt` 字段)

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `ControllingArea` | String | 4 | Controlling Area | 控制范围 (主键) |
| `CostCenter` | String | 10 | Cost Center | 成本中心 (主键) |
| `CostCenterName` | String | 20 | Cost Center Name | 成本中心名称 |
| `CostCenterDescription` | String | 40 | Cost Center Description | 成本中心描述 |
| `CostCenterType` | String | 1 | Cost Center Type (E=Primary, S=Secondary, etc.) | 成本中心类型 |
| `CostCenterStatus` | Boolean | - | Cost Center Blocked Indicator | 成本中心冻结标识 |
| `CostCenterCurrency` | String | 5 | Cost Center Currency | 成本中心货币 |
| `ProfitCenter` | String | 10 | Profit Center | 利润中心 |
| `CompanyCode` | String | 4 | Company Code | 公司代码 |
| `BusinessArea` | String | 4 | Business Area | 业务范围 |
| `FunctionalArea` | String | 16 | Functional Area | 功能范围 |
| `Department` | String | 8 | Department | 部门 |
| `PersonResponsible` | String | 20 | Person Responsible | 负责人 |
| `ValidFrom` | DateTime | - | Valid From Date | 有效期起始日期 |
| `ValidTo` | DateTime | - | Valid To Date | 有效期截止日期 |
| `CreationDate` | DateTime | - | Created On | 创建日期 |
| `LastChangedAt` | DateTimeOffset | - | Last Changed At (ETag) | 最后更改时间 (ETag) |
| `CostCenterGroup` | String | 10 | Cost Center Group | 成本中心组 |
| `CostCenterHierarchyArea` | String | 10 | Hierarchy Area | 层级区域 |
| `CostCenterStandardHierarchy` | String | 10 | Standard Hierarchy | 标准层级 |
| `CostCenterResponsibleUser` | String | 12 | Responsible User | 负责用户 |
| `CostCenterCreationDate` | DateTime | - | Cost Center Created On | 成本中心创建日期 |
| `CostCenterLastChangedDate` | DateTime | - | Cost Center Last Changed On | 成本中心最后更改日期 |
| `CostCenterLastChangedByUser` | String | 12 | Last Changed By User | 最后更改用户 |
| `IsDeletionBlocked` | Boolean | - | Deletion Blocked Indicator | 删除冻结标识 |
| `CostCenterIsMarkedForDeletion` | Boolean | - | Marked for Deletion | 删除标记 |

### 导航属性 / Navigation Properties

| 属性名 | 目标实体 | 基数 | 描述 |
|--------|----------|------|------|
| `to_Text` | `A_CostCenterText` | 0..n | Cost Center Text Data / 成本中心文本数据 |
