---
# API: Production Routing - Replicate
# File: CO_PPINT_MFG_ROUTING_V2.md
# Version: 1.1.0
# Status: ACTIVE
# Protocol: SOAP (Asynchronous)
# Source URL: https://api.sap.com/api/CO_PPINT_MFG_ROUTING_V2/overview
# Generated: 2026-07-23 14:17:02
---

# Production Routing - Replicate / 生产路线复制 API

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

## 概述 / Overview

该 SOAP 出站服务用于将生产路线（工艺路线）数据从源系统复制到目标系统。支持主配方、任务清单和工序的传输。

This outbound SOAP service replicates production routing (bill of process) data from source to target systems. Supports master recipe, task list, and operation data transfer.

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

---

## 消息结构 / Message Structure

| # | 结构名称 | 描述 (EN) | 描述 (CN) |
|---|----------|-----------|-----------|
| 1 | `ManufacturingRoutingReplicationRequest` | Manufacturing Routing Replication Request | 生产路线复制请求 |
| 2 | `ManufacturingRoutingReplicationResponse` | Manufacturing Routing Replication Response | 生产路线复制响应 |

---

## 1. 请求结构: ManufacturingRoutingReplicationRequest / 生产路线复制请求

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

### 1.1 任务清单抬头 / Task List Header

**结构名称:** `ManufacturingRoutingReplicationRequest.TaskListHeader`

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `TaskListType` | String | 1 | Task List Type | 任务清单类型 |
| `TaskListGroup` | String | 8 | Task List Group | 任务清单组 |
| `TaskListCounter` | String | 2 | Task List Counter | 任务清单计数器 |
| `Plant` | String | 4 | Plant | 工厂 |
| `MaterialNumber` | String | 40 | Material Number | 物料编号 |
| `TaskListUsage` | String | 3 | Task List Usage | 任务清单用途 |
| `TaskListStatus` | String | 3 | Task List Status | 任务清单状态 |
| `ChangeNumber` | String | 12 | Change Number | 更改编号 |
| `ValidFromDate` | DateTime | - | Valid From Date | 有效起始日期 |
| `ValidToDate` | DateTime | - | Valid To Date | 有效截止日期 |
| `LotSizeLowerLimit` | Decimal | 15 | Lot Size Lower Limit | 批量下限 |
| `LotSizeUpperLimit` | Decimal | 15 | Lot Size Upper Limit | 批量上限 |
| `TaskListDescription` | String | 40 | Task List Description | 任务清单描述 |

### 1.2 工序数据 / Operation Data

**结构名称:** `ManufacturingRoutingReplicationRequest.Operation`

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `OperationNumber` | String | 4 | Operation Number | 工序编号 |
| `OperationSubNumber` | String | 4 | Operation Sub-Number | 工序子编号 |
| `WorkCenter` | String | 8 | Work Center | 工作中心 |
| `ControlKey` | String | 4 | Control Key | 控制码 |
| `OperationText` | String | 40 | Operation Description | 工序描述 |
| `BaseQuantity` | Decimal | 15 | Base Quantity | 基本数量 |
| `OperationUnit` | String | 3 | Operation Unit | 工序单位 |
| `ActivityType` | String | 6 | Activity Type | 作业类型 |
| `StandardValue1` | Decimal | 15 | Standard Value 1 | 标准值1 |
| `StandardValue2` | Decimal | 15 | Standard Value 2 | 标准值2 |
| `StandardValue3` | Decimal | 15 | Standard Value 3 | 标准值3 |
| `StandardValue4` | Decimal | 15 | Standard Value 4 | 标准值4 |
| `StandardValue5` | Decimal | 15 | Standard Value 5 | 标准值5 |
| `StandardValue6` | Decimal | 15 | Standard Value 6 | 标准值6 |

### 1.3 物料分配 / Material Allocation

**结构名称:** `ManufacturingRoutingReplicationRequest.MaterialAllocation`

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `MaterialNumber` | String | 40 | Material Number | 物料编号 |
| `MaterialQuantity` | Decimal | 15 | Material Quantity | 物料数量 |
| `MaterialUnit` | String | 3 | Material Unit | 物料单位 |

---

## 2. 响应结构: ManufacturingRoutingReplicationResponse / 生产路线复制响应

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

### 2.1 返回信息 / Return Information

**结构名称:** `ManufacturingRoutingReplicationResponse.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>
    <ManufacturingRoutingReplicationRequest xmlns="urn:sap-com:document:sap:soap:functions:mc-style">
      <TaskListHeader>
        <TaskListType>N</TaskListType>
        <TaskListGroup>ROUTING001</TaskListGroup>
        <TaskListCounter>01</TaskListCounter>
        <Plant>1000</Plant>
        <MaterialNumber>MAT-10001</MaterialNumber>
        <TaskListUsage>1</TaskListUsage>
        <TaskListStatus>4</TaskListStatus>
        <ValidFromDate>2026-01-01</ValidFromDate>
        <TaskListDescription>Assembly Routing 001</TaskListDescription>
      </TaskListHeader>
      <Operation>
        <OperationNumber>0010</OperationNumber>
        <WorkCenter>WC1001</WorkCenter>
        <ControlKey>PP01</ControlKey>
        <OperationText>Pre-assembly</OperationText>
        <BaseQuantity>1</BaseQuantity>
        <OperationUnit>EA</OperationUnit>
        <StandardValue1>2.5</StandardValue1>
      </Operation>
      <Operation>
        <OperationNumber>0020</OperationNumber>
        <WorkCenter>WC1002</WorkCenter>
        <ControlKey>PP02</ControlKey>
        <OperationText>Final Assembly</OperationText>
        <BaseQuantity>1</BaseQuantity>
        <OperationUnit>EA</OperationUnit>
        <StandardValue1>5.0</StandardValue1>
      </Operation>
    </ManufacturingRoutingReplicationRequest>
  </soap:Body>
</soap:Envelope>
```

---

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

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