TMO_EXP_I_TGV_PRV_CONF_RNG_R

DDL: TMO_EXP_I_TGV_PRV_CONF_RNG_R Type: view_entity Package: S_TMO_EXP

Exporter Targets

TMO_EXP_I_TGV_PRV_CONF_RNG_R is a CDS View that provides data about "Exporter Targets" in SAP S/4HANA. It reads from 6 data sources and exposes 27 fields with key fields Target_Type, Target_Name, Variant_Name, Provider_Name, Set_Id. Part of development package S_TMO_EXP.

Data Sources (6)

SourceAliasJoin Type
tmo_exp_tg_pr_cr tg_pr_cr left_outer
tmo_exp_tg_pr_cr tg_pr_cr inner
tmo_exp_i_tgv_prv_r tgv_prv from
tmo_exp_i_tgv_prv_r tgv_prv union_all
tmo_exp_tv_pr_cr tv_pr_cr left_outer
tmo_exp_tv_pr_cr tv_pr_cr left_outer

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Exporter Targets view
Metadata.ignorePropagatedAnnotations true view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY Target_Type tmo_exp_i_tgv_prv_r Target_Type Target Type
KEY Target_Name tmo_exp_i_tgv_prv_r Target_Name
KEY Variant_Name tmo_exp_i_tgv_prv_r Variant_Name Variant Name
KEY Provider_Name tmo_exp_i_tgv_prv_r Provider_Name Provider Name
KEY Set_Id tmo_exp_tv_pr_cr set_id Set
KEY Field_Id tmo_exp_tv_pr_cr field_id Field name
KEY Range_Line tmo_exp_tv_pr_cr range_line Position
Is_Active tmo_exp_i_tgv_prv_r Is_Active Truth Value
Range_Sign
Range_Option Type of OPTION component in row type of a Ranges type
Low Value from
High Value up to
Owner_type tmo_exp_i_tgv_prv_r Owner_Type Partner Type
Target_TypeasTarget_Type
KEY Target_Name tmo_exp_i_tgv_prv_r Target_Name
KEY Variant_Name tmo_exp_i_tgv_prv_r Variant_Name Variant Name
KEY Provider_Name tmo_exp_i_tgv_prv_r Provider_Name Provider Name
KEY Set_Id tmo_exp_tg_pr_cr set_id Set
KEY Field_Id tmo_exp_tg_pr_cr field_id Field name
KEY Range_Line tmo_exp_tg_pr_cr range_line Position
Is_Active tmo_exp_i_tgv_prv_r Is_Active Truth Value
Range_Sign tmo_exp_tg_pr_cr range_sign
Range_Option tmo_exp_tg_pr_cr range_option Type of OPTION component in row type of a Ranges type
Low tmo_exp_tg_pr_cr low Value from
High tmo_exp_tg_pr_cr high Value up to
Owner_type tmo_exp_i_tgv_prv_r Owner_Type Partner Type
Configuration_Source

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 TMO_EXP_I_TGV_PRV_CONF_RNG_R.
-- 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 TMO_EXP_I_TGV_PRV_CONF_RNG_R AS
SELECT
  tgv_prv.Target_Type AS Target_Type,
  tgv_prv.Target_Name AS Target_Name,
  tgv_prv.Variant_Name AS Variant_Name,
  tgv_prv.Provider_Name AS Provider_Name,
  tv_pr_cr.set_id AS Set_Id,
  tv_pr_cr.field_id AS Field_Id,
  tv_pr_cr.range_line AS Range_Line,
  tgv_prv.Is_Active AS Is_Active,
  coalesce( tg_pr_cr.range_sign, tv_pr_cr.range_sign ) AS Range_Sign,
  coalesce( tg_pr_cr.range_option, tv_pr_cr.range_option ) AS Range_Option,
  coalesce( tg_pr_cr.low, tv_pr_cr.low ) AS Low,
  coalesce( tg_pr_cr.high, tv_pr_cr.high ) AS High,
  tgv_prv.Owner_Type AS Owner_type,
  case when tv_pr_cr.set_id is not null and tg_pr_cr.set_id is null then 'Delivered Configuration' when tv_pr_cr.set_id is not null then 'Local Overwrite' else 'No Configuration' end as Configuration_Source AS Target_TypeasTarget_Type,
  'Local Configuration' AS Configuration_Source
FROM tmo_exp_i_tgv_prv_r AS tgv_prv
LEFT OUTER JOIN tmo_exp_tv_pr_cr AS tv_pr_cr ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tmo_exp_tg_pr_cr AS tg_pr_cr ON /* join condition not captured in parsed metadata */
INNER JOIN tmo_exp_tg_pr_cr AS tg_pr_cr ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): tmo_exp_i_tgv_prv_r
;