I_BankCashBalanceHistory
Bank Cash Balance History
I_BankCashBalanceHistory is a Basic CDS View that provides data about "Bank Cash Balance History" in SAP S/4HANA. It reads from 1 data source (fqmet_balance) and exposes 19 fields with key fields BankAccountInternalID, CashBalanceDate, CashBalanceKey. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| fqmet_balance | Balance | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_User | _User | $projection.CreatedByUser = _User.UserID |
| [0..1] | I_CashBalanceChannelText | _BalanceChannelText | $projection.CashBalanceChannel = _BalanceChannelText.CashBalanceChannel and _BalanceChannelText.Language = $session.system_language |
| [0..1] | I_CashBalanceTypeText | _BalanceTypeText | $projection.CashBalanceType = _BalanceTypeText.CashBalanceType and _BalanceTypeText.Language = $session.system_language |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IBACCBALHIS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Bank Cash Balance History | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BankAccountInternalID | fqmet_balance | bank_account_id | Technical ID |
| KEY | CashBalanceDate | fqmet_balance | transaction_date | Value Date |
| KEY | CashBalanceKey | fqmet_balance | db_key | UUID |
| CompanyCode | fqmet_balance | company_code | Company Code | |
| CashBalanceAmount | fqmet_balance | balance_amount | Billing Amount | |
| CashBalanceCurrency | fqmet_balance | balance_currency | Currency | |
| CashBalanceChannel | fqmet_balance | balance_channel | Update Method | |
| CashBalanceChannelText | _BalanceChannelText | CashBalanceChannelText | ||
| CashBalanceType | fqmet_balance | balance_type | Balance Type | |
| CashBalanceTypeText | _BalanceTypeText | CashBalanceTypeText | ||
| CreatedByUser | fqmet_balance | create_user | User Name | |
| CreatedByUserName | _User | UserDescription | Full Name | |
| CashBalanceCreatedAtDateTime | fqmet_balance | create_timestamp | Time Stamp | |
| OriginDocument | fqmet_balance | origin_document_id | Source Doc. ID | |
| BankStatementShortID | ||||
| BankStatement | ||||
| _User | _User | |||
| _BalanceChannelText | _BalanceChannelText | |||
| _BalanceTypeText | _BalanceTypeText |
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 I_BankCashBalanceHistory.
-- 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: IBACCBALHIS
CREATE VIEW I_BankCashBalanceHistory AS
SELECT
Balance.bank_account_id AS BankAccountInternalID,
Balance.transaction_date AS CashBalanceDate,
Balance.db_key AS CashBalanceKey,
Balance.company_code AS CompanyCode,
Balance.balance_amount AS CashBalanceAmount,
Balance.balance_currency AS CashBalanceCurrency,
Balance.balance_channel AS CashBalanceChannel,
_BalanceChannelText.CashBalanceChannelText AS CashBalanceChannelText,
Balance.balance_type AS CashBalanceType,
_BalanceTypeText.CashBalanceTypeText AS CashBalanceTypeText,
Balance.create_user AS CreatedByUser,
_User.UserDescription AS CreatedByUserName,
Balance.create_timestamp AS CashBalanceCreatedAtDateTime,
Balance.origin_document_id AS OriginDocument,
cast( substring(Balance.origin_document_id, 1, 8) as farp_kukey ) AS BankStatementShortID,
cast( _BankStatement.aznum as farp_aznum ) AS BankStatement
FROM fqmet_balance AS Balance
LEFT OUTER JOIN I_User AS _User ON CreatedByUser = _User.UserID -- association [0..1]
LEFT OUTER JOIN I_CashBalanceChannelText AS _BalanceChannelText ON CashBalanceChannel = _BalanceChannelText.CashBalanceChannel AND _BalanceChannelText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_CashBalanceTypeText AS _BalanceTypeText ON CashBalanceType = _BalanceTypeText.CashBalanceType AND _BalanceTypeText.Language = $session.system_language -- 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