---
# API: Cost Center - Replicate
# File: CO_COST_CENTRE_REPLICATION_OUT.md
# Version: 1.0.0
# Status: ACTIVE
# Protocol: SOAP (Outbound)
# Source URL: https://api.sap.com/api/CO_COST_CENTRE_REPLICATION_OUT/overview
# Generated: 2026-07-23 14:17:02
---

# Cost Center - Replicate / 成本中心 - 复制 API

> **API 版本:** 1.0.0 | **状态:** ACTIVE | **协议:** SOAP  
> **技术名称:** `CO_COST_CENTRE_REPLICATION_OUT`  
> **WSDL 绑定:** `/sap/bc/srt/wsdl/flv_10002A111AD1/bndr_url/sap/bc/srt/rfc/sap/co_cost_centre_replication_out/100/co_cost_centre_replication_out/binding`  
> **SAP 通信场景:** `SAP_COM_0109`

## 概述 / Overview

该 SOAP 出站服务用于将成本中心数据从 SAP S/4HANA 复制到外部系统。支持成本中心的主数据同步，包括有效期、负责人和层次结构信息。

This SOAP outbound service replicates cost center data from SAP S/4HANA to external systems. It supports master data synchronization including validity periods, responsible persons, and hierarchy information.

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

---

## 消息结构 / Message Structure

| # | 结构名称 | 描述 (EN) | 描述 (CN) |
|---|----------|-----------|-----------|
| 1 | `CostCentreReplicationRequest` | Cost Centre Replication Request | 成本中心复制请求 |
| 2 | `CostCentreReplicationResponse` | Cost Centre Replication Response | 成本中心复制响应 |

---

## 1. 请求结构: CostCentreReplicationRequest / 成本中心复制请求

**命名空间:** `urn:sap-com:document:sap:soap:functions:mc-style`

| # | 字段名称 | 类型 | 描述 (EN) | 描述 (CN) | 必填 |
|---|----------|------|-----------|-----------|------|
| 1 | `ControllingArea` | CHAR(4) | Controlling Area | 控制范围 | 是 |
| 2 | `CostCentre` | CHAR(10) | Cost Centre | 成本中心 | 是 |
| 3 | `ValidityStartDate` | DATE | Validity Start Date | 有效期开始日期 | 是 |
| 4 | `ValidityEndDate` | DATE | Validity End Date | 有效期结束日期 | 是 |
| 5 | `Name` | CHAR(20) | Cost Centre Name | 成本中心名称 | 是 |
| 6 | `Description` | CHAR(40) | Description | 描述 | 否 |
| 7 | `ResponsiblePerson` | CHAR(20) | Responsible Person | 负责人 | 否 |
| 8 | `Department` | CHAR(12) | Department | 部门 | 否 |
| 9 | `Currency` | CHAR(5) | Currency Key | 货币码 | 否 |
| 10 | `ProfitCentre` | CHAR(10) | Profit Centre | 利润中心 | 否 |
| 11 | `FunctionalArea` | CHAR(16) | Functional Area | 功能范围 | 否 |
| 12 | `CostCentreCategory` | CHAR(1) | Cost Centre Category | 成本中心类别 | 否 |
| 13 | `HierarchyArea` | CHAR(12) | Hierarchy Area | 层次结构范围 | 否 |
| 14 | `CreationDate` | DATE | Created On | 创建日期 | 否 |
| 15 | `CreatedByUser` | CHAR(12) | Created By | 创建者 | 否 |

---

## 2. 响应结构: CostCentreReplicationResponse / 成本中心复制响应

**命名空间:** `urn:sap-com:document:sap:soap:functions:mc-style`

| # | 字段名称 | 类型 | 描述 (EN) | 描述 (CN) | 必填 |
|---|----------|------|-----------|-----------|------|
| 1 | `ControllingArea` | CHAR(4) | Controlling Area | 控制范围 | 是 |
| 2 | `CostCentre` | CHAR(10) | Cost Centre | 成本中心 | 是 |
| 3 | `Status` | CHAR(1) | Status (S-success/E-error) | 状态 (S-成功/E-错误) | 是 |
| 4 | `Message` | CHAR(200) | Message | 消息 | 否 |

---

## SOAP XML 示例 / SOAP XML Example

### 请求 / Request

```xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
  <soap:Header/>
  <soap:Body>
    <urn:CostCentreReplicationRequest>
      <ControllingArea>1000</ControllingArea>
      <CostCentre>CC-ADMIN</CostCentre>
      <ValidityStartDate>2026-01-01</ValidityStartDate>
      <ValidityEndDate>9999-12-31</ValidityEndDate>
      <Name>Administration</Name>
      <Description>Administration Cost Centre</Description>
      <ResponsiblePerson>SMITH</ResponsiblePerson>
      <Department>ADMIN</Department>
      <Currency>CNY</Currency>
      <ProfitCentre>P-ADMIN</ProfitCentre>
      <FunctionalArea>ADMIN</FunctionalArea>
      <CostCentreCategory>1</CostCentreCategory>
      <HierarchyArea>H-ADMIN</HierarchyArea>
      <CreationDate>2026-01-01</CreationDate>
      <CreatedByUser>API_USER</CreatedByUser>
    </urn:CostCentreReplicationRequest>
  </soap:Body>
</soap:Envelope>
```

### 响应 / Response

```xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
  <soap:Header/>
  <soap:Body>
    <urn:CostCentreReplicationResponse>
      <ControllingArea>1000</ControllingArea>
      <CostCentre>CC-ADMIN</CostCentre>
      <Status>S</Status>
      <Message>Cost centre replicated successfully</Message>
    </urn:CostCentreReplicationResponse>
  </soap:Body>
</soap:Envelope>
```

---

## 变更记录 / Change Log

| 版本 | 日期 | 描述 |
|------|------|------|
| 1.0.0 | 2026-07-23 | 初始版本 / Initial version |