C_BkAcctInstntBalMntrWthReqRsp

DDL: C_BKACCTINSTNTBALMNTRWTHREQRSP Type: view_entity CONSUMPTION Package: FCLM_INSTANT_BALANCE

Bank Account Instant Balance Monitor

C_BkAcctInstntBalMntrWthReqRsp is a Consumption CDS View that provides data about "Bank Account Instant Balance Monitor" in SAP S/4HANA. It reads from 1 data source (I_BkAcctInstntBalanceEnhanced) and exposes 35 fields with key field BankAccountInternalID. It has 3 associations to related views. Part of development package FCLM_INSTANT_BALANCE.

Data Sources (1)

SourceAliasJoin Type
I_BkAcctInstntBalanceEnhanced I_BkAcctInstntBalanceEnhanced from

Associations (3)

CardinalityTargetAliasCondition
[0..1] C_BkAcctInstntBalLtstRequest _BkAcctInstntBalLtstRequest $projection.BankAccountInternalID = _BkAcctInstntBalLtstRequest.BankAccountInternalID
[0..1] C_BkAcctInstntBalLtstResponse _BkAcctInstntBalLtstResponse $projection.BankAccountInternalID = _BkAcctInstntBalLtstResponse.BankAccountInternalID
[0..1] I_InstantBalanceRequestState _InstantBalanceRequestState $projection.InstantBalanceRequestState = _InstantBalanceRequestState.InstantBalanceRequestState

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Bank Account Instant Balance Monitor view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view

Fields (35)

KeyFieldSource TableSource FieldDescription
KEY BankAccountInternalID BankAccountInternalID Technical ID
CompanyCode CompanyCode Receiver Company Code
CompanyCodeName _CompanyCode CompanyCodeName Company Name
HouseBank HouseBank House Bank
HouseBankAccount HouseBankAccount House Bank Account
HouseBankAccountDescription HouseBankAccountDescription
BankAccountNumber BankAccountNumber Bank Account
BankInternalID BankInternalID Bank Key
BankNumber BankNumber Bank Key
BankName _BankData BankName Bank Name
BankCountry BankCountry Bank Ctry/Rgn. Key
CountryName
IBAN IBAN IBAN House Bank
SWIFTCode SWIFTCode SWIFT/BIC
BankAccountCurrency BankAccountCurrency Currency
CurrencyName
BankControlKey BankControlKey Control Key
CustomerByHouseBank CustomerByHouseBank Customer Number
LtstInstntBalResponseNumber _BkAcctInstntBalLtstResponse LtstInstntBalResponseNumber
BkAcctInstantBalanceAmount _BkAcctInstntBalLtstResponse BkAcctInstantBalanceAmount
BkAcctInstantBalanceCurrency _BkAcctInstntBalLtstResponse BkAcctInstantBalanceCurrency
BkAcctInstantBalanceDateTime _BkAcctInstntBalLtstResponse BkAcctInstantBalanceDateTime
LtstInstntBalRspCreatedByUser
LtstInstntBalRspCrtedByUsrDesc
LtstInstntBalRspDateTime
LtstAvailBalReqCrtedByUsr
LtstAvailBalReqCrtedByUsrDesc
LtstAvailInstntBalReqDateTme
LtstInstntBalRequestNumber _BkAcctInstntBalLtstRequest LtstInstntBalRequestNumber
InstantBalanceRequestState
InstntBalReqStateCriticality
LtstInstntBalReqCreatedByUser
LtstInstntBalReqCrtedByUsrDesc
LtstInstntBalReqDateTime
_InstantBalanceRequestState _InstantBalanceRequestState

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_BkAcctInstntBalMntrWthReqRsp.
-- 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_BkAcctInstntBalMntrWthReqRsp AS
SELECT
  BankAccountInternalID,
  CompanyCode,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  HouseBank,
  HouseBankAccount,
  HouseBankAccountDescription,
  BankAccountNumber,
  BankInternalID,
  BankNumber,
  _BankData.BankName AS BankName,
  BankCountry,
  _BankCountry._Text[1: Language = $session.system_language].CountryName AS CountryName,
  IBAN,
  SWIFTCode,
  BankAccountCurrency,
  cast( _Currency._Text[1: Language = $session.system_language].CurrencyName as fclm_ib_acc_blnc_currency_name preserving type ) AS CurrencyName,
  BankControlKey,
  CustomerByHouseBank,
  _BkAcctInstntBalLtstResponse.LtstInstntBalResponseNumber AS LtstInstntBalResponseNumber,
  _BkAcctInstntBalLtstResponse.BkAcctInstantBalanceAmount AS BkAcctInstantBalanceAmount,
  _BkAcctInstntBalLtstResponse.BkAcctInstantBalanceCurrency AS BkAcctInstantBalanceCurrency,
  _BkAcctInstntBalLtstResponse.BkAcctInstantBalanceDateTime AS BkAcctInstantBalanceDateTime,
  cast(_BkAcctInstntBalLtstResponse._InstantBalanceResponseTP.CreatedByUser as fclm_ib_last_resp_created_by preserving type) AS LtstInstntBalRspCreatedByUser,
  cast(_BkAcctInstntBalLtstResponse._InstantBalanceResponseTP._UserCreate.UserDescription as fclm_ib_lst_resp_crtd_by_descr preserving type) AS LtstInstntBalRspCrtedByUsrDesc,
  cast(_BkAcctInstntBalLtstResponse._InstantBalanceResponseTP.CreationDateTime as fclm_ib_last_resp_created_at preserving type) AS LtstInstntBalRspDateTime,
  cast(_BkAcctInstntBalLtstResponse._InstantBalanceRequestTP.CreatedByUser as fclm_ib_last_avail_blnc_req_by preserving type) AS LtstAvailBalReqCrtedByUsr,
  cast(_BkAcctInstntBalLtstResponse._InstantBalanceRequestTP._UserCreate.UserDescription as fclm_ib_lst_avail_req_by_desc preserving type) AS LtstAvailBalReqCrtedByUsrDesc,
  cast(_BkAcctInstntBalLtstResponse._InstantBalanceRequestTP.CreationDateTime as fclm_ib_last_avail_blnc_req_at preserving type) AS LtstAvailInstntBalReqDateTme,
  _BkAcctInstntBalLtstRequest.LtstInstntBalRequestNumber AS LtstInstntBalRequestNumber,
  cast(coalesce(_BkAcctInstntBalLtstRequest._InstantBalanceRequestTP.InstantBalanceRequestState, '00') as fclm_ib_current_update_status preserving type) AS InstantBalanceRequestState,
  _BkAcctInstntBalLtstRequest._InstantBalanceRequestTP._InstantBalanceRequestState._Criticality.InstntBalReqStateCriticality AS InstntBalReqStateCriticality,
  cast(_BkAcctInstntBalLtstRequest._InstantBalanceRequestTP.CreatedByUser as fclm_ib_lst_request_created_by preserving type) AS LtstInstntBalReqCreatedByUser,
  cast(_BkAcctInstntBalLtstRequest._InstantBalanceRequestTP._UserCreate.UserDescription as fclm_ib_last_req_crted_by_desc preserving type) AS LtstInstntBalReqCrtedByUsrDesc,
  cast(_BkAcctInstntBalLtstRequest._InstantBalanceRequestTP.CreationDateTime as fclm_ib_last_req_created_at preserving type) AS LtstInstntBalReqDateTime
FROM I_BkAcctInstntBalanceEnhanced
LEFT OUTER JOIN C_BkAcctInstntBalLtstRequest AS _BkAcctInstntBalLtstRequest ON BankAccountInternalID = _BkAcctInstntBalLtstRequest.BankAccountInternalID  -- association [0..1]
LEFT OUTER JOIN C_BkAcctInstntBalLtstResponse AS _BkAcctInstntBalLtstResponse ON BankAccountInternalID = _BkAcctInstntBalLtstResponse.BankAccountInternalID  -- association [0..1]
LEFT OUTER JOIN I_InstantBalanceRequestState AS _InstantBalanceRequestState ON InstantBalanceRequestState = _InstantBalanceRequestState.InstantBalanceRequestState  -- association [0..1]
;