I_BankGroupBankFeeCube

DDL: I_BANKGROUPBANKFEECUBE SQL: IBANKGROUPBFC Type: view COMPOSITE Package: FCLM_BRM

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

CategoryCDS Views for Cash and Liquidity Management
Data CategoryCube
StatusReleased
Purpose
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.

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessFinancial Operations
Application ComponentFIN-FSCM-CLM-BAM-2CL
CapabilitiesData 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
PackageFinancial 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

Data Sources (2)

SourceAliasJoin Type
I_BankFeeService BankFee from
P_BankFeeChargeType_WP ChargeType inner

Parameters (2)

NameTypeDefault
P_ValidityStartDate vdm_v_start_date
P_ValidityEndDate vdm_v_end_date

Associations (6)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;