# CO_MDM_PRD_BULK_REP_CONF_OUT

**SOAP v1.0.0 — ACTIVE**

## Title / 标题
**Product Master - Send Confirmation to Client / 产品主数据 - 向客户端发送确认**

## Operation / 操作
`ProductBulkReplicationConfirmationOut`

---

## Description / 描述
Send product master data replication status using this asynchronous outbound service.

使用此异步出站服务发送产品主数据复制状态。

---

## Endpoint / 端点
| Environment | URL |
|-------------|-----|
| Production | `https://sap.example.com/sap/bc/srt/rfc/sap/CO_MDM_PRD_BULK_REP_CONF_OUT` |
| Test | `https://sap-test.example.com/sap/bc/srt/rfc/sap/CO_MDM_PRD_BULK_REP_CONF_OUT` |

## Message Structure / 消息结构

### Request / 请求
| Element | Type | Description (EN) | Description (CN) |
|---------|------|------------------|------------------|
| `ProductBulkReplicationConfirmation` | `PRD_BULK_REP_CONF` | Product replication confirmation header | 产品复制确认抬头 |
| `?ProductID` | `CHAR(40)` | Product identifier | 产品标识 |
| `?ProductType` | `CHAR(4)` | Product type | 产品类型 |
| `?ReplicationStatus` | `CHAR(1)` | Replication status (S=success, E=error) | 复制状态（S=成功，E=错误） |
| `?LogMessage` | `CHAR(220)` | Log message text | 日志消息文本 |
| `?ProcessingDateTime` | `DATETIME` | Processing date and time | 处理日期和时间 |
| `Messages` | Table | Detailed messages | 详细信息 |
| `?MessageType` | `CHAR(1)` | Message type (S/E/W/I) | 消息类型（成功/错误/警告/信息） |
| `?MessageText` | `CHAR(220)` | Message text | 消息文本 |

### Response / 响应
| Element | Type | Description (EN) | Description (CN) |
|---------|------|------------------|------------------|
| `Return` | `BAPIRETURN` | Application log message | 应用程序日志消息 |
| `?Type` | `CHAR(1)` | Message type (S/E/W/I) | 消息类型（成功/错误/警告/信息） |
| `?Message` | `CHAR(220)` | Message text | 消息文本 |

---

## Example Payload / 示例负载

### Request
```xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ProductBulkReplicationConfirmationOut>
      <ProductBulkReplicationConfirmation>
        <ProductID>100-200</ProductID>
        <ProductType>FERT</ProductType>
        <ReplicationStatus>S</ReplicationStatus>
        <LogMessage>Product replicated successfully / 产品复制成功</LogMessage>
        <ProcessingDateTime>2026-07-23T14:30:00</ProcessingDateTime>
      </ProductBulkReplicationConfirmation>
      <Messages>
        <item>
          <MessageType>S</MessageType>
          <MessageText>Product master data processed / 产品主数据已处理</MessageText>
        </item>
      </Messages>
    </ProductBulkReplicationConfirmationOut>
  </soap:Body>
</soap:Envelope>
```

### Response
```xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ProductBulkReplicationConfirmationOutResponse>
      <Return>
        <Type>S</Type>
        <Message>Confirmation received / 已收到确认</Message>
      </Return>
    </ProductBulkReplicationConfirmationOutResponse>
  </soap:Body>
</soap:Envelope>
```

---

## Error Codes / 错误代码
| Code | Description (EN) | Description (CN) |
|------|------------------|------------------|
| `PRD_001` | Product not found | 产品未找到 |
| `PRD_002` | Invalid product type | 无效的产品类型 |
| `PRD_003` | Replication ID missing | 缺少复制标识 |
| `PRD_004` | System communication error | 系统通信错误 |

---

## Notes / 备注
- This is an asynchronous outbound service / 这是一个异步出站服务
- The replication status indicates whether the product was successfully replicated to the target system / 复制状态指示产品是否成功复制到目标系统
- Multiple products can be confirmed in a single message / 单条消息可确认多个产品