---
# API: Consumption Items - Create Request
# File: CONSUMPTIONITEMSCREATEREQUEST_.md
# Version: 1.0.0
# Status: ACTIVE
# Protocol: SOAP (Asynchronous)
# Source URL: https://api.sap.com/api/CONSUMPTIONITEMSCREATEREQUEST/overview
# Generated: 2026-07-23 14:17:02
---

# Consumption Items - Create Request / 消费项目 - 创建请求 API

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

## 概述 / Overview

该异步 SOAP 入站服务用于创建消费项目。支持物料消耗、服务条目和活动数据的记录。

This asynchronous inbound SOAP service creates consumption items. It supports recording of material consumption, service entries, and activity data.

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

---

## 消息结构 / Message Structure

| # | 结构名称 | 描述 (EN) | 描述 (CN) |
|---|----------|-----------|-----------|
| 1 | `ConsumptionItemsCreateRequest` | Create Consumption Items Request | 消费项目创建请求 |
| 2 | `ConsumptionItemsCreateResponse` | Create Consumption Items Response | 消费项目创建响应 |

---

## 1. 请求结构: ConsumptionItemsCreateRequest / 消费项目创建请求

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

### 1.1 抬头数据 / Header Data

| 字段 | 必要 | 描述 (EN) | 描述 (CN) |
|------|------|-----------|-----------|
| `ConsumptionItemsID` | ✓ | Consumption Items ID | 消费项目编号 |
| `PlantID` | ✓ | Plant ID | 工厂编号 |
| `StorageLocationID` | | Storage Location ID | 库存地点编号 |
| `PostingDate` | ✓ | Posting Date | 过账日期 |
| `DocumentHeaderText` | | Document Header Text | 凭证抬头文本 |
| `ReferenceDocumentID` | | Reference Document ID | 参考凭证编号 |

### 1.2 行项目数据 / Item Data

| # | 结构名称 | 描述 (EN) | 描述 (CN) |
|---|----------|-----------|-----------|
| 1 | `ConsumptionItem` | Consumption Item | 消费行项目 |

### 1.3 行项目字段 / Item Fields

| 字段 | 必要 | 描述 (EN) | 描述 (CN) |
|------|------|-----------|-----------|
| `ItemID` | ✓ | Item ID | 行项目编号 |
| `MaterialID` | ✓ | Material ID | 物料编号 |
| `Quantity` | ✓ | Consumption Quantity | 消费数量 |
| `UnitOfMeasureCode` | ✓ | Unit of Measure | 计量单位 |
| `CostCenterID` | | Cost Center ID | 成本中心编号 |
| `WBSElementID` | | WBS Element ID | WBS 元素编号 |
| `OrderID` | | Internal Order ID | 内部订单编号 |
| `GLAccountID` | | G/L Account ID | 总账科目编号 |
| `ItemText` | | Item Text | 行项目文本 |

---

## 2. 响应结构: ConsumptionItemsCreateResponse / 消费项目创建响应

| 字段 | 描述 (EN) | 描述 (CN) |
|------|-----------|-----------|
| `ConsumptionItemsID` | Consumption Items ID | 消费项目编号 |
| `ProcessingStatus` | Processing Status | 处理状态 |
| `ProcessingMessage` | Processing Message | 处理消息 |
| `LogUUID` | Application Log UUID | 应用日志 UUID |
| `ItemCount` | Processed Item Count | 处理项目数量 |

---

## 错误处理 / Error Handling

| HTTP 状态码 | 描述 (EN) | 描述 (CN) |
|-------------|-----------|-----------|
| 200 | Success | 成功 |
| 400 | Bad Request - Invalid Input | 错误请求 - 无效输入 |
| 500 | Internal Server Error | 内部服务器错误 |

---

## 参考链接 / References

- [SAP API Hub - Consumption Items Create Request](https://api.sap.com/api/CONSUMPTIONITEMSCREATEREQUEST/overview)
- [SAP Communication Scenario SAP_COM_0206](https://help.sap.com/viewer/product/SAP_COM_0206)
