I_ProdStrucVariantBasic

DDL: I_PRODSTRUCVARIANTBASIC SQL: IVARIANTBASIC Type: view BASIC

Product Structure Variant Basic

I_ProdStrucVariantBasic (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Cross Applications

I_ProdStrucVariantBasic is a Basic CDS View that provides data about "Product Structure Variant Basic" in SAP S/4HANA. It reads from 1 data source (posvid) and exposes 13 fields with key field ProductStructureVariantUUID. It has 4 associations to related views.

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentPLM-WUI-OBJ-PSM
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select, Data Source for Search
PackageCross Applications for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
posvid posvid from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_ProdStrucVarGnrcObjTypeMap _ppe_c_i2g posvid.pvtype = _ppe_c_i2g.ProductStructureVariantType
[0..1] I_ProdStrucLogAccMActive _LogAccMObjectTypeActive $projection.productstructuregnrcobjtype = _LogAccMObjectTypeActive.LogAccMObjectType
[0..*] I_ProdStrucLogAccMSecureAssgmt _LogAccMObjSecureIDAssgmt $projection.ProdStrucVariantUniqueID = _LogAccMObjSecureIDAssgmt.LogAccMObjectID and $projection.productstructuregnrcobjtype = _LogAccMObjSecureIDAssgmt.LogAccMObjectType
[0..*] I_ProdStrucLogAccMUserAuthzn _LogAccMObjectUserAuthzn $projection.ProdStrucVariantUniqueID = _LogAccMObjectUserAuthzn.LogAccMObjectID and $projection.productstructuregnrcobjtype = _LogAccMObjectUserAuthzn.LogAccMObjectType

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IVARIANTBASIC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey ProductStructureVariantUUID view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
EndUserText.label Product Structure Variant Basic view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY ProductStructureVariantUUID pvguid Internal Number of the PVS Variant
ProdStrucVariantUniqueID
ProductStructureVariantName pvname Variant
ProdStructureVariantParentUUID pnguid Internal Number of iPPE Node
ProductStructureVariantType pvtype iPPE Variant Type
ProductStructureGnrcObjType _ppe_c_i2g ProductStructureGnrcObjType Object Type
ProductStructureCreationDate creadat Date of Application
ProductStructureCreatedByUser creaby User who created record
ProductStrucLastChangedDate chngdat Date of Last Change
ProductStrucLastChangedByUser chngby Name of Person Who Changed Object
_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_ProdStrucVariantBasic.
-- 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: IVARIANTBASIC

CREATE VIEW I_ProdStrucVariantBasic AS
SELECT
  pvguid AS ProductStructureVariantUUID,
  bintohex( pvguid ) AS ProdStrucVariantUniqueID,
  pvname AS ProductStructureVariantName,
  pnguid AS ProdStructureVariantParentUUID,
  pvtype AS ProductStructureVariantType,
  _ppe_c_i2g.ProductStructureGnrcObjType AS ProductStructureGnrcObjType,
  creadat AS ProductStructureCreationDate,
  creaby AS ProductStructureCreatedByUser,
  chngdat AS ProductStrucLastChangedDate,
  chngby AS ProductStrucLastChangedByUser
FROM posvid
LEFT OUTER JOIN I_ProdStrucVarGnrcObjTypeMap AS _ppe_c_i2g ON posvid.pvtype = _ppe_c_i2g.ProductStructureVariantType  -- association [0..1]
LEFT OUTER JOIN I_ProdStrucLogAccMActive AS _LogAccMObjectTypeActive ON productstructuregnrcobjtype = _LogAccMObjectTypeActive.LogAccMObjectType  -- association [0..1]
LEFT OUTER JOIN I_ProdStrucLogAccMSecureAssgmt AS _LogAccMObjSecureIDAssgmt ON ProdStrucVariantUniqueID = _LogAccMObjSecureIDAssgmt.LogAccMObjectID AND productstructuregnrcobjtype = _LogAccMObjSecureIDAssgmt.LogAccMObjectType  -- association [0..*]
LEFT OUTER JOIN I_ProdStrucLogAccMUserAuthzn AS _LogAccMObjectUserAuthzn ON ProdStrucVariantUniqueID = _LogAccMObjectUserAuthzn.LogAccMObjectID AND productstructuregnrcobjtype = _LogAccMObjectUserAuthzn.LogAccMObjectType  -- association [0..*]
;