P_VarConfignInstanceOwner

DDL: P_VARCONFIGNINSTANCEOWNER SQL: PVARCONFIGINSTOW Type: view COMPOSITE

P_VarConfignInstanceOwner is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_IBaseOwner, I_IBaseInstanceHierarchy) and exposes 12 fields with key field VarConfignInstanceRecordNo. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_IBaseOwner ConfigOwner inner
I_IBaseInstanceHierarchy Hrcy from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_ObjectNumberForProduct ObjNmbrMat ObjNmbrMat.IBaseInstanceObjectNumber = Hrcy.VariantConfignInstanceObject

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PVARCONFIGINSTOW view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY VarConfignInstanceRecordNo I_IBaseInstanceHierarchy InstalledBaseComponentRecordNo
IBaseStrucCompRecordNumber I_IBaseInstanceHierarchy IBaseStrucCompRecordNumber
VariantConfigurationInstance I_IBaseInstanceHierarchy InstalledBaseComponent
VariantConfigurationDate I_IBaseInstanceHierarchy VariantConfigurationDate
VarConfignInstceBusObjectKey I_IBaseOwner InstalledBaseCompOwnrObjKey
VarConfignInstceBusObjectType I_IBaseOwner IBaseComponentOwnerObjectType
VarConfigurationRootInstance I_IBaseInstanceHierarchy IBaseComponentRootInstance
VarConfigurationParentInstance I_IBaseInstanceHierarchy IBaseComponentParentInstance
VarConfignInstanceObjectType I_IBaseInstanceHierarchy VarConfignInstanceObjectType
IBase I_IBaseInstanceHierarchy InstalledBase
ConfigurationProfileCounter I_IBaseInstanceHierarchy ConfigurationProfileCounter Int. counter
BusObjIsVarConfignOwner

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 P_VarConfignInstanceOwner.
-- 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: PVARCONFIGINSTOW

CREATE VIEW P_VarConfignInstanceOwner AS
SELECT
  Hrcy.InstalledBaseComponentRecordNo AS VarConfignInstanceRecordNo,
  Hrcy.IBaseStrucCompRecordNumber AS IBaseStrucCompRecordNumber,
  Hrcy.InstalledBaseComponent AS VariantConfigurationInstance,
  Hrcy.VariantConfigurationDate AS VariantConfigurationDate,
  ConfigOwner.InstalledBaseCompOwnrObjKey AS VarConfignInstceBusObjectKey,
  ConfigOwner.IBaseComponentOwnerObjectType AS VarConfignInstceBusObjectType,
  Hrcy.IBaseComponentRootInstance AS VarConfigurationRootInstance,
  Hrcy.IBaseComponentParentInstance AS VarConfigurationParentInstance,
  Hrcy.VarConfignInstanceObjectType AS VarConfignInstanceObjectType,
  Hrcy.InstalledBase AS IBase,
  Hrcy.ConfigurationProfileCounter AS ConfigurationProfileCounter,
  cast( 'X' as abap_boolean preserving type ) AS BusObjIsVarConfignOwner
FROM I_IBaseInstanceHierarchy AS Hrcy
INNER JOIN I_IBaseOwner AS ConfigOwner ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ObjectNumberForProduct AS ObjNmbrMat ON ObjNmbrMat.IBaseInstanceObjectNumber = Hrcy.VariantConfignInstanceObject  -- association [0..1]
;