SFPM_IDA_TEST_CDS_EVENT

DDL: SFPM_IDA_TEST_CDS_EVENT SQL: SFPM_IDA_TEST_ET Type: view

SFPM_IDA_TEST_CDS_EVENT is a CDS View in SAP S/4HANA. It reads from 1 data source (fpm_ida_test_evt) and exposes 24 fields with key field event_id. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
fpm_ida_test_evt fpm_ida_test_evt from

Parameters (2)

NameTypeDefault
idx_par_from abap.int4
idx_par_to abap.int4

Associations (1)

CardinalityTargetAliasCondition
[*] SFPM_IDA_TEST_CDS_RESSOURCE RESSOURCE fpm_ida_test_evt.event_id = RESSOURCE.event_id

Annotations (1)

NameValueLevelField
AbapCatalog.sqlViewName SFPM_IDA_TEST_ET view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY event_id event_id ID
ADRESS ADRESS
RESSOURCE RESSOURCE
location_id location_id Location ID
description description CDSDescription
amount amount Value Amount
curr curr Valuation Crcy
curr_local curr_local
date_from date_from Validity Start Date
date_to date_to Validity End Date
first_name first_name CDSFIRST_NAME
last_name last_name Name
amount_cds fpm_ida_test_evt amount AddAumoutCDS
curr_cds fpm_ida_test_evt curr Valuation Crcy
amount_api fpm_ida_test_evt amount Value Amount
curr_api fpm_ida_test_evt curr Valuation Crcy
quantity quantity Value
unit unit UoM
timestamp timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
time time Time Stamp
quantity_cds fpm_ida_test_evt quantity Value
unit_cds unit UoM
TestAmount amount TestAmount
doubleamount

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 SFPM_IDA_TEST_CDS_EVENT.
-- 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: SFPM_IDA_TEST_ET
-- Parameters: idx_par_from : abap.int4, idx_par_to : abap.int4

CREATE VIEW SFPM_IDA_TEST_CDS_EVENT AS
SELECT
  event_id,
  ADRESS,
  RESSOURCE,
  location_id,
  description,
  amount,
  curr,
  curr_local,
  date_from,
  date_to,
  first_name,
  last_name,
  fpm_ida_test_evt.amount AS amount_cds,
  fpm_ida_test_evt.curr AS curr_cds,
  fpm_ida_test_evt.amount AS amount_api,
  fpm_ida_test_evt.curr AS curr_api,
  quantity,
  unit,
  timestamp,
  time,
  fpm_ida_test_evt.quantity AS quantity_cds,
  unit AS unit_cds,
  amount AS TestAmount,
  amount + amount AS doubleamount
FROM fpm_ida_test_evt
LEFT OUTER JOIN SFPM_IDA_TEST_CDS_RESSOURCE AS RESSOURCE ON fpm_ida_test_evt.event_id = RESSOURCE.event_id  -- association [*]
;