I_BankAccountInstantBalance

DDL: I_BANKACCOUNTINSTANTBALANCE Type: view_entity COMPOSITE

Bank Account Instant Balance

I_BankAccountInstantBalance is a Composite CDS View that provides data about "Bank Account Instant Balance" in SAP S/4HANA. It reads from 1 data source (I_BkAcctWthOneHouseBankAccount) and exposes 12 fields with key field BankAccountInternalID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BkAcctWthOneHouseBankAccount I_BkAcctWthOneHouseBankAccount from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_HouseBankAccount _HouseBankAccount $projection.CompanyCode = _HouseBankAccount.CompanyCode and $projection.HouseBank = _HouseBankAccount.HouseBank and $projection.HouseBankAccount = _HouseBankAccount.HouseBankAccount
[0..1] I_BankAccount _BankAccount $projection.BankAccountInternalID = _BankAccount.BankAccountInternalID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Bank Account Instant Balance view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY BankAccountInternalID I_BkAcctWthOneHouseBankAccount BankAccountInternalID Technical ID
CompanyCode I_BkAcctWthOneHouseBankAccount CompanyCode Receiver Company Code
HouseBank I_BkAcctWthOneHouseBankAccount HouseBank House Bank
HouseBankAccount I_BkAcctWthOneHouseBankAccount HouseBankAccount House Bank Account
BkAcctIsInstantBalanceEnabled I_BkAcctInstantBalanceBasic BkAcctIsInstantBalanceEnabled
HsBkIsInstantBalanceEnabled
CreatedByUser I_BkAcctInstantBalanceBasic CreatedByUser User Name
CreationDateTime I_BkAcctInstantBalanceBasic CreationDateTime Timestamp
LastChangedByUser I_BkAcctInstantBalanceBasic LastChangedByUser User Name
LastChangeDateTime I_BkAcctInstantBalanceBasic LastChangeDateTime Timestamp
_HouseBankAccount _HouseBankAccount
BankAccountContractType _BankAccount BankAccountContractType

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_BankAccountInstantBalance.
-- 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 I_BankAccountInstantBalance AS
SELECT
  I_BkAcctWthOneHouseBankAccount.BankAccountInternalID AS BankAccountInternalID,
  I_BkAcctWthOneHouseBankAccount.CompanyCode AS CompanyCode,
  I_BkAcctWthOneHouseBankAccount.HouseBank AS HouseBank,
  I_BkAcctWthOneHouseBankAccount.HouseBankAccount AS HouseBankAccount,
  I_BkAcctInstantBalanceBasic.BkAcctIsInstantBalanceEnabled AS BkAcctIsInstantBalanceEnabled,
  _HouseBankAccount._HouseBank.HsBkIsInstantBalanceEnabled AS HsBkIsInstantBalanceEnabled,
  I_BkAcctInstantBalanceBasic.CreatedByUser AS CreatedByUser,
  I_BkAcctInstantBalanceBasic.CreationDateTime AS CreationDateTime,
  I_BkAcctInstantBalanceBasic.LastChangedByUser AS LastChangedByUser,
  I_BkAcctInstantBalanceBasic.LastChangeDateTime AS LastChangeDateTime,
  _BankAccount.BankAccountContractType AS BankAccountContractType
FROM I_BkAcctWthOneHouseBankAccount
LEFT OUTER JOIN I_HouseBankAccount AS _HouseBankAccount ON CompanyCode = _HouseBankAccount.CompanyCode AND HouseBank = _HouseBankAccount.HouseBank AND HouseBankAccount = _HouseBankAccount.HouseBankAccount  -- association [0..1]
LEFT OUTER JOIN I_BankAccount AS _BankAccount ON BankAccountInternalID = _BankAccount.BankAccountInternalID  -- association [0..1]
;