FAC_UH_MIGRTN_I_HIERARCHY_TYPE

DDL: FAC_UH_MIGRTN_I_HIERARCHY_TYPE Type: view_entity

Hierarchy type view - data model

FAC_UH_MIGRTN_I_HIERARCHY_TYPE is a CDS View that provides data about "Hierarchy type view - data model" in SAP S/4HANA. It reads from 2 data sources (uhm_type, uhm_hier_type_ov) and exposes 20 fields with key field HierarchyType. It has 4 associations to related views.

Data Sources (2)

SourceAliasJoin Type
uhm_type hier_type from
uhm_hier_type_ov hier_type_ov left_outer

Associations (4)

CardinalityTargetAliasCondition
[0..1] uhm_typet _TEXT hier_type.hier_type = _TEXT.hier_type and _TEXT.lang = $session.system_language
[1..1] fac_cds_uh_category _to_category $projection.HierarchyCategory = _to_category.CategoryKey
[0..*] FAC_UH_MIGRTN_I_HIER_TYPE_LOG _changelog $projection.HierarchyType = _changelog.HierarchyType
[0..*] FAC_UH_MIGRTN_I_HIERARCHY_ID _HierarchyID

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Hierarchy type view - data model view
Search.searchable true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY HierarchyType uhm_type hier_type Hierarchy Type
HierarchyCategory uhm_type uh_hier_type Type
IsCompleted uhm_hier_type_ov hier_type_status Marked as Completed
TotalHierarchyCount Total Number
MigratedHierarchyCount Migrated Hierarchies
NotRelevantHierarchyCount Not Relevant for Migration
WhereUsedMigratedCount Where-Used Updated
CompletionHierarchyCount Progress
Editable Editable
PopTransport Pop Transport
HierarchyTypeName _TEXT hier_type_text Hierarchy Type Descr
ApplicationTitle _TEXT app_title Application Title
ProgressCriticality 3
AllowNewID uhm_type allow_new_id Allow new hier. ID
AllowPartialMigration uhm_type allow_partial_mig Allow Partial Migr.
HierarchyTypeSearch
_TEXT _TEXT
_HierarchyID _HierarchyID
_to_category _to_category
_changelog _changelog

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 FAC_UH_MIGRTN_I_HIERARCHY_TYPE.
-- 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.

CREATE VIEW FAC_UH_MIGRTN_I_HIERARCHY_TYPE AS
SELECT
  hier_type.hier_type AS HierarchyType,
  hier_type.uh_hier_type AS HierarchyCategory,
  hier_type_ov.hier_type_status AS IsCompleted,
  cast( '0' as hiercount ) AS TotalHierarchyCount,
  cast( '0' as hiercount ) AS MigratedHierarchyCount,
  cast( '0' as hiercount ) AS NotRelevantHierarchyCount,
  cast( '0' as hiercount ) AS WhereUsedMigratedCount,
  cast( '0' as hiercount ) AS CompletionHierarchyCount,
  cast( '' as htypee ) AS Editable,
  cast( '' as char1 ) AS PopTransport,
  _TEXT.hier_type_text AS HierarchyTypeName,
  _TEXT.app_title AS ApplicationTitle,
  3 AS ProgressCriticality,
  hier_type.allow_new_id AS AllowNewID,
  hier_type.allow_partial_mig AS AllowPartialMigration,
  cast( '' as htype ) AS HierarchyTypeSearch
FROM uhm_type AS hier_type
LEFT OUTER JOIN uhm_hier_type_ov AS hier_type_ov ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN uhm_typet AS _TEXT ON hier_type.hier_type = _TEXT.hier_type AND _TEXT.lang = $session.system_language  -- association [0..1]
LEFT OUTER JOIN fac_cds_uh_category AS _to_category ON HierarchyCategory = _to_category.CategoryKey  -- association [1..1]
LEFT OUTER JOIN FAC_UH_MIGRTN_I_HIER_TYPE_LOG AS _changelog ON HierarchyType = _changelog.HierarchyType  -- association [0..*]
LEFT OUTER JOIN FAC_UH_MIGRTN_I_HIERARCHY_ID AS _HierarchyID ON /* condition not available in parsed metadata */  -- association [0..*]
;