cds_gseg_w_pr_sua_ext

DDL: CDS_GSEG_W_PR_SUA_EXT Type: view_entity

Ext. view on Seg. Profile Sub Appl

cds_gseg_w_pr_sua_ext is a CDS View that provides data about "Ext. view on Seg. Profile Sub Appl" in SAP S/4HANA. It reads from 4 data sources (gseg_w_pr, gseg_w_pr_sua, gseg_sub_appl, gseg_sub_appl_t) and exposes 7 fields with key fields appl_id, pr_id, sub_appl_id.

Data Sources (4)

SourceAliasJoin Type
gseg_w_pr pr from
gseg_w_pr_sua pr_sua left_outer
gseg_sub_appl sua inner
gseg_sub_appl_t sua_t left_outer

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
EndUserText.label Ext. view on Seg. Profile Sub Appl view
Metadata.ignorePropagatedAnnotations true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY appl_id gseg_w_pr appl_id Policy Key
KEY pr_id gseg_w_pr pr_id Purchase Req.
KEY sub_appl_id gseg_sub_appl sub_appl_id
ot_id gseg_w_pr ot_id
curr_code gseg_w_pr curr_code
pr_default gseg_w_pr pr_default
pr_tzone gseg_w_pr pr_tzone

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 cds_gseg_w_pr_sua_ext.
-- 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 cds_gseg_w_pr_sua_ext AS
SELECT
  pr.appl_id AS appl_id,
  pr.pr_id AS pr_id,
  sua.sub_appl_id AS sub_appl_id,
  pr.ot_id AS ot_id,
  pr.curr_code AS curr_code,
  pr.pr_default AS pr_default,
  pr.pr_tzone AS pr_tzone
FROM gseg_w_pr AS pr
INNER JOIN gseg_sub_appl AS sua ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN gseg_w_pr_sua AS pr_sua ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN gseg_sub_appl_t AS sua_t ON /* join condition not captured in parsed metadata */
;