P_SemTagFuncAreaRange

DDL: P_SEMTAGFUNCAREARANGE SQL: PFISEMTAGFUAREAR Type: view BASIC

P_SemTagFuncAreaRange is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (hrrp_semtag_n) and exposes 10 fields. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
hrrp_semtag_n hrrp_semtag_n from

Associations (4)

CardinalityTargetAliasCondition
[0..*] I_GLAccountHierarchy _Hierarchy $projection.GLAccountHierarchy = _Hierarchy.GLAccountHierarchy
[0..*] I_GLAccountHierarchyNode _GLAccountHierarchyNode $projection.GLAccountHierarchy = _GLAccountHierarchyNode.GLAccountHierarchy and $projection.HierarchyNode = _GLAccountHierarchyNode.HierarchyNode
[0..1] I_SemanticTag _SemanticTag $projection.SemanticTag = _SemanticTag.SemanticTag
[0..1] I_FunctionalArea _FunctionalArea $projection.FunctionalArea = _FunctionalArea.FunctionalArea

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PFISEMTAGFUAREAR view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (10)

KeyFieldSource TableSource FieldDescription
GLAccountHierarchy
HierarchyNode hrrp_semtag_n hrynode Node
SemanticTag hrrp_semtag_n fins_sem_tag Semantic Tag
ValidityEndDate hrrp_semtag_n hryvalto Valid To
ValidityStartDate hrrp_semtag_n hryvalfrom Valid From
FunctionalArea
_Hierarchy _Hierarchy
_GLAccountHierarchyNode _GLAccountHierarchyNode
_SemanticTag _SemanticTag
_FunctionalArea _FunctionalArea

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_SemTagFuncAreaRange.
-- 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: PFISEMTAGFUAREAR

CREATE VIEW P_SemTagFuncAreaRange AS
SELECT
  cast (hrrp_semtag_n.hryid_42 as fins_sem_tag_hryid preserving type ) AS GLAccountHierarchy,
  hrrp_semtag_n.hrynode AS HierarchyNode,
  hrrp_semtag_n.fins_sem_tag AS SemanticTag,
  hrrp_semtag_n.hryvalto AS ValidityEndDate,
  hrrp_semtag_n.hryvalfrom AS ValidityStartDate,
  cast (hrrp_semtag_n.fkber as fm_farea preserving type ) AS FunctionalArea
FROM hrrp_semtag_n
LEFT OUTER JOIN I_GLAccountHierarchy AS _Hierarchy ON GLAccountHierarchy = _Hierarchy.GLAccountHierarchy  -- association [0..*]
LEFT OUTER JOIN I_GLAccountHierarchyNode AS _GLAccountHierarchyNode ON GLAccountHierarchy = _GLAccountHierarchyNode.GLAccountHierarchy AND HierarchyNode = _GLAccountHierarchyNode.HierarchyNode  -- association [0..*]
LEFT OUTER JOIN I_SemanticTag AS _SemanticTag ON SemanticTag = _SemanticTag.SemanticTag  -- association [0..1]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea  -- association [0..1]
;