I_BankHierarchy

DDL: I_BANKHIERARCHY SQL: IBANKHIERARCHY Type: view BASIC

Bank Hierarchy

I_BankHierarchy is a Basic CDS View (Dimension) that provides data about "Bank Hierarchy" in SAP S/4HANA. It reads from 1 data source (fclm_bam_hier) and exposes 6 fields with key fields BankAccountHierarchy, ValidityEndDate. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
fclm_bam_hier Hierarchy from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_BankHierarchyText _Text $projection.BankAccountHierarchy = _Text.BankAccountHierarchy

Annotations (13)

NameValueLevelField
ObjectModel.representativeKey BankAccountHierarchy view
AbapCatalog.sqlViewName IBANKHIERARCHY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Bank Hierarchy view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
Metadata.allowExtensions true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY BankAccountHierarchy fclm_bam_hier hierid R/2 table
KEY ValidityEndDate fclm_bam_hier valid_to Validity End Time
ValidityStartDate fclm_bam_hier valid_from Validity Start Time
HierarchyType
IsPublicHierarchy
_Text _Text

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_BankHierarchy.
-- 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: IBANKHIERARCHY

CREATE VIEW I_BankHierarchy AS
SELECT
  Hierarchy.hierid AS BankAccountHierarchy,
  Hierarchy.valid_to AS ValidityEndDate,
  Hierarchy.valid_from AS ValidityStartDate,
  'CMBP' AS HierarchyType,
  'X' AS IsPublicHierarchy
FROM fclm_bam_hier AS Hierarchy
LEFT OUTER JOIN I_BankHierarchyText AS _Text ON BankAccountHierarchy = _Text.BankAccountHierarchy  -- association [1..*]
;