C_HouseBank
House Bank Factsheet
C_HouseBank is a Consumption CDS View that provides data about "House Bank Factsheet" in SAP S/4HANA. It reads from 1 data source (I_Housebank) and exposes 22 fields with key fields CompanyCode, HouseBank. It has 2 associations to related views. It is exposed through 2 OData services (ASQL_F1758, ASQL_F1760). Part of development package FCLM_BAM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Housebank | HouseBank | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_HouseBankAccount | _HouseBankAcct | $projection.CompanyCode = _HouseBankAcct.CompanyCode and $projection.HouseBank = _HouseBankAcct.HouseBank |
| [0..1] | I_CountryText | _CountryText | $projection.BankCountry = _CountryText.Country and _CountryText.Language = $session.system_language |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | House Bank Factsheet | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| Consumption.semanticObject | HouseBank | view | |
| UI.headerInfo.typeName | House Bank | view | |
| UI.headerInfo.typeNamePlural | House Bank | view | |
| UI.headerInfo.title.label | House Bank | view | |
| UI.headerInfo.title.value | HouseBankForDisplayText | view | |
| UI.headerInfo.description.label | Bank Name | view | |
| UI.headerInfo.description.value | BankName | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F1758 | ASQL_F1758 | C2 | NOT_RELEASED | |
| ASQL_F1760 | ASQL_F1760 | C2 | NOT_RELEASED |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_Housebank | CompanyCode | Receiver Company Code |
| KEY | HouseBank | I_Housebank | HouseBank | House Bank |
| HouseBankForDisplayText | House Bank | |||
| BankCountry | I_Housebank | BankCountry | Bank Ctry/Rgn. Key | |
| CountryName | _CountryText | CountryName | Bank Country/Region Name | |
| BankNumber | ||||
| SWIFTCode | ||||
| Bank | I_Housebank | BankInternalID | Bank Key | |
| BankNetworkGrouping | Bank Group | |||
| BankName | ||||
| Region | ||||
| CompanyCodeName | ||||
| ShortStreetName | ||||
| ShortCityName | ||||
| BankBranch | ||||
| PhoneNumber1 | I_Housebank | PhoneNumber1 | Telephone 1 | |
| TaxID1 | I_Housebank | TaxID1 | Tax Number 1 | |
| ContactPersonName | I_Housebank | ContactPersonName | Full Name | |
| InstantBalanceIsHidden | ||||
| HsBkIsInstantBalanceEnabled | I_Housebank | HsBkIsInstantBalanceEnabled | Instant Balances Enabled | |
| CustomerByHouseBank | I_Housebank | CustomerByHouseBank | Customer Number | |
| _HouseBankAcct | _HouseBankAcct |
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_HouseBank.
-- 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.
CREATE VIEW C_HouseBank AS
SELECT
HouseBank.CompanyCode AS CompanyCode,
HouseBank.HouseBank AS HouseBank,
cast( concat( concat( CompanyCode,'/') , HouseBank ) as char10 ) AS HouseBankForDisplayText,
HouseBank.BankCountry AS BankCountry,
_CountryText.CountryName AS CountryName,
HouseBank._Bank.Bank AS BankNumber,
HouseBank._Bank.SWIFTCode AS SWIFTCode,
HouseBank.BankInternalID AS Bank,
HouseBank._Bank.BankNetworkGrouping AS BankNetworkGrouping,
HouseBank._Bank.BankName AS BankName,
HouseBank._Bank.Region AS Region,
HouseBank._CompanyCode.CompanyCodeName AS CompanyCodeName,
HouseBank._Bank.ShortStreetName AS ShortStreetName,
HouseBank._Bank.ShortCityName AS ShortCityName,
HouseBank._Bank.BankBranch AS BankBranch,
HouseBank.PhoneNumber1 AS PhoneNumber1,
HouseBank.TaxID1 AS TaxID1,
HouseBank.ContactPersonName AS ContactPersonName,
case when HouseBank._Bank._BankAdditionalFields.InternalBankCategory is null then cast( ' ' as boolean preserving type ) else cast( 'X' as boolean preserving type ) end AS InstantBalanceIsHidden,
HouseBank.HsBkIsInstantBalanceEnabled AS HsBkIsInstantBalanceEnabled,
HouseBank.CustomerByHouseBank AS CustomerByHouseBank
FROM I_Housebank AS HouseBank
LEFT OUTER JOIN C_HouseBankAccount AS _HouseBankAcct ON CompanyCode = _HouseBankAcct.CompanyCode AND HouseBank = _HouseBankAcct.HouseBank -- association [0..*]
LEFT OUTER JOIN I_CountryText AS _CountryText ON BankCountry = _CountryText.Country AND _CountryText.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
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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