C_HouseBankAccount
House Bank Acct Factsheet
C_HouseBankAccount is a Consumption CDS View that provides data about "House Bank Acct Factsheet" in SAP S/4HANA. It reads from 1 data source (I_Bankaccountlinkage) and exposes 22 fields with key fields CompanyCode, HouseBank, HouseBankAccount. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Bankaccountlinkage | HouseBankAcct | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BankAccount | _BankAccount | $projection.BankAccountInternalID = _BankAccount.BankAccountInternalID |
| [0..1] | I_HouseBankAccountText | _Text | $projection.CompanyCode = _Text.CompanyCode and $projection.HouseBank = _Text.HouseBank and $projection.HouseBankAccount = _Text.HouseBankAccount and _Text.Language = $session.system_language association[0..*] to C_HierRuntimeRprstnDplLeafNode as _GLAccountHierLeafNode on $projection.glaccount = _GLAccountHierLeafNode.UnivHierarchyBusinessEntity and $projection.chartofaccounts = _GLAccountHierLeafNode.HierarchyNodeClass and _GLAccountHierLeafNode.ValidityStartDate <= $session.system_date and _GLAccountHierLeafNode.ValidityEndDate >= $session.system_date and _GLAccountHierLeafNode.HierarchyType = 'FSVN' |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CHBACCT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | House Bank Acct Factsheet | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #CONSUMPTION | view | |
| UI.headerInfo.typeName | House Bank Account | view | |
| UI.headerInfo.typeNamePlural | House Bank Account | view | |
| UI.headerInfo.title.label | House Bank Account | view | |
| UI.headerInfo.title.value | HouseBankAccount | view | |
| UI.headerInfo.description.label | House Bank | view | |
| UI.headerInfo.description.value | HouseBankAccountDescription | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Consumption.semanticObject | HouseBankAccount | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_Bankaccountlinkage | CompanyCode | Receiver Company Code |
| KEY | HouseBank | I_Bankaccountlinkage | HouseBank | House Bank |
| KEY | HouseBankAccount | I_Bankaccountlinkage | HouseBankAccount | House Bank Account |
| HouseBankAccountDescription | House Bank Account Description | |||
| BankAccountInternalID | I_Bankaccountlinkage | BankAccountInternalID | Technical ID | |
| BankAccountCurrency | ||||
| BankAccount | I_Bankaccountlinkage | BankAccount | Bank acct | |
| BankAccountAlternative | I_Bankaccountlinkage | BankAccountAlternative | Alternative Bank Account Number | |
| GLAccount | ||||
| GLAccountHierarchy | ||||
| GLAccountHierarchyNode | ||||
| ChartOfAccounts | ||||
| CompanyCodeName | ||||
| BankCountry | ||||
| CountryName | Bank Country/Region Name | |||
| Bank | ||||
| BankName | ||||
| IBAN | _BankAccount | IBAN | IBAN House Bank | |
| PaymentTransactionTypeGroup | _BankAccount | PaymentTransactionTypeGroup | Transaction Type | |
| DataMedExchangeIdentification | I_Bankaccountlinkage | DataMedExchangeIdentification | DME Identification | |
| ReferenceInfo | I_Bankaccountlinkage | ReferenceInfo | Reference Information | |
| _GLAccountHierLeafNode | _GLAccountHierLeafNode |
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_HouseBankAccount.
-- 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: CHBACCT
CREATE VIEW C_HouseBankAccount AS
SELECT
HouseBankAcct.CompanyCode AS CompanyCode,
HouseBankAcct.HouseBank AS HouseBank,
HouseBankAcct.HouseBankAccount AS HouseBankAccount,
cast ( _Text.HouseBankAccountDescription as fclm_bam_description ) AS HouseBankAccountDescription,
HouseBankAcct.BankAccountInternalID AS BankAccountInternalID,
_BankAccount._BankAccountCurrency.BankAccountCurrency AS BankAccountCurrency,
HouseBankAcct.BankAccount AS BankAccount,
HouseBankAcct.BankAccountAlternative AS BankAccountAlternative,
HouseBankAcct._HouseBankAccount.GLAccount AS GLAccount,
cast('' as fis_glaccthier) AS GLAccountHierarchy,
cast('' as fis_glacct_hrynid_50) AS GLAccountHierarchyNode,
HouseBankAcct._CompanyCode.ChartOfAccounts AS ChartOfAccounts,
HouseBankAcct._CompanyCode.CompanyCodeName AS CompanyCodeName,
HouseBankAcct._HouseBank.BankCountry AS BankCountry,
_BankAccount._BankCountry._Text[Language = $session.system_language].CountryName AS CountryName,
HouseBankAcct._HouseBank.BankInternalID AS Bank,
HouseBankAcct._HouseBank._Bank.BankName AS BankName,
_BankAccount.IBAN AS IBAN,
_BankAccount.PaymentTransactionTypeGroup AS PaymentTransactionTypeGroup,
HouseBankAcct.DataMedExchangeIdentification AS DataMedExchangeIdentification,
HouseBankAcct.ReferenceInfo AS ReferenceInfo
FROM I_Bankaccountlinkage AS HouseBankAcct
LEFT OUTER JOIN I_BankAccount AS _BankAccount ON BankAccountInternalID = _BankAccount.BankAccountInternalID -- association [0..1]
LEFT OUTER JOIN I_HouseBankAccountText AS _Text ON CompanyCode = _Text.CompanyCode AND HouseBank = _Text.HouseBank AND HouseBankAccount = _Text.HouseBankAccount AND _Text.Language = $session.system_language association[0..*] to C_HierRuntimeRprstnDplLeafNode as _GLAccountHierLeafNode on glaccount = _GLAccountHierLeafNode.UnivHierarchyBusinessEntity AND chartofaccounts = _GLAccountHierLeafNode.HierarchyNodeClass AND _GLAccountHierLeafNode.ValidityStartDate <= $session.system_date AND _GLAccountHierLeafNode.ValidityEndDate >= $session.system_date AND _GLAccountHierLeafNode.HierarchyType = 'FSVN' -- 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