---
# API: Process Order Confirmation (A2X)
# File: API_PROC_ORDER_CONFIRMATION_2_SRV.md
# Version: 1.3.0
# Status: ACTIVE
# Protocol: OData V2
# Source URL: https://api.sap.com/api/API_PROC_ORDER_CONFIRMATION_2_SRV/overview
# Generated: 2026-07-23 14:17:02
---

# Process Order Confirmation / 生产订单确认 API

> **API 版本:** 1.3.0 | **状态:** ACTIVE | **协议:** OData V2  
> **技术名称:** `API_PROC_ORDER_CONFIRMATION_2_SRV`  
> **服务根路径:** `/sap/opu/odata/sap/API_PROC_ORDER_CONFIRMATION_2_SRV`  
> **SAP 通信场景:** `SAP_COM_0111`

## 概述 / Overview

该服务支持对生产订单确认数据进行创建、读取、更新和删除（CRUD）操作。

This synchronous inbound OData V2 service enables CRUD operations on Process Order Confirmation data.

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

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_ProcOrderConfirmation` | Process Order Confirmation | 生产订单确认 | `ManufacturingOrderConfirmation`, `ManufacturingOrder`, `ManufacturingOrderOperation` |

---

## 1. A_ProcOrderConfirmation — 生产订单确认

**实体集合路径:** `A_ProcOrderConfirmation`  
**主键 (Key):** `ManufacturingOrderConfirmation` (CHAR 10), `ManufacturingOrder` (CHAR 12), `ManufacturingOrderOperation` (CHAR 4)  
**ETag:** 支持

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `ManufacturingOrderConfirmation` | String | 10 | Confirmation Number | 确认编号 (主键) |
| `ManufacturingOrder` | String | 12 | Manufacturing Order | 生产订单 (主键) |
| `ManufacturingOrderOperation` | String | 4 | Operation | 工序 (主键) |
| `ConfirmationText` | String | 40 | Confirmation Text | 确认文本 |
| `ConfirmedQuantity` | Decimal | 15 | Confirmed Quantity | 确认数量 |
| `ConfirmedYieldQuantity` | Decimal | 15 | Confirmed Yield Quantity | 确认合格数量 |
| `ConfirmedScrapQuantity` | Decimal | 15 | Confirmed Scrap Quantity | 确认废品数量 |
| `PostingDate` | DateTime | - | Posting Date | 过账日期 |
| `ExecutionDate` | DateTime | - | Execution Date | 执行日期 |
| `ExecutionTime` | Time | - | Execution Time | 执行时间 |
| `ConfirmationText` | String | 40 | Confirmation Text | 确认文本 |
| `ReasonForVariance` | String | 3 | Reason for Variance | 差异原因 |
| `Language` | String | 2 | Language | 语言 |
| `CreatedByUser` | String | 12 | Created By | 创建人 |
| `CreationDate` | DateTime | - | Created On | 创建日期 |
| `LastChangedByUser` | String | 12 | Last Changed By | 最后更改人 |
| `LastChangeDate` | DateTime | - | Last Changed On | 最后更改日期 |

### 导航属性 / Navigation Properties

| 属性名 | 目标实体 | 基数 | 描述 |
|--------|----------|------|------|
| `to_ProcessOrder` | A_ProcessOrder | 0..1 | 生产订单 |

---

## 示例 / Sample

### 读取生产订单确认列表 (GET)

```http
GET /sap/opu/odata/sap/API_PROC_ORDER_CONFIRMATION_2_SRV/A_ProcOrderConfirmation
Accept: application/json
```

### 读取单个生产订单确认 (GET by Key)

```http
GET /sap/opu/odata/sap/API_PROC_ORDER_CONFIRMATION_2_SRV/A_ProcOrderConfirmation(ManufacturingOrderConfirmation='CONF001',ManufacturingOrder='MO00001',ManufacturingOrderOperation='0010')
Accept: application/json
```

### 响应示例 / Response Sample

```json
{
  "d": {
    "results": [
      {
        "ManufacturingOrderConfirmation": "CONF001",
        "ManufacturingOrder": "MO00001",
        "ManufacturingOrderOperation": "0010",
        "ConfirmedQuantity": "500.000",
        "PostingDate": "/Date(1768003200000)/"
      }
    ]
  }
}
```
