P_CmmdtyFinTransFlowCount

DDL: P_CMMDTYFINTRANSFLOWCOUNT Type: view COMPOSITE

P_CmmdtyFinTransFlowCount is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_CmmdtyFinTransactionFlow) and exposes 3 fields with key fields CompanyCode, FinancialTransaction.

Data Sources (1)

SourceAliasJoin Type
I_CmmdtyFinTransactionFlow fhapo from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PCMMFINTRNSFLCNT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_CmmdtyFinTransactionFlow CompanyCode Receiver Company Code
KEY FinancialTransaction I_CmmdtyFinTransactionFlow FinancialTransaction Transaction
FinTransactionNumberOfFlows

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 P_CmmdtyFinTransFlowCount.
-- 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 P_CmmdtyFinTransFlowCount AS
SELECT
  fhapo.CompanyCode AS CompanyCode,
  fhapo.FinancialTransaction AS FinancialTransaction,
  count( distinct fhapo.FinTransFlowNumber ) AS FinTransactionNumberOfFlows
FROM I_CmmdtyFinTransactionFlow AS fhapo
;