ICA_GR_SEGMENT

DDL: ICA_GR_SEGMENT SQL: ICAGRSEG Type: view

ICA_GR_SEGMENT is a CDS View in SAP S/4HANA. It reads from 2 data sources (ICA_P_GR_SEGMENT_02, ICA_SEGMENT) and exposes 2 fields.

Data Sources (2)

SourceAliasJoin Type
ICA_P_GR_SEGMENT_02 A from
ICA_SEGMENT B left_outer

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName ICAGRSEG view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.compiler.compareFilter true view

Fields (2)

KeyFieldSource TableSource FieldDescription
segment ICA_P_GR_SEGMENT_02 segment Segment number
unitName

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 ICA_GR_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: ICAGRSEG

CREATE VIEW ICA_GR_SEGMENT AS
SELECT
  A.segment AS segment,
  coalesce(B.unitName, A.unitName) AS unitName
FROM ICA_P_GR_SEGMENT_02 AS A
LEFT OUTER JOIN ICA_SEGMENT AS B ON /* join condition not captured in parsed metadata */
;