SEPMRA_P_OVW_LastSaleD000

DDL: SEPMRA_P_OVW_LASTSALED000 Type: view

SEPMRA_P_OVW_LastSaleD000 is a CDS View in SAP S/4HANA. It reads from 2 data sources (SEPMRA_I_Product_E, SEPM_I_SalesOrderItem) and exposes 2 fields with key field Product.

Data Sources (2)

SourceAliasJoin Type
SEPMRA_I_Product_E Product from
SEPM_I_SalesOrderItem SalesOrderItem left_outer

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName SEPMRAPOVWLSD0 view
AbapCatalog.compiler.compareFilter true view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #P view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY Product SEPMRA_I_Product_E Product Product Sold
LastSoldDateTime

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 SEPMRA_P_OVW_LastSaleD000.
-- 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 SEPMRA_P_OVW_LastSaleD000 AS
SELECT
  Product.Product AS Product,
  max(SalesOrderItem._SalesOrder.CreationDateTime) AS LastSoldDateTime
FROM SEPMRA_I_Product_E AS Product
LEFT OUTER JOIN SEPM_I_SalesOrderItem AS SalesOrderItem ON /* join condition not captured in parsed metadata */
;