Repm_ClosedSalesOrderQuery

DDL: REPM_CLOSEDSALESORDERQUERY SQL: REPM_CLOSED_SO1Q Type: view Package: RS_EPM_NW_CONTENT_CDS

REPM : Closed Sales Order Query View

Repm_ClosedSalesOrderQuery is a CDS View that provides data about "REPM : Closed Sales Order Query View" in SAP S/4HANA. It reads from 1 data source (REPM_ClosedSalesOrderC2) and exposes 6 fields. Part of development package RS_EPM_NW_CONTENT_CDS.

Data Sources (1)

SourceAliasJoin Type
REPM_ClosedSalesOrderC2 REPM_ClosedSalesOrderC2 from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName REPM_CLOSED_SO1Q view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
Analytics.query true view
EndUserText.label REPM : Closed Sales Order Query View view
OData.publish true view

Fields (6)

KeyFieldSource TableSource FieldDescription
TransactionCurrency REPM_ClosedSalesOrderC2 TransactionCurrency Transaction Currency
Customer REPM_ClosedSalesOrderC2 Customer Sold-to Party
GrossAmount REPM_ClosedSalesOrderC2 GrossAmount Total Gross Amount
TaxAmount REPM_ClosedSalesOrderC2 TaxAmount Total Tax Amount
NetAmount REPM_ClosedSalesOrderC2 NetAmount Total Net Amount
OverallStatus REPM_ClosedSalesOrderC2 OverallStatus Overall Status

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 Repm_ClosedSalesOrderQuery.
-- 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: REPM_CLOSED_SO1Q

CREATE VIEW Repm_ClosedSalesOrderQuery AS
SELECT
  REPM_ClosedSalesOrderC2.TransactionCurrency AS TransactionCurrency,
  REPM_ClosedSalesOrderC2.Customer AS Customer,
  REPM_ClosedSalesOrderC2.GrossAmount AS GrossAmount,
  REPM_ClosedSalesOrderC2.TaxAmount AS TaxAmount,
  REPM_ClosedSalesOrderC2.NetAmount AS NetAmount,
  REPM_ClosedSalesOrderC2.OverallStatus AS OverallStatus
FROM REPM_ClosedSalesOrderC2
;