C_CN_BankRecnclnStatement
Bank Reconciliation Statement for China
C_CN_BankRecnclnStatement is a Consumption CDS View that provides data about "Bank Reconciliation Statement for China" in SAP S/4HANA. It reads from 1 data source (I_CN_BankRecnclnStatement) and exposes 34 fields with key fields CompanyCode, HouseBank, HouseBankAccount, BankReconciliationDate. It has 11 associations to related views. Part of development package GLO_FIN_EPIC_CN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CN_BankRecnclnStatement | BRS | from |
Associations (11)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_Cn_RecnclnBankStatementItem | _BankStatementItem | BRS.CompanyCode = _BankStatementItem.CompanyCode and BRS.HouseBank = _BankStatementItem.HouseBank and BRS.HouseBankAccount = _BankStatementItem.HouseBankAccount and BRS.BankReconciliationDate = _BankStatementItem.BankReconciliationDate and _BankStatementItem.BankReconciliationMatchType = '' |
| [0..*] | C_CN_RecnclnJournalEntryItem | _JournalEntryItem | BRS.CompanyCode = _JournalEntryItem.CompanyCode and BRS.HouseBank = _JournalEntryItem.HouseBank and BRS.HouseBankAccount = _JournalEntryItem.HouseBankAccount and BRS.BankReconciliationDate = _JournalEntryItem.BankReconciliationDate and _JournalEntryItem.BankReconciliationMatchType = '' |
| [1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_Currency | _Currency | $projection.HouseBankCurrency = _Currency.Currency |
| [1] | I_Housebank | _HouseBank | BRS.CompanyCode = _HouseBank.CompanyCode and BRS.HouseBank = _HouseBank.HouseBank |
| [1] | I_HouseBankAccountVH | _HouseBankAccount | BRS.CompanyCode = _HouseBankAccount.CompanyCode and BRS.HouseBank = _HouseBankAccount.HouseBank and BRS.HouseBankAccount = _HouseBankAccount.HouseBankAccount |
| [1] | I_Ledger | _Ledger | $projection.Ledger = _Ledger.Ledger |
| [0..*] | I_BankAccount | _BankAccount | BRS.CompanyCode = _BankAccount.CompanyCode and BRS.BankAccount = _BankAccount.BankAccountNumber |
| [1] | I_GLAccountInCompanyCode | _GLAccount | BRS.CompanyCode = _GLAccount.CompanyCode and BRS.GLAccount = _GLAccount.GLAccount |
| [1] | I_User | _User | $projection.CreationUserName = _User.UserID |
| [1] | I_CompanyCodeVH | _CompanyCodeVH | BRS.CompanyCode = _CompanyCodeVH.CompanyCode |
Annotations (23)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCNBKRECNCLSTMNT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Bank Reconciliation Statement for China | view | |
| Search.searchable | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.deleteEnabled | true | view | |
| UI.headerInfo.typeName | Bank Reconciliation Statement | view | |
| UI.headerInfo.typeName_AsOTR | 3863BB44F0201EE6BBCDFFA9F1D799FC | view | |
| UI.headerInfo.typeNamePlural | Bank Reconciliation Statements | view | |
| UI.headerInfo.typeNamePlural_AsOTR | 3863BB44F0201EE6BBCE088ECA903A8F | view | |
| UI.headerInfo.title.label | Bank Reconciliation Statement | view | |
| UI.headerInfo.title.value | LongTextTemplate | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.description.label | Bank Reconciliation Statement | view | |
| UI.headerInfo.description.value | BankName | view | |
| UI.headerInfo.description.type | #STANDARD | view | |
| UI.textArrangement | #TEXT_LAST | view |
Fields (34)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_CN_BankRecnclnStatement | CompanyCode | Receiver Company Code |
| KEY | HouseBank | I_CN_BankRecnclnStatement | HouseBank | House Bank |
| KEY | HouseBankAccount | I_CN_BankRecnclnStatement | HouseBankAccount | House Bank Account |
| KEY | BankReconciliationDate | I_CN_BankRecnclnStatement | BankReconciliationDate | Reconciliation Date |
| Ledger | I_CN_BankRecnclnStatement | Ledger | Ledger | |
| HouseBankCurrency | I_CN_BankRecnclnStatement | HouseBankCurrency | Transaction Currency | |
| BankAccount | I_CN_BankRecnclnStatement | BankAccount | Bank acct | |
| BankAccountReferenceText | I_CN_BankRecnclnStatement | BankAccountReferenceText | Reference | |
| BankName | ||||
| GLAccount | I_CN_BankRecnclnStatement | GLAccount | General Ledger | |
| AdjustedGLAcctBalanceAmt | I_CN_BankRecnclnStatement | AdjustedGLAcctBalanceAmt | Adj.Closing Balance | |
| AdjustedBkAcctBalanceAmt | I_CN_BankRecnclnStatement | AdjustedBkAcctBalanceAmt | Adj.Closing Balance | |
| BankAcctBalanceAmt | I_CN_BankRecnclnStatement | BankAcctBalanceAmt | Bank Balance Amount | |
| GLAcctBalanceAmt | I_CN_BankRecnclnStatement | GLAcctBalanceAmt | Closing Balance | |
| UnmatchedIncgBkStmntPayt | I_CN_BankRecnclnStatement | UnmatchedIncgBkStmntPayt | Umtchd Incing. In BK | |
| UnmatchedOutgBkStmntPayt | I_CN_BankRecnclnStatement | UnmatchedOutgBkStmntPayt | Umtchd Otcing. In BK | |
| UnmatchedIncgJrnlEntrPayt | I_CN_BankRecnclnStatement | UnmatchedIncgJrnlEntrPayt | Umtchd Incing. In JE | |
| UnmatchedOutgJrnlEntrPayt | I_CN_BankRecnclnStatement | UnmatchedOutgJrnlEntrPayt | Umtchd Otcing. In JE | |
| CreationUserName | I_CN_BankRecnclnStatement | CreationUserName | User Name | |
| UserDescription | _User | UserDescription | Full Name | |
| LongTextTemplate | ||||
| LastChangeDateTime | I_CN_BankRecnclnStatement | LastChangeDateTime | Timestamp | |
| _BankStatementItem | _BankStatementItem | |||
| _JournalEntryItem | _JournalEntryItem | |||
| _CompanyCode | _CompanyCode | |||
| _Currency | _Currency | |||
| _HouseBank | _HouseBank | |||
| _HouseBankAccount | _HouseBankAccount | |||
| _Ledger | _Ledger | |||
| _BankAccount | _BankAccount | |||
| _GLAccount | _GLAccount | |||
| _User | _User | |||
| CompanyCodeName | _CompanyCodeVH | CompanyCodeName | Company Name | |
| HouseBankAccountDescription | _HouseBankAccount | HouseBankAccountDescription |
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 C_CN_BankRecnclnStatement.
-- 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: CCNBKRECNCLSTMNT
CREATE VIEW C_CN_BankRecnclnStatement AS
SELECT
BRS.CompanyCode AS CompanyCode,
BRS.HouseBank AS HouseBank,
BRS.HouseBankAccount AS HouseBankAccount,
BRS.BankReconciliationDate AS BankReconciliationDate,
BRS.Ledger AS Ledger,
BRS.HouseBankCurrency AS HouseBankCurrency,
BRS.BankAccount AS BankAccount,
BRS.BankAccountReferenceText AS BankAccountReferenceText,
BRS._HouseBank._Bank.BankName AS BankName,
BRS.GLAccount AS GLAccount,
BRS.AdjustedGLAcctBalanceAmt AS AdjustedGLAcctBalanceAmt,
BRS.AdjustedBkAcctBalanceAmt AS AdjustedBkAcctBalanceAmt,
BRS.BankAcctBalanceAmt AS BankAcctBalanceAmt,
BRS.GLAcctBalanceAmt AS GLAcctBalanceAmt,
BRS.UnmatchedIncgBkStmntPayt AS UnmatchedIncgBkStmntPayt,
BRS.UnmatchedOutgBkStmntPayt AS UnmatchedOutgBkStmntPayt,
BRS.UnmatchedIncgJrnlEntrPayt AS UnmatchedIncgJrnlEntrPayt,
BRS.UnmatchedOutgJrnlEntrPayt AS UnmatchedOutgJrnlEntrPayt,
BRS.CreationUserName AS CreationUserName,
_User.UserDescription AS UserDescription,
concat( BRS.BankAccount, BRS.BankAccountReferenceText) AS LongTextTemplate,
BRS.LastChangeDateTime AS LastChangeDateTime,
_CompanyCodeVH.CompanyCodeName AS CompanyCodeName,
_HouseBankAccount.HouseBankAccountDescription AS HouseBankAccountDescription
FROM I_CN_BankRecnclnStatement AS BRS
LEFT OUTER JOIN C_Cn_RecnclnBankStatementItem AS _BankStatementItem ON BRS.CompanyCode = _BankStatementItem.CompanyCode AND BRS.HouseBank = _BankStatementItem.HouseBank AND BRS.HouseBankAccount = _BankStatementItem.HouseBankAccount AND BRS.BankReconciliationDate = _BankStatementItem.BankReconciliationDate AND _BankStatementItem.BankReconciliationMatchType = '' -- association [0..*]
LEFT OUTER JOIN C_CN_RecnclnJournalEntryItem AS _JournalEntryItem ON BRS.CompanyCode = _JournalEntryItem.CompanyCode AND BRS.HouseBank = _JournalEntryItem.HouseBank AND BRS.HouseBankAccount = _JournalEntryItem.HouseBankAccount AND BRS.BankReconciliationDate = _JournalEntryItem.BankReconciliationDate AND _JournalEntryItem.BankReconciliationMatchType = '' -- association [0..*]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1]
LEFT OUTER JOIN I_Currency AS _Currency ON HouseBankCurrency = _Currency.Currency -- association [0..1]
LEFT OUTER JOIN I_Housebank AS _HouseBank ON BRS.CompanyCode = _HouseBank.CompanyCode AND BRS.HouseBank = _HouseBank.HouseBank -- association [1]
LEFT OUTER JOIN I_HouseBankAccountVH AS _HouseBankAccount ON BRS.CompanyCode = _HouseBankAccount.CompanyCode AND BRS.HouseBank = _HouseBankAccount.HouseBank AND BRS.HouseBankAccount = _HouseBankAccount.HouseBankAccount -- association [1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger -- association [1]
LEFT OUTER JOIN I_BankAccount AS _BankAccount ON BRS.CompanyCode = _BankAccount.CompanyCode AND BRS.BankAccount = _BankAccount.BankAccountNumber -- association [0..*]
LEFT OUTER JOIN I_GLAccountInCompanyCode AS _GLAccount ON BRS.CompanyCode = _GLAccount.CompanyCode AND BRS.GLAccount = _GLAccount.GLAccount -- association [1]
LEFT OUTER JOIN I_User AS _User ON CreationUserName = _User.UserID -- association [1]
LEFT OUTER JOIN I_CompanyCodeVH AS _CompanyCodeVH ON BRS.CompanyCode = _CompanyCodeVH.CompanyCode -- association [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