C_BankGroupBankFeeQuery

DDL: C_BANKGROUPBANKFEEQUERY SQL: CBANKGROUPBFQ Type: view CONSUMPTION

Bank Fees for Bank Groups - Query

C_BankGroupBankFeeQuery (Consumption)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Financial Operations

C_BankGroupBankFeeQuery is a Consumption CDS View that provides data about "Bank Fees for Bank Groups - Query" in SAP S/4HANA. It reads from 1 data source (I_BankGroupBankFeeCube) and exposes 21 fields.

SAP Help Documentation

CategoryCDS Views for Cash and Liquidity Management
Data CategoryQuery
StatusReleased
Corresponding DataSource2CCBANKGROUPBFQ
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. The following authorization objects are required: F_BNKA_MAN ( Banks: General Maintenance Authorization ) In this authorization object, the authorization for activity 03 Display is required. T_FIN_POS ( Authorization for Treasury Financial Position ) In this authorization object, the restriction for Company Code ( BURKS ) must be set to read access.

Structure
Main parameters and filters of the CDS view The main parameters are as follows: P_KeyDate is used to specify the key date. P_DisplayCurrency is used to set the display currency. P_ExchangeRateType is used to set the exchange rate type for currency conversion. 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 Bank service charge is calculated based on the imported bank services billing files. Tax charge Note Tax charge is calculated based on the imported bank services billing files.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessFinancial Operations
Application ComponentFIN-FSCM-CLM-BAM
CapabilitiesAnalytical Query
PackageFinancial Operations for SAP S/4HANA Cloud Private 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 (1)

SourceAliasJoin Type
I_BankGroupBankFeeCube I_BankGroupBankFeeCube from

Parameters (5)

NameTypeDefault
P_DisplayCurrency vdm_v_display_currency
P_KeyDate vdm_v_key_date
P_ExchangeRateType kurst
P_ValidityStartDate vdm_v_start_date
P_ValidityEndDate vdm_v_end_date

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CBANKGROUPBFQ view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
VDM.viewType #CONSUMPTION view
OData.publish true view
Analytics.query true view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.preserveKey true view
Analytics.internalName #LOCAL view
EndUserText.label Bank Fees for Bank Groups - Query view
ObjectModel.supportedCapabilities #ANALYTICAL_QUERY view

Fields (21)

KeyFieldSource TableSource FieldDescription
BankGroup BankGroup Bank Group ID
CompanyCode CompanyCode Receiver Company Code
BankCountry BankCountry Bank Country/Region Key
Bank Bank Bank Keys
BankAccountInternalID BankAccountInternalID Bank Account Technical ID
BankAccountNumber BankAccountNumber Bank Account Number
CalendarYearMonth CalendarYearMonth Year and Month
BankFeeSrvcComCodeIssuer BankFeeSrvcComCodeIssuer Bank Service Common Code Issuer
BankFeeSrvcComCode BankFeeSrvcComCode Service Common Code
BankFeeChargeType BankFeeChargeType Charge Type
BankFeeChargeTypeText BankFeeChargeTypeText Charge Type Long Text
BankFeeSrvcType BankFeeSrvcType Service Type
BankFeeService BankFeeService Billing Service ID
BankFeeServiceDescription BankFeeServiceDescription Description field of length 70
BankAccountDescription BankAccountDescription Account Description
ValidityStartDate ValidityStartDate From Date
ValidityEndDate ValidityEndDate To Date
FeeType FeeType Item Type
CalendarYear CalendarYear Year
CalendarQuarter CalendarQuarter Fiori Reference Apps: Calendar Quarter
DisplayCurrency Display Currency

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_BankGroupBankFeeQuery.
-- 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: CBANKGROUPBFQ
-- Parameters: P_DisplayCurrency : vdm_v_display_currency, P_KeyDate : vdm_v_key_date, P_ExchangeRateType : kurst, P_ValidityStartDate : vdm_v_start_date, P_ValidityEndDate : vdm_v_end_date

CREATE VIEW C_BankGroupBankFeeQuery AS
SELECT
  BankGroup,
  CompanyCode,
  BankCountry,
  Bank,
  BankAccountInternalID,
  BankAccountNumber,
  CalendarYearMonth,
  BankFeeSrvcComCodeIssuer,
  BankFeeSrvcComCode,
  BankFeeChargeType,
  BankFeeChargeTypeText,
  BankFeeSrvcType,
  BankFeeService,
  BankFeeServiceDescription,
  BankAccountDescription,
  ValidityStartDate,
  ValidityEndDate,
  FeeType,
  CalendarYear,
  CalendarQuarter,
  cast (:P_DisplayCurrency as fxm_group_currency preserving type) AS DisplayCurrency
FROM I_BankGroupBankFeeCube
;