P_CMMDTYFINTRANSFLOWCOUNT
P_CMMDTYFINTRANSFLOWCOUNT is a CDS View in S/4HANA. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_CmmdtyHdgFinTransActivity | view | inner | COMPOSITE | Basic for Transaction Table |
@AbapCatalog: { sqlViewName: 'PCMMFINTRNSFLCNT',
compiler.compareFilter: true,
preserveKey: true }
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM: { viewType: #COMPOSITE,
private: true }
@ObjectModel.usageType: { serviceQuality: #C,
sizeCategory: #L,
dataClass: #TRANSACTIONAL }
@ClientHandling.algorithm: #SESSION_VARIABLE
//@EndUserText.label: 'Commodity Financial Transaction Flow Count'
define view P_CmmdtyFinTransFlowCount
as select from I_CmmdtyFinTransactionFlow as fhapo
{
key fhapo.CompanyCode as CompanyCode,
key fhapo.FinancialTransaction as FinancialTransaction,
count( distinct fhapo.FinTransFlowNumber ) as FinTransactionNumberOfFlows
}
where
(
fhapo.FinTransFlowCategory = '50' // Buy
or fhapo.FinTransFlowCategory = '51' // Sell
)
and fhapo.FinInterestRateAdjmtStatus <> '02'
group by
CompanyCode,
FinancialTransaction
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CMMDTYFINTRANSACTIONFLOW"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/