C_ProductStructureVariantVH
Value Help for Product Structure Variant
C_ProductStructureVariantVH is a Consumption CDS View that provides data about "Value Help for Product Structure Variant" in SAP S/4HANA. It reads from 1 data source (I_ProductStructureVariant_2) and exposes 14 fields with key fields ProductStructureVariantName, ProdStrucVariantChangeNumber, ProductStructureNodeName, Class. It has 4 associations to related views. It is exposed through 1 OData service (ASQL_F2045). Part of development package VDM_PLMB_PSM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductStructureVariant_2 | _Variant | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ProductStructureNode_2 | _Node | $projection.ProdStructureVariantParentUUID = _Node.ProductStructureNodeUUID |
| [0..1] | I_ProdStrucLogAccMActive | _LogAccMObjectTypeActive | $projection.ProductStructureGnrcObjType = _LogAccMObjectTypeActive.LogAccMObjectType |
| [0..1] | I_ProdStrucObjSecureIDAssgmt | _LogAccMObjSecureIDAssgmt | $projection.ProdStrucVariantUniqueID = _LogAccMObjSecureIDAssgmt.LogAccMObjectID and $projection.ProductStructureGnrcObjType = _LogAccMObjSecureIDAssgmt.LogAccMObjectType |
| [0..1] | I_ProdStrucObjectUserAuthzn | _LogAccMObjectUserAuthzn | $projection.ProdStrucVariantUniqueID = _LogAccMObjectUserAuthzn.LogAccMObjectID and $projection.ProductStructureGnrcObjType = _LogAccMObjectUserAuthzn.LogAccMObjectType and $projection.ProductStructureGnrcObjType = _LogAccMObjectUserAuthzn.LogAccMUserAuthznObject |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPSVVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Value Help for Product Structure Variant | view | |
| Search.searchable | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Consumption.ranked | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F2045 | ASQL_F2045 | C2 | NOT_RELEASED |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductStructureVariantName | I_ProductStructureVariant_2 | ProductStructureVariantName | |
| KEY | ProdStrucVariantChangeNumber | I_ProductStructureVariant_2 | ProdStrucVariantChangeNumber | |
| KEY | ProductStructureNodeName | _Node | ProductStructureNodeName | Node |
| KEY | Class | |||
| ProdStrucVariantDescription | Variant Description | |||
| ProdStrucNodeDescription | Node Description | |||
| ProdStructureVariantParentUUID | I_ProductStructureVariant_2 | ProdStructureVariantParentUUID | ||
| Material | I_ProductStructureVariant_2 | Material | Material | |
| ProdStrucVariantUniqueID | I_ProductStructureVariant_2 | ProdStrucVariantUniqueID | ||
| ProductStructureVariantType | I_ProductStructureVariant_2 | ProductStructureVariantType | ||
| ProductStructureGnrcObjType | I_ProductStructureVariant_2 | ProductStructureGnrcObjType | ||
| _LogAccMObjectTypeActive | _LogAccMObjectTypeActive | |||
| _LogAccMObjSecureIDAssgmt | _LogAccMObjSecureIDAssgmt | |||
| _LogAccMObjectUserAuthzn | _LogAccMObjectUserAuthzn |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_ProductStructureVariantVH.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CPSVVH
CREATE VIEW C_ProductStructureVariantVH AS
SELECT
_Variant.ProductStructureVariantName AS ProductStructureVariantName,
_Variant.ProdStrucVariantChangeNumber AS ProdStrucVariantChangeNumber,
_Node.ProductStructureNodeName AS ProductStructureNodeName,
_Node._Class.Class AS Class,
_Variant._Text[1:Language = $session.system_language].ProdStrucVariantDescription AS ProdStrucVariantDescription,
_Node._Text[1:Language = $session.system_language].ProdStrucNodeDescription AS ProdStrucNodeDescription,
_Variant.ProdStructureVariantParentUUID AS ProdStructureVariantParentUUID,
_Variant.Material AS Material,
_Variant.ProdStrucVariantUniqueID AS ProdStrucVariantUniqueID,
_Variant.ProductStructureVariantType AS ProductStructureVariantType,
_Variant.ProductStructureGnrcObjType AS ProductStructureGnrcObjType
FROM I_ProductStructureVariant_2 AS _Variant
LEFT OUTER JOIN I_ProductStructureNode_2 AS _Node ON ProdStructureVariantParentUUID = _Node.ProductStructureNodeUUID -- association [1..1]
LEFT OUTER JOIN I_ProdStrucLogAccMActive AS _LogAccMObjectTypeActive ON ProductStructureGnrcObjType = _LogAccMObjectTypeActive.LogAccMObjectType -- association [0..1]
LEFT OUTER JOIN I_ProdStrucObjSecureIDAssgmt AS _LogAccMObjSecureIDAssgmt ON ProdStrucVariantUniqueID = _LogAccMObjSecureIDAssgmt.LogAccMObjectID AND ProductStructureGnrcObjType = _LogAccMObjSecureIDAssgmt.LogAccMObjectType -- association [0..1]
LEFT OUTER JOIN I_ProdStrucObjectUserAuthzn AS _LogAccMObjectUserAuthzn ON ProdStrucVariantUniqueID = _LogAccMObjectUserAuthzn.LogAccMObjectID AND ProductStructureGnrcObjType = _LogAccMObjectUserAuthzn.LogAccMObjectType AND ProductStructureGnrcObjType = _LogAccMObjectUserAuthzn.LogAccMUserAuthznObject -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA