I_Segment

DDL: I_SEGMENT SQL: IFISEGMENT Type: view BASIC

Segment

I_Segment (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Segment · Accounting and Financial Close

I_Segment is a Basic CDS View (Dimension) that provides data about "Segment" in SAP S/4HANA. It reads from 1 data source (fagl_segm) and exposes 3 fields with key field Segment. It has 2 associations to related views.

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-GL-GL-N
CapabilitiesAssociation Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source for Data Extraction, Data Source in SQL Select
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
fagl_segm fagl_segm from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_SegmentText _Text $projection.Segment = _Text.Segment
[0..*] I_SegmentHierNode _SegmentHierNode $projection.Segment = _SegmentHierNode.Segment

Annotations (20)

NameValueLevelField
EndUserText.label Segment view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IFISEGMENT view
ObjectModel.representativeKey Segment view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.buffering.numberOfKeyFields 1 view
Metadata.allowExtensions true view
Search.searchable true view
AbapCatalog.preserveKey true view
ObjectModel.sapObjectNodeType.name Segment view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY Segment segment Segment for Segmental Reporting
_Text _Text
_SegmentHierNode _SegmentHierNode

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_Segment.
-- 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: IFISEGMENT

CREATE VIEW I_Segment AS
SELECT
  Segment
FROM fagl_segm
LEFT OUTER JOIN I_SegmentText AS _Text ON Segment = _Text.Segment  -- association [0..*]
LEFT OUTER JOIN I_SegmentHierNode AS _SegmentHierNode ON Segment = _SegmentHierNode.Segment  -- association [0..*]
;