P_CashFlowCFAWthNewRecnclnSts
Cash Flow for CFA with New Reconciliation Status
P_CashFlowCFAWthNewRecnclnSts is a Composite CDS View that provides data about "Cash Flow for CFA with New Reconciliation Status" in SAP S/4HANA. It reads from 1 data source (P_CASHFLOWCFA) and exposes 62 fields with key fields OriginSystem, OriginApplication, OriginDocument, OriginTransaction, OriginTransactionQualifier. It has 1 association to related views. Part of development package FCLM_CFA.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_CASHFLOWCFA | _flow | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_CashFlowSnapshotDateTime | timestampl |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CshFlwRcnlnBndlItmWthDeleted | _recn | _flow.OriginSystem = _recn.OriginSystem and _flow.OriginApplication = _recn.OriginApplication and _flow.OriginDocument = _recn.OriginDocument and _flow.OriginTransaction = _recn.OriginTransaction and _flow.OriginTransactionQualifier = _recn.OriginTransactionQualifier and _flow.CashFlow = _recn.CashFlow and _recn.CashFlowReconciliationStrategy = '1' and _recn.CreationDateTime <= $parameters.P_CashFlowSnapshotDateTime and ( _recn.LastChangedAtDateTime >= $parameters.P_CashFlowSnapshotDateTime or _recn.CshFlwRecnclnBundleIsDeleted = '' ) |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (62)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OriginSystem | OriginSystem | LogSys: Formula | |
| KEY | OriginApplication | OriginApplication | Origin Application | |
| KEY | OriginDocument | OriginDocument | ||
| KEY | OriginTransaction | OriginTransaction | ||
| KEY | OriginTransactionQualifier | OriginTransactionQualifier | ||
| KEY | CashFlow | CashFlow | ||
| KEY | ValidFrom | ValidFrom | Vers.Valid From | |
| KEY | ValidTo | ValidTo | Vers.Valid To | |
| KEY | CashFlowScopeForAccounting | CashFlowScopeForAccounting | ||
| CashFlowID | CashFlowID | |||
| CashTransactionOwner | CashTransactionOwner | |||
| CreatedByUser | CreatedByUser | User Name | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| TransactionDate | TransactionDate | Value Date | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| CertaintyLevel | CertaintyLevel | |||
| ActualCertaintyLevel | ActualCertaintyLevel | |||
| Currency | Currency | Valuation Crcy | ||
| Amount | Amount | Value Amount | ||
| BaseCurrency | BaseCurrency | Local Currency | ||
| BaseAmount | BaseAmount | Local Crcy Amt | ||
| BankAccountCurrency | BankAccountCurrency | Currency | ||
| AccountingDocument | AccountingDocument | Journal Entry | ||
| AccountingDocumentItem | AccountingDocumentItem | Posting View Item | ||
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| FIDocumentType | FIDocumentType | Journal Entry Type | ||
| PaymentMethod | PaymentMethod | Pymt Meth. | ||
| GLAccount | GLAccount | General Ledger | ||
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| DocumentItemText | DocumentItemText | Text | ||
| CashPlanningGroup | CashPlanningGroup | Planning Group | ||
| PlanningLevel | PlanningLevel | Planning Level | ||
| HouseBank | HouseBank | House Bank | ||
| HouseBankAccount | HouseBankAccount | House Bank Account | ||
| BankAccountId | BankAccountId | Technical ID | ||
| Customer | Customer | Sold-to Party | ||
| Supplier | Supplier | Supplier | ||
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| Material | Material | Vehicle Model | ||
| BusinessArea | BusinessArea | Business Area | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| CostCenter | CostCenter | Cost Center | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| WBSElementExternalID | WBSElementExternalID | WBS Element External ID | ||
| TradingPartner | TradingPartner | Trading Partner | ||
| Segment | Segment | Segment number | ||
| LiquidityItem | LiquidityItem | Liquidity Item | ||
| SourceCompanyCode | SourceCompanyCode | |||
| Fund | Fund | Sender Fund | ||
| GrantID | GrantID | Sender Grant | ||
| ExpirationDate | ExpirationDate | Expiratn Date | ||
| MemoRecordExpirationDateTime | MemoRecordExpirationDateTime | |||
| NetDueDate | NetDueDate | Net Due Date | ||
| Bank | Bank | Bank Number | ||
| BankCountry | BankCountry | Bank Ctry/Rgn. Key | ||
| BankAccount | BankAccount | Bank acct | ||
| BankAccountType | BankAccountType | Account Type | ||
| IBAN | IBAN | IBAN House Bank | ||
| direction | direction | Long/Short Position | ||
| CashFlowIsIntradayReconciled | CashFlowIsIntradayReconciled | |||
| CashFlowIsEndOfDayReconciled | CashFlowIsEndOfDayReconciled |
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_CashFlowCFAWthNewRecnclnSts.
-- 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.
-- Parameters: P_CashFlowSnapshotDateTime : timestampl
CREATE VIEW P_CashFlowCFAWthNewRecnclnSts AS
SELECT
OriginSystem,
OriginApplication,
OriginDocument,
OriginTransaction,
OriginTransactionQualifier,
CashFlow,
ValidFrom,
ValidTo,
CashFlowScopeForAccounting,
CashFlowID,
CashTransactionOwner,
CreatedByUser,
CompanyCode,
TransactionDate,
PostingDate,
CertaintyLevel,
ActualCertaintyLevel,
Currency,
Amount,
BaseCurrency,
BaseAmount,
BankAccountCurrency,
AccountingDocument,
AccountingDocumentItem,
FiscalYear,
FiscalPeriod,
FIDocumentType,
PaymentMethod,
GLAccount,
FinancialAccountType,
DocumentItemText,
CashPlanningGroup,
PlanningLevel,
HouseBank,
HouseBankAccount,
BankAccountId,
Customer,
Supplier,
BusinessPartner,
Material,
BusinessArea,
ProfitCenter,
CostCenter,
WBSElementInternalID,
WBSElementExternalID,
TradingPartner,
Segment,
LiquidityItem,
SourceCompanyCode,
Fund,
GrantID,
ExpirationDate,
MemoRecordExpirationDateTime,
NetDueDate,
Bank,
BankCountry,
BankAccount,
BankAccountType,
IBAN,
direction,
CashFlowIsIntradayReconciled,
CashFlowIsEndOfDayReconciled
FROM P_CASHFLOWCFA AS _flow
LEFT OUTER JOIN I_CshFlwRcnlnBndlItmWthDeleted AS _recn ON _flow.OriginSystem = _recn.OriginSystem AND _flow.OriginApplication = _recn.OriginApplication AND _flow.OriginDocument = _recn.OriginDocument AND _flow.OriginTransaction = _recn.OriginTransaction AND _flow.OriginTransactionQualifier = _recn.OriginTransactionQualifier AND _flow.CashFlow = _recn.CashFlow AND _recn.CashFlowReconciliationStrategy = '1' AND _recn.CreationDateTime <= $parameters.P_CashFlowSnapshotDateTime AND ( _recn.LastChangedAtDateTime >= $parameters.P_CashFlowSnapshotDateTime OR _recn.CshFlwRecnclnBundleIsDeleted = '' ) -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA