?---
# API: Products to Product Hierarchies Assignment (A2X)
# File: PRODHIERPRODS_0001.md
# Version: 1.4.0
# Status: ACTIVE
# Protocol: OData V4
# Source URL: https://api.sap.com/api/PRODHIERPRODS_0001/overview
# Generated: 2026-07-23 14:17:02
---

# Products to Product Hierarchies Assignment / 产品层级分配 API

> **API 版本:** 1.4.0 | **状** ACTIVE | **协议:** OData V4  
> **技术名** `PRODHIERPRODS_0001`  
> **服务根路** `/sap/opu/odata4/sap/prodhierprods/srvd_a2x/sap/productshierarchiesassignment/0001/`  
> **SAP 通信场景:** `SAP_COM_0195`

## 概述 / Overview

该服务支持读取分配给产品层级的产品，通过 OData V4 协议暴露远程 API 视图。产品根据层级的有效性和分销渠道分配到对应的产品层级?
This synchronous inbound OData V4 service enables you to read the products assigned to product hierarchy details. Products are assigned to the corresponding product hierarchy based on the validity of the hierarchy and the distribution chain.

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

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_ProductHierarchyProduct` | Product to Product Hierarchy Assignment | 产品-产品层级分配 | `ProductHierarchyNode`, `Product` |

---

## 1. A_ProductHierarchyProduct ?产品-产品层级分配

**实体集合路径:** `A_ProductHierarchyProduct`  
**主键 (Key):** `ProductHierarchyNode` (CHAR 18), `Product` (CHAR 40)  
**ETag:** 支持 (`ETag` 字段)

### 字段列表 / Field List

| 字段?| 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `ProductHierarchyNode` | String | 18 | Product Hierarchy Node | 产品层级节点 (主键) |
| `Product` | String | 40 | Product Number | 产品编号 (主键) |
| `ProductHierarchyNodeName` | String | 40 | Description of Product Hierarchy Node | 产品层级节点描述 |
| `ProductHierarchyLevel` | Int32 | - | Level of the Product Hierarchy | 产品层级级别 |
| `ProductHierarchyLevel1` | String | 5 | Level 1 of the Product Hierarchy | 产品层级??|
| `ProductHierarchyLevel2` | String | 5 | Level 2 of the Product Hierarchy | 产品层级??|
| `ProductHierarchyLevel3` | String | 8 | Level 3 of the Product Hierarchy | 产品层级??|
| `ProductType` | String | 4 | Product Type | 产品类型 |
| `ProductGroup` | String | 9 | Product Group | 产品?|
| `BaseUnit` | String | 3 | Base Unit of Measure | 基本计量单位 |
| `ValidityStartDate` | DateTime | - | Validity Start Date | 有效起始日期 |
| `ValidityEndDate` | DateTime | - | Validity End Date | 有效截止日期 |
| `DistributionChannel` | String | 2 | Distribution Channel | 分销渠道 |
| `SalesOrganization` | String | 4 | Sales Organization | 销售组?|
| `IsMarkedForDeletion` | Boolean | - | Deletion Indicator | 删除标识 |
| `CreatedByUser` | String | 12 | Created By | 创建?|
| `CreationDate` | DateTime | - | Created On | 创建日期 |
| `CreationTime` | Time | - | Created At | 创建时间 |
| `LastChangedByUser` | String | 12 | Last Changed By | 最后更改人 |
| `LastChangeDate` | DateTime | - | Last Changed On | 最后更改日?|
| `ETag` | String | - | ETag for Optimistic Locking | 乐观锁ETag |
