TOE_CDS_TRM_DEALS

DDL: TOE_CDS_TRM_DEALS SQL: TOEV_TR_DEALS Type: view

cds view for deal nominals in TOENE

TOE_CDS_TRM_DEALS is a CDS View that provides data about "cds view for deal nominals in TOENE" in SAP S/4HANA. It reads from 15 data sources and exposes 13 fields.

Data Sources (15)

SourceAliasJoin Type
atpa atpa left_outer
vtbfha ha from
vtbfha ha union_all
vtbfhapo hapo inner
vtbfhazu hazu inner
vtbfhazu hazu inner
vtifha ifha inner
vtifhapo ihapo inner
vtifhazu ihazu inner
vtiof iof inner
vtiofzu iofzu inner
refh refh inner
refh refh inner
t001 t001 inner
t001 t001 inner

Parameters (1)

NameTypeDefault
p_keydate dats

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName TOEV_TR_DEALS view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #AUTOMATED view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label cds view for deal nominals in TOENE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view

Fields (13)

KeyFieldSource TableSource FieldDescription
deal_number vtbfha rfha Transaction
company_code vtbfha bukrs Value
portfolio rportb Portfolio
cost_center rcntr Cost Center
wbs_element ps_posid WBS Element
country country Venue: Ctry/Reg
segment fb_segment Segment
company_code vtbfha bukrs Value
portfolio vtbfha rportb Portfolio
cost_center rcntr Cost Center
wbs_element ps_posid WBS Element
country country Venue: Ctry/Reg
segment fb_segment Segment

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 TOE_CDS_TRM_DEALS.
-- 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: TOEV_TR_DEALS
-- Parameters: p_keydate : dats

CREATE VIEW TOE_CDS_TRM_DEALS AS
SELECT
  ha.rfha AS deal_number,
  ha.bukrs AS company_code,
  rportb AS portfolio,
  rcntr AS cost_center,
  ps_posid AS wbs_element,
  country,
  fb_segment AS segment
FROM vtbfha AS ha
INNER JOIN vtbfhazu AS hazu ON /* join condition not captured in parsed metadata */
INNER JOIN vtbfhapo AS hapo ON /* join condition not captured in parsed metadata */
INNER JOIN t001 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN atpa ON /* join condition not captured in parsed metadata */
INNER JOIN refh ON /* join condition not captured in parsed metadata */
INNER JOIN vtiof AS iof ON /* join condition not captured in parsed metadata */
INNER JOIN vtiofzu AS iofzu ON /* join condition not captured in parsed metadata */
INNER JOIN vtifha AS ifha ON /* join condition not captured in parsed metadata */
INNER JOIN vtifhazu AS ihazu ON /* join condition not captured in parsed metadata */
INNER JOIN vtifhapo AS ihapo ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): vtbfha
;