R_NonTechnicalBankAccount

DDL: R_NONTECHNICALBANKACCOUNT Type: view_entity COMPOSITE

Bank Accounts Technical Account Excluded

R_NonTechnicalBankAccount is a Composite CDS View that provides data about "Bank Accounts Technical Account Excluded" in SAP S/4HANA. It reads from 2 data sources (R_BkAcctContractTypeSetting, R_BankAccount) and exposes 18 fields with key field BankAccountInternalID. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
R_BkAcctContractTypeSetting _Setting cross
R_BankAccount Account from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_BankHierBankGroupNameMapping _BankAccountHierarchyNode $projection.BankCountry = _BankAccountHierarchyNode.BankCountry and $projection.BankInternalID = _BankAccountHierarchyNode.BankInternalID

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Bank Accounts Technical Account Excluded view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #COMPOSITE view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY BankAccountInternalID R_BankAccount BankAccountInternalID Technical ID
BankAccountRevision R_BankAccount BankAccountRevision Revision Number
BankCountry R_BankAccount BankCountry Bank Ctry/Rgn. Key
BankInternalID R_BankAccount BankInternalID Bank Key
BankNumber
BankCategory
SWIFTCode
BankGroup
BankAccountNumber R_BankAccount BankAccountNumber Bank Account
BankAccountCurrency R_BankAccount BankAccountCurrency Currency
BankControlKey R_BankAccount BankControlKey Control Key
BankAccountContractType R_BankAccount BankAccountContractType
CompanyCode R_BankAccount CompanyCode Receiver Company Code
BankAccountInternalType R_BankAccount BankAccountInternalType Account Type
BankAccountCharacteristic R_BankAccount BankAccountCharacteristic
BankAccountStatus R_BankAccount BankAccountStatus Account Status
ValidityStartDate R_BankAccount ValidityStartDate Validity Start Date
ValidityEndDate R_BankAccount ValidityEndDate ValidTo

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 R_NonTechnicalBankAccount.
-- 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 R_NonTechnicalBankAccount AS
SELECT
  Account.BankAccountInternalID AS BankAccountInternalID,
  Account.BankAccountRevision AS BankAccountRevision,
  Account.BankCountry AS BankCountry,
  Account.BankInternalID AS BankInternalID,
  Account._Bank.Bank AS BankNumber,
  Account._Bank.BankCategory AS BankCategory,
  Account._Bank.SWIFTCode AS SWIFTCode,
  cast ( _BankAccountHierarchyNode.BankGroup as fclm_bank_group preserving type) AS BankGroup,
  Account.BankAccountNumber AS BankAccountNumber,
  Account.BankAccountCurrency AS BankAccountCurrency,
  Account.BankControlKey AS BankControlKey,
  Account.BankAccountContractType AS BankAccountContractType,
  Account.CompanyCode AS CompanyCode,
  Account.BankAccountInternalType AS BankAccountInternalType,
  Account.BankAccountCharacteristic AS BankAccountCharacteristic,
  Account.BankAccountStatus AS BankAccountStatus,
  Account.ValidityStartDate AS ValidityStartDate,
  Account.ValidityEndDate AS ValidityEndDate
FROM R_BankAccount AS Account
CROSS JOIN R_BkAcctContractTypeSetting AS _Setting
LEFT OUTER JOIN I_BankHierBankGroupNameMapping AS _BankAccountHierarchyNode ON BankCountry = _BankAccountHierarchyNode.BankCountry AND BankInternalID = _BankAccountHierarchyNode.BankInternalID  -- association [0..1]
;