I_BankGroupBankFeeCube
Bank Fees for Bank Groups - Cube
I_BankGroupBankFeeCube (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
Bank Fee · Financial Operations
I_BankGroupBankFeeCube is a Composite CDS View (Cube) that provides data about "Bank Fees for Bank Groups - Cube" in SAP S/4HANA. It reads from 2 data sources (I_BankFeeService, P_BankFeeChargeType_WP) and exposes 31 fields with key field BkSrvcBillgStmntUUID. It has 6 associations to related views. Part of development package FCLM_BRM.
SAP Help Documentation
| Category | CDS Views for Cash and Liquidity Management |
|---|---|
| Data Category | Cube |
| Status | Released |
This CDS view retrieves the bank fee data, including service charges and tax charges, for bank groups. This CDS view provides the prerequisites for answering the following business questions: What's the total bank service charge for each bank group? What's the total bank tax charge for each bank group?
Prerequisites
Users who want to run reports using this CDS view must have a role based on the business role template listed in the table above. In this role, the following restriction types must be set to read access: Bank Company code These restriction types are edited in the Maintain Business Roles app.
Structure
Main parameters and filters of the CDS view The main parameters are as follows: P_ValidityStartDate and P_ValidityEndDate are used to set a time range for bank fee data. Measures and attributes Some important measures and attributes are: Company code Bank group Bank country/region Bank key From date To date Account number Bank account technical ID Quarter Year Year and month Item type Service common code Service ID Service type Service charge Note The bank service charge is calculated based on the imported bank services billing files. Tax charge Note The tax charge is calculated based on the imported bank services billing files.
SAP API Hub
| Category | Composite |
|---|---|
| State | C1 |
| Line of Business | Financial Operations |
| Application Component | FIN-FSCM-CLM-BAM-2CL |
| Capabilities | Data Source for Data Extraction,Data Provider for Analytical Queries |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Not Released |
| Package | Financial Operations for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view retrieves the bank fee data, including service charges and tax charges, for bank groups.</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li> <p>What's the total bank service charge for each bank group?</p> </li> <li> <p>What's the total bank tax charge for each bank group?</p> </li> </ul> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BankFeeService | BankFee | from |
| P_BankFeeChargeType_WP | ChargeType | inner |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_ValidityStartDate | vdm_v_start_date | |
| P_ValidityEndDate | vdm_v_end_date |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BankAccountWithBGN | _BankGroup | $projection.BankAccountInternalID = _BankGroup.BankAccountInternalID |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_BankAccount | _BankAccount | $projection.BankAccountInternalID = _BankAccount.BankAccountInternalID |
| [0..1] | I_Bank | _Bank | $projection.BankCountry = _Bank.BankCountry and $projection.Bank = _Bank.BankInternalID |
| [0..1] | I_Country | _BankCountry | $projection.BankCountry = _BankCountry.Country |
| [0..1] | I_BusinessPartner | _BusinessPartner | BankGroup = _BusinessPartner.BusinessPartner |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IBANKGROUPBFC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.dataExtraction.enabled | true | view | |
| ObjectModel.sapObjectNodeType.name | BankFee | view | |
| EndUserText.label | Bank Fees for Bank Groups - Cube | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BkSrvcBillgStmntUUID | I_BankFeeService | BkSrvcBillgStmntUUID | Bank Services Billing Statement UUID |
| BankHeadquarterasBankGroup | ||||
| FeeType | FeeType | |||
| BankAccountBankAccountInternalID | ||||
| BankAccountNumber | BankAccountNumber | Bank Account Number | ||
| BankAccountDescription | Account Description | |||
| BankCompanyCode | ||||
| BankCountry | BankCountry | Bank Country/Region Key | ||
| Bank | Bank | Bank Number | ||
| ValidityStartDate | StartDateYearMonth | |||
| ValidityEndDate | EndDateYearMonth | To Date | ||
| BankFeeService | I_BankFeeService | BankFeeService | Billing Service ID | |
| BankFeeServiceDescription | I_BankFeeService | BankFeeServiceDescription | Description field of length 70 | |
| BankFeeSrvcComCode | I_BankFeeService | BankFeeSrvcComCode | ||
| BankFeeSrvcComCodeIssuer | I_BankFeeService | BankFeeSrvcComCodeIssuer | Bank Service Common Code Issuer | |
| BankFeeSrvcType | I_BankFeeService | BankFeeSrvcType | ||
| BankFeeChargeType | P_BankFeeChargeType_WP | BankFeeChargeType | Charge Type | |
| BankFeeChargeTypeText | P_BankFeeChargeType_WP | BankFeeChargeTypeText | Charge Type Long Text | |
| CalendarYear | ||||
| CalendarYearMonth | ||||
| OriginalChargePriceCurrency | OriginalChargePriceCurrency | Currency Key | ||
| OriginalChargePrice | OriginalChargePrice | |||
| TotalTaxAmountCurrency | TotalTaxAmountCurrency | Display Currency | ||
| TotalTaxAmount | TotalTaxAmount | Amount in Display Currency | ||
| BankAccountType | _BankAccount | BankAccountType | Bank Account Type ID | |
| _BankCountry | _BankCountry | |||
| _CompanyCode | _CompanyCode | |||
| _Bank | _Bank | |||
| _BankGroup | _BankGroup | |||
| _BusinessPartner | _BusinessPartner | |||
| _BankAccount | _BankAccount |
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_BankGroupBankFeeCube.
-- 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: IBANKGROUPBFC
-- Parameters: P_ValidityStartDate : vdm_v_start_date, P_ValidityEndDate : vdm_v_end_date
CREATE VIEW I_BankGroupBankFeeCube AS
SELECT
BankFee.BkSrvcBillgStmntUUID AS BkSrvcBillgStmntUUID,
FeeType,
BankAccountNumber,
_BankAccount._Text[1: Language = $session.system_language ].BankAccountDescription AS BankAccountDescription,
BankCountry,
Bank,
StartDateYearMonth AS ValidityStartDate,
EndDateYearMonth AS ValidityEndDate,
BankFee.BankFeeService AS BankFeeService,
BankFee.BankFeeServiceDescription AS BankFeeServiceDescription,
BankFee.BankFeeSrvcComCode AS BankFeeSrvcComCode,
BankFee.BankFeeSrvcComCodeIssuer AS BankFeeSrvcComCodeIssuer,
BankFee.BankFeeSrvcType AS BankFeeSrvcType,
ChargeType.BankFeeChargeType AS BankFeeChargeType,
ChargeType.BankFeeChargeTypeText AS BankFeeChargeTypeText,
cast( left( cast(EndDateYearMonth as abap.char(23)), 4 ) as abap.numc(4) ) AS CalendarYear,
cast( left( cast(EndDateYearMonth as abap.char(23)), 6 ) as abap.numc(6) ) AS CalendarYearMonth,
OriginalChargePriceCurrency,
OriginalChargePrice,
TotalTaxAmountCurrency,
TotalTaxAmount,
_BankAccount.BankAccountType AS BankAccountType
FROM I_BankFeeService AS BankFee
INNER JOIN P_BankFeeChargeType_WP AS ChargeType ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_BankAccountWithBGN AS _BankGroup ON BankAccountInternalID = _BankGroup.BankAccountInternalID -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_BankAccount AS _BankAccount ON BankAccountInternalID = _BankAccount.BankAccountInternalID -- association [0..1]
LEFT OUTER JOIN I_Bank AS _Bank ON BankCountry = _Bank.BankCountry AND Bank = _Bank.BankInternalID -- association [0..1]
LEFT OUTER JOIN I_Country AS _BankCountry ON BankCountry = _BankCountry.Country -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BankGroup = _BusinessPartner.BusinessPartner -- 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