I_ProdStrucVariantPlantUsage
Product Structure Variant Plant Usage
I_ProdStrucVariantPlantUsage is a Basic CDS View that provides data about "Product Structure Variant Plant Usage" in SAP S/4HANA. It reads from 3 data sources (ppehdr, ppelnk, ppeobj) and exposes 9 fields. It has 3 associations to related views. Part of development package VDM_PLMB_PSM.
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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 (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPSVARPLANTUSAGE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| EndUserText.label | Product Structure Variant Plant Usage | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ProductStructureVariantUUID | ppeobj | pvguid | Internal Number | |
| ProdStrucVariantUniqueID | _Variant | ProdStrucVariantUniqueID | ||
| ProductStructureUsage | ppehdr | ppeuse | Usage | |
| Plant | ppehdr | locid | Single-Character Flag | |
| Material | ppehdr | objid | Work Center | |
| ProductStructureGnrcObjType | _Variant | 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 I_ProdStrucVariantPlantUsage.
-- 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: IPSVARPLANTUSAGE
CREATE VIEW I_ProdStrucVariantPlantUsage AS
SELECT
ppeobj.pvguid AS ProductStructureVariantUUID,
_Variant.ProdStrucVariantUniqueID AS ProdStrucVariantUniqueID,
ppehdr.ppeuse AS ProductStructureUsage,
ppehdr.locid AS Plant,
ppehdr.objid AS Material,
_Variant.ProductStructureGnrcObjType AS ProductStructureGnrcObjType
FROM ppeobj
INNER JOIN ppelnk ON /* join condition not captured in parsed metadata */
INNER JOIN ppehdr 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 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
- 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