---
# API: Purchasing Group - Replicate
# File: CO_LOG_MDR_PURCHASING_GROUP.md
# Version: 1.0.0
# Status: ACTIVE
# Protocol: SOAP (Asynchronous)
# Source URL: https://api.sap.com/api/CO_LOG_MDR_PURCHASING_GROUP/overview
# Generated: 2026-07-23 14:17:02
---

# Purchasing Group - Replicate / 采购组复制 API

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

## 概述 / Overview

该 SOAP 出站服务用于将采购组数据从中央主数据复制到目标系统。支持采购组的创建与变更。

This outbound SOAP service replicates purchasing group data from central master data to target systems. Supports creation and change of purchasing groups.

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

---

## 消息结构 / Message Structure

| # | 结构名称 | 描述 (EN) | 描述 (CN) |
|---|----------|-----------|-----------|
| 1 | `PurchasingGroupReplicationRequest` | Purchasing Group Replication Request | 采购组复制请求 |
| 2 | `PurchasingGroupReplicationResponse` | Purchasing Group Replication Response | 采购组复制响应 |

---

## 1. 请求结构: PurchasingGroupReplicationRequest / 采购组复制请求

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

### 1.1 主数据 / Master Data

**结构名称:** `PurchasingGroupReplicationRequest.MasterData`

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `PurchasingGroup` | String | 3 | Purchasing Group | 采购组 |
| `PurchasingGroupName` | String | 40 | Purchasing Group Description | 采购组描述 |
| `TelephoneNumber` | String | 30 | Telephone Number | 电话号码 |
| `FaxNumber` | String | 30 | Fax Number | 传真号码 |
| `EmailAddress` | String | 241 | Email Address | 电子邮件地址 |
| `Language` | String | 2 | Language Key | 语言代码 |
| `StandardPurchasingOrg` | String | 4 | Standard Purchasing Organization | 标准采购组织 |
| `Deleted` | Boolean | - | Deletion Indicator | 删除标识 |

### 1.2 采购组织分配 / Purchasing Organization Assignment

**结构名称:** `PurchasingGroupReplicationRequest.PurchOrgAssignment`

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `PurchasingOrganization` | String | 4 | Purchasing Organization | 采购组织 |

---

## 2. 响应结构: PurchasingGroupReplicationResponse / 采购组复制响应

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

### 2.1 返回信息 / Return Information

**结构名称:** `PurchasingGroupReplicationResponse.Return`

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `Type` | String | 1 | Message Type (S/E/W/I) | 消息类型 (S/E/W/I) |
| `ID` | String | 20 | Message ID | 消息ID |
| `Number` | String | 3 | Message Number | 消息编号 |
| `Message` | String | 220 | Message Text | 消息文本 |
| `System` | String | 10 | Logical System | 逻辑系统 |

---

## 3. XML 请求示例 / XML Request Example

```xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header/>
  <soap:Body>
    <PurchasingGroupReplicationRequest xmlns="urn:sap-com:document:sap:soap:functions:mc-style">
      <MasterData>
        <PurchasingGroup>001</PurchasingGroup>
        <PurchasingGroupName>Standard Procurement</PurchasingGroupName>
        <TelephoneNumber>+86-10-8888-6666</TelephoneNumber>
        <EmailAddress>procurement@company.com</EmailAddress>
        <Language>ZH</Language>
        <StandardPurchasingOrg>1000</StandardPurchasingOrg>
      </MasterData>
      <PurchOrgAssignment>
        <PurchasingOrganization>1000</PurchasingOrganization>
      </PurchOrgAssignment>
    </PurchasingGroupReplicationRequest>
  </soap:Body>
</soap:Envelope>
```

---

## 4. XML 响应示例 / XML Response Example

```xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <PurchasingGroupReplicationResponse xmlns="urn:sap-com:document:sap:soap:functions:mc-style">
      <Return>
        <Type>S</Type>
        <ID>MDR</ID>
        <Number>001</Number>
        <Message>Purchasing group 001 replicated successfully</Message>
      </Return>
    </PurchasingGroupReplicationResponse>
  </soap:Body>
</soap:Envelope>
```
