P_IBaseHierarchy

DDL: P_IBASEHIERARCHY SQL: PIBASEHIERARCHY Type: view BASIC

P_IBaseHierarchy is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (ibst) and exposes 6 fields with key field IBaseStrucCompRecordNumber.

Data Sources (1)

SourceAliasJoin Type
ibst IBaseHierarchy from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PIBASEHIERARCHY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
VDM.private true view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY IBaseStrucCompRecordNumber st_recno Record number
IsDeleted delflag Yes/No (X/ )
InstalledBaseComponent instance TaskCount
IBaseComponentParentInstance parent UUID
IBaseComponentRootInstance root Top component
InstalledBase ibase Installed Base

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_IBaseHierarchy.
-- 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: PIBASEHIERARCHY

CREATE VIEW P_IBaseHierarchy AS
SELECT
  st_recno AS IBaseStrucCompRecordNumber,
  delflag AS IsDeleted,
  instance AS InstalledBaseComponent,
  parent AS IBaseComponentParentInstance,
  root AS IBaseComponentRootInstance,
  ibase AS InstalledBase
FROM ibst AS IBaseHierarchy
;