I_ProductStructureNodeVariant
Product Structure Node Variant
I_ProductStructureNodeVariant is a Composite CDS View that provides data about "Product Structure Node Variant" in SAP S/4HANA. It reads from 3 data sources (I_ProductStructureNode_2, I_ProductStructureVariant_2, I_ProdStrucVariantPlantUsage) and exposes 27 fields with key fields ProductStructureNodeUUID, ProductStructureVariantUUID, ProdStrucVariantChgStateIntID. It has 3 associations to related views. Part of development package VDM_PLMB_PSM.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductStructureNode_2 | _Node | from |
| I_ProductStructureVariant_2 | _Variant | left_outer |
| I_ProdStrucVariantPlantUsage | _VariantPlantUsage | left_outer |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ProdStrucLogAccMActive | _LogAccMObjectTypeActive | $projection.ProductStructureGnrcObjType = _LogAccMObjectTypeActive.LogAccMObjectType |
| [0..1] | I_ProdStrucObjSecureIDAssgmt | _LogAccMObjSecureIDAssgmt | $projection.ProductStructureNodeUniqueID = _LogAccMObjSecureIDAssgmt.LogAccMObjectID and $projection.ProductStructureGnrcObjType = _LogAccMObjSecureIDAssgmt.LogAccMObjectType |
| [0..1] | I_ProdStrucObjectUserAuthzn | _LogAccMObjectUserAuthzn | $projection.ProductStructureNodeUniqueID = _LogAccMObjectUserAuthzn.LogAccMObjectID and _LogAccMObjectUserAuthzn.LogAccMObjectType = $projection.ProductStructureGnrcObjType and _LogAccMObjectUserAuthzn.LogAccMUserAuthznObject = $projection.ProductStructureGnrcObjType |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPSMNODEVAR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| EndUserText.label | Product Structure Node Variant | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductStructureNodeUUID | ProductStructureNodeUUID | ||
| KEY | ProductStructureVariantUUID | I_ProductStructureVariant_2 | ProductStructureVariantUUID | Internal Number |
| KEY | ProdStrucVariantChgStateIntID | I_ProductStructureVariant_2 | ProdStrucVariantChgStateIntID | |
| ProductStructureNodeUniqueID | I_ProductStructureNode_2 | ProductStructureNodeUniqueID | ||
| ProductStructureNodeName | ProductStructureNodeName | |||
| ProductStructureNodeType | I_ProductStructureNode_2 | ProductStructureNodeType | ||
| ProductStructureVariantType | I_ProductStructureVariant_2 | ProductStructureVariantType | ||
| ProductStructureGnrcObjType | I_ProductStructureNode_2 | ProductStructureGnrcObjType | ||
| ClassType | ||||
| Class | ||||
| ProdStrucNodeDescription | Node Description | |||
| ProductStructureCreationDate | I_ProductStructureNode_2 | ProductStructureCreationDate | ||
| ProductStructureCreatedByUser | I_ProductStructureNode_2 | ProductStructureCreatedByUser | ||
| ProductStrucLastChangedDate | I_ProductStructureNode_2 | ProductStrucLastChangedDate | ||
| ProductStrucLastChangedByUser | I_ProductStructureNode_2 | ProductStrucLastChangedByUser | ||
| ProductStructureVariantName | I_ProductStructureVariant_2 | ProductStructureVariantName | ||
| Material | I_ProductStructureVariant_2 | Material | Vehicle Model | |
| ProdStrucVariantChangeNumber | I_ProductStructureVariant_2 | ProdStrucVariantChangeNumber | ||
| ProdStrucVarChgNmbrDescription | I_ProductStructureVariant_2 | ProdStrucVarChgNmbrDescription | ||
| ProductStructureUsage | I_ProdStrucVariantPlantUsage | ProductStructureUsage | Usage | |
| Plant | I_ProdStrucVariantPlantUsage | Plant | Valuation Area | |
| MaterialAuthorizationGroup | I_ProductStructureVariant_2 | MaterialAuthorizationGroup | ||
| AuthorizationGroup | I_ProductStructureVariant_2 | AuthorizationGroup | AuthorizGroup | |
| ProdStrucVariantDescription | Variant Description | |||
| _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 I_ProductStructureNodeVariant.
-- 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: IPSMNODEVAR
CREATE VIEW I_ProductStructureNodeVariant AS
SELECT
ProductStructureNodeUUID,
_Variant.ProductStructureVariantUUID AS ProductStructureVariantUUID,
_Variant.ProdStrucVariantChgStateIntID AS ProdStrucVariantChgStateIntID,
_Node.ProductStructureNodeUniqueID AS ProductStructureNodeUniqueID,
ProductStructureNodeName,
_Node.ProductStructureNodeType AS ProductStructureNodeType,
_Variant.ProductStructureVariantType AS ProductStructureVariantType,
_Node.ProductStructureGnrcObjType AS ProductStructureGnrcObjType,
_Node._Class.ClassType AS ClassType,
_Node._Class.Class AS Class,
_Node._Text[1:Language = $session.system_language].ProdStrucNodeDescription AS ProdStrucNodeDescription,
_Node.ProductStructureCreationDate AS ProductStructureCreationDate,
_Node.ProductStructureCreatedByUser AS ProductStructureCreatedByUser,
_Node.ProductStrucLastChangedDate AS ProductStrucLastChangedDate,
_Node.ProductStrucLastChangedByUser AS ProductStrucLastChangedByUser,
_Variant.ProductStructureVariantName AS ProductStructureVariantName,
_Variant.Material AS Material,
_Variant.ProdStrucVariantChangeNumber AS ProdStrucVariantChangeNumber,
_Variant.ProdStrucVarChgNmbrDescription AS ProdStrucVarChgNmbrDescription,
_VariantPlantUsage.ProductStructureUsage AS ProductStructureUsage,
_VariantPlantUsage.Plant AS Plant,
_Variant.MaterialAuthorizationGroup AS MaterialAuthorizationGroup,
_Variant.AuthorizationGroup AS AuthorizationGroup,
_Variant._Text[1:Language = $session.system_language].ProdStrucVariantDescription AS ProdStrucVariantDescription
FROM I_ProductStructureNode_2 AS _Node
LEFT OUTER JOIN I_ProductStructureVariant_2 AS _Variant ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ProdStrucVariantPlantUsage AS _VariantPlantUsage ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ProdStrucLogAccMActive AS _LogAccMObjectTypeActive ON ProductStructureGnrcObjType = _LogAccMObjectTypeActive.LogAccMObjectType -- association [0..1]
LEFT OUTER JOIN I_ProdStrucObjSecureIDAssgmt AS _LogAccMObjSecureIDAssgmt ON ProductStructureNodeUniqueID = _LogAccMObjSecureIDAssgmt.LogAccMObjectID AND ProductStructureGnrcObjType = _LogAccMObjSecureIDAssgmt.LogAccMObjectType -- association [0..1]
LEFT OUTER JOIN I_ProdStrucObjectUserAuthzn AS _LogAccMObjectUserAuthzn ON ProductStructureNodeUniqueID = _LogAccMObjectUserAuthzn.LogAccMObjectID AND _LogAccMObjectUserAuthzn.LogAccMObjectType = ProductStructureGnrcObjType AND _LogAccMObjectUserAuthzn.LogAccMUserAuthznObject = ProductStructureGnrcObjType -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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