P_RecnclnCashFlowBasic
P_RecnclnCashFlowBasic is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_CashPositionFlow) and exposes 22 fields with key fields OriginSystem, OriginApplication, OriginDocument, OriginTransaction, OriginTransactionQualifier.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CashPositionFlow | one_exposure | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCASHCOMBN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ValidFrom | ||||
| KEY | OriginSystem | I_CashPositionFlow | OriginSystem | |
| KEY | OriginApplication | I_CashPositionFlow | OriginApplication | |
| KEY | OriginDocument | I_CashPositionFlow | OriginDocument | |
| KEY | OriginTransaction | I_CashPositionFlow | OriginTransaction | |
| KEY | OriginTransactionQualifier | I_CashPositionFlow | OriginTransactionQualifier | |
| KEY | CashFlow | I_CashPositionFlow | CashFlow | |
| ExpirationDate | I_CashPositionFlow | ExpirationDate | ||
| TransactionDate | I_CashPositionFlow | TransactionDate | ||
| AmountInTransactionCurrency | I_CashPositionFlow | AmountInTransactionCurrency | ||
| TransactionCurrency | I_CashPositionFlow | TransactionCurrency | ||
| AmountInCompanyCodeCurrency | I_CashPositionFlow | AmountInCompanyCodeCurrency | ||
| CompanyCodeCurrency | I_CashPositionFlow | CompanyCodeCurrency | ||
| DocumentItemText | I_CashPositionFlow | DocumentItemText | ||
| BankAccountInternalID | I_CashPositionFlow | BankAccountInternalID | ||
| CompanyCode | I_CashPositionFlow | CompanyCode | ||
| PlanningLevel | I_CashPositionFlow | PlanningLevel | ||
| LiquidityItem | I_CashPositionFlow | LiquidityItem | ||
| CertaintyLevel | I_CashPositionFlow | CertaintyLevel | ||
| AccountingDocument | I_CashPositionFlow | AccountingDocument | ||
| BankStatementItem | BankStatementItem | |||
| BankStatementShortID | BankStatementShortID |
@AbapCatalog.sqlViewName: 'PCASHCOMBN'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private:true
@VDM.viewType: #COMPOSITE
@AbapCatalog.preserveKey:true
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MIXED
define view P_RecnclnCashFlowBasic
as select from I_CashPositionFlow as one_exposure
{ --I_CashPositionFlow P_CashFlowCombn
key one_exposure.ValidFrom,
key one_exposure.OriginSystem,
key one_exposure.OriginApplication,
key one_exposure.OriginDocument,
key one_exposure.OriginTransaction,
key one_exposure.OriginTransactionQualifier,
key one_exposure.CashFlow,
one_exposure.ExpirationDate,
one_exposure.TransactionDate,
@Semantics.amount.currencyCode: 'TransactionCurrency'
one_exposure.AmountInTransactionCurrency,
@Semantics.currencyCode: true
one_exposure.TransactionCurrency,
@Semantics.amount.currencyCode: 'CompanyCodeCurrency'
one_exposure.AmountInCompanyCodeCurrency,
@Semantics.currencyCode: true
one_exposure.CompanyCodeCurrency,
one_exposure.DocumentItemText,
one_exposure.BankAccountInternalID,
one_exposure.CompanyCode,
one_exposure.PlanningLevel,
one_exposure.LiquidityItem,
one_exposure.CertaintyLevel,
one_exposure.AccountingDocument,
BankStatementItem,
BankStatementShortID,
cast(case when one_exposure.CertaintyLevel = 'INTRAM' or one_exposure.CertaintyLevel = 'MEMO' or one_exposure.CertaintyLevel = 'RFC'
then lpad(substring(one_exposure.OriginDocument,1,10),10,'0') end as fclm_mr_doc_id ) as MemoRecord
}
where
(
one_exposure.CertaintyLevel = 'INTRAM'
or one_exposure.CertaintyLevel = 'REC_N'
or one_exposure.CertaintyLevel = 'PAY_N'
or one_exposure.CertaintyLevel = 'SI_CIT'
or one_exposure.CertaintyLevel = 'CMIDOC'
or one_exposure.CertaintyLevel = 'MEMO'
or one_exposure.CertaintyLevel = 'RFC'
)
and one_exposure.IsValid = 'X'
and(
one_exposure.NetDueDate = '00000000'
or(
one_exposure.CertaintyLevel <> 'INTRAM'
and one_exposure.CertaintyLevel <> 'MEMO'
)
or(
(
one_exposure.CertaintyLevel = 'INTRAM'
or one_exposure.CertaintyLevel = 'MEMO'
)
and one_exposure.NetDueDate >= $session.user_date
)
)
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CASHPOSITIONFLOW"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA