SFPM_IDA_TEST_CDS_RESSOURCE

DDL: SFPM_IDA_TEST_CDS_RESSOURCE SQL: SFPM_IDA_TEST_RS Type: view

SFPM_IDA_TEST_CDS_RESSOURCE is a CDS View in SAP S/4HANA. It reads from 1 data source (fpm_ida_test_res) and exposes 15 fields with key field ressource_id. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
fpm_ida_test_res fpm_ida_test_res from

Associations (1)

CardinalityTargetAliasCondition
[0..*] SFPM_IDA_TEST_CDS_RESSOURCE ressource_item fpm_ida_test_res.ressource_item_id = ressource_item.ressource_id

Annotations (1)

NameValueLevelField
AbapCatalog.sqlViewName SFPM_IDA_TEST_RS view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY ressource_id ressource_id
location_id location_id Location ID
event_id event_id ID
description description Description
amount amount Value Amount
curr curr Valuation Crcy
amount_cds fpm_ida_test_res amount Value Amount
curr_cds fpm_ida_test_res curr Valuation Crcy
quantity quantity Value
unit unit UoM
category category Violation Category
rank rank Sequence No.
quantity_cds fpm_ida_test_res quantity Value
unit_cds unit UoM
TestAmount amount TestAmount

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_RESSOURCE.
-- 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_RS

CREATE VIEW SFPM_IDA_TEST_CDS_RESSOURCE AS
SELECT
  ressource_id,
  location_id,
  event_id,
  description,
  amount,
  curr,
  fpm_ida_test_res.amount AS amount_cds,
  fpm_ida_test_res.curr AS curr_cds,
  quantity,
  unit,
  category,
  rank,
  fpm_ida_test_res.quantity AS quantity_cds,
  unit AS unit_cds,
  amount AS TestAmount
FROM fpm_ida_test_res
LEFT OUTER JOIN SFPM_IDA_TEST_CDS_RESSOURCE AS ressource_item ON fpm_ida_test_res.ressource_item_id = ressource_item.ressource_id  -- association [0..*]
;