# MMPUR_PURCHASEORDERREQUEST_IN

**SOAP v1.0.0 — ACTIVE**

## Title / 标题
**Purchase Order / 采购订单**

## Operation / 操作
`PurchaseOrderRequest`
---
## Description / 描述
Create and change purchase orders asynchronously.
异步创建和更改采购订单。
---
## Endpoint / 端点
| Environment | URL |
|-------------|-----|
| Production | https://{host}/sap/bc/srt/rfc/sap/MMPUR_PURCHASEORDERREQUEST_IN |
| Test | https://{host}/sap/bc/srt/rfc/sap/MMPUR_PURCHASEORDERREQUEST_IN |

## Message Structure / 消息结构

### Request / 请求
| Element | Type | Description |
|---------|------|-------------|
| MessageHeader | CHAR | Message header / 消息头 |
| Payload | RAW | Business document payload / 业务文档负载 |

### Response / 响应
| Element | Type | Description |
|---------|------|-------------|
| ProcessingStatus | CHAR | Processing result / 处理结果 |
| LogMessage | CHAR | Application log / 应用程序日志 |

## Sample XML / 示例
```xml
<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>
  <soap:Body>
    <PurchaseOrderRequest xmlns='http://sap.com/xi/SAP_S4HANA'>
      <MessageHeader>...</MessageHeader>
      <Payload>...</Payload>
    </PurchaseOrderRequest>
  </soap:Body>
</soap:Envelope>
```

## Error Codes / 错误码
| Code | Description |
|------|-------------|
| 200 | Success / 成功 |
| 400 | Bad Request / 请求错误 |
| 401 | Unauthorized / 未授权 |
| 500 | Internal Error / 内部错误 |

## Notes / 备注
- This is an asynchronous SOAP service / 此服务为异步 SOAP 服务
- Refer to SAP API Business Hub for complete WSDL / 完整 WSDL 请参考 SAP API Business Hub