P_BankGroupCompanyCount
Count of company code per bank group
P_BankGroupCompanyCount is a Basic CDS View that provides data about "Count of company code per bank group" in SAP S/4HANA. It reads from 2 data sources (fclm_bam_hierbgn, t012) and exposes 2 fields with key field bank_group. Part of development package FCLM_BAM.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| fclm_bam_hierbgn | BankGroup | from |
| t012 | HouseBank | inner |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | bank_group | fclm_bam_hierbgn | bank_group | |
| NumberOfCompanyCodes |
@VDM.private: true
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view entity P_BankGroupCompanyCount
as select from fclm_bam_hierbgn as BankGroup
inner join t012 as HouseBank on BankGroup.bankl = HouseBank.bankl
and BankGroup.banks = HouseBank.banks
{
key BankGroup.bank_group,
count( distinct HouseBank.bukrs) as NumberOfCompanyCodes
}
group by
BankGroup.bank_group;
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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