C_BankAccountTP

DDL: C_BANKACCOUNTTP Type: view CONSUMPTION

Bank Account Administrative Data

C_BankAccountTP is a Consumption CDS View that provides data about "Bank Account Administrative Data" in SAP S/4HANA. It reads from 1 data source (I_BankAccountTP) and exposes 202 fields with key fields BankAccountInternalID, BankAccountRevision. It has 17 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BankAccountTP Account from

Associations (17)

CardinalityTargetAliasCondition
[0..*] C_BankAccSignatureTP _AccountSignature $projection.BankAccountInternalID = _AccountSignature.BankAccountInternalID and $projection.BankAccountRevision = _AccountSignature.BankAccountRevision
[0..*] C_BankAccHouseBankAccTP _AccountConnectivePath $projection.BankAccountInternalID = _AccountConnectivePath.BankAccountInternalID and $projection.BankAccountRevision = _AccountConnectivePath.BankAccountRevision
[0..*] C_BankAccLimitTP _AccountOverDraftLimit $projection.BankAccountInternalID = _AccountOverDraftLimit.BankAccountInternalID and $projection.BankAccountRevision = _AccountOverDraftLimit.BankAccountRevision
[0..*] C_BankAccTextTP _AccountText $projection.BankAccountInternalID = _AccountText.BankAccountInternalID and $projection.BankAccountRevision = _AccountText.BankAccountRevision
[0..1] I_BankAccRevisionStatus _BankAccRevisionStatus $projection.BankAccountRevisionStatus = _BankAccRevisionStatus.BankAccountRevisionStatus and _BankAccRevisionStatus.Language = $session.system_language
[0..*] C_BankAccCashPoolTP _AccountCashPool $projection.BankAccountInternalID = _AccountCashPool.BankAccountInternalID and $projection.BankAccountRevision = _AccountCashPool.BankAccountRevision
[0..1] I_BankAcctNumberVH _BankAcctNumberVH $projection.BankAccountInternalID = _BankAcctNumberVH.BankAccountInternalID and $projection.BankCountry = _BankAcctNumberVH.BankCountry and $projection.Bank = _BankAcctNumberVH.Bank and $projection.BankAccountCurrency = _BankAcctNumberVH.BankAccountCurrency and $projection.BankAccount = _BankAcctNumberVH.BankAccountNumber
[0..1] C_BkAcctImportingChnlVH _BkAcctImportingChnlVH $projection.BankStatementImportChannel = _BkAcctImportingChnlVH.BankStatementImportChannel
[0..1] C_BkAcctIntvlUnitVH _BkAcctIntvlUnitVH $projection.ControlFrequency = _BkAcctIntvlUnitVH.ControlFrequency
[0..1] I_CurrencyStdVH _CurrencyVH $projection.BankAccountCurrency = _CurrencyVH.Currency
[0..1] C_FactoryCalendarValueHelp _FactoryCalendarText $projection.FactoryCalendar = _FactoryCalendarText.FactoryCalendar
[0..*] I_PlanningLevelText _PlanningLevelText $projection.PlanningLevel = _PlanningLevelText.PlanningLevel
[0..*] I_IntraBkStaRuleText _AcctLevelIntraRuleText $projection.IntraBkStaRuleExternalID = _AcctLevelIntraRuleText.IntraBkStaRuleExternalID
[0..*] I_PaymentTransactionTypeGroupT _PaymentTransactionTypeGroupT $projection.PaymentTransactionTypeGroup = _PaymentTransactionTypeGroupT.PaymentTransactionTypeGroup
[0..1] I_BankAcctContrTypeText _ContractTypeText $projection.BankAccountContractType = _ContractTypeText.BankAccountContractType and _ContractTypeText.Language = $session.system_language
[0..*] C_HierRuntimeRprstnDplLeafNode _ProfitCenterHierLeafNode $projection.ProfitCenter = _ProfitCenterHierLeafNode.UnivHierarchyBusinessEntity and $projection.ControllingArea = _ProfitCenterHierLeafNode.HierarchyNodeClass and _ProfitCenterHierLeafNode.ValidityStartDate <= $session.system_date and _ProfitCenterHierLeafNode.ValidityEndDate >= $session.system_date and _ProfitCenterHierLeafNode.HierarchyType = '0101'
[0..*] C_HierRuntimeRprstnDplLeafNode _GLAccountHierLeafNode $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 (21)

NameValueLevelField
AbapCatalog.sqlViewName CBANKACCOUNTTP view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Bank Account Administrative Data view
VDM.viewType #CONSUMPTION view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.draftEnabled true view
ObjectModel.createEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.representativeKey BankAccountInternalID view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
Metadata.allowExtensions true view
Consumption.semanticObject BankAccount view
AbapCatalog.preserveKey true view

Fields (202)

KeyFieldSource TableSource FieldDescription
KEY BankAccountInternalID BankAccountInternalID Technical ID
KEY BankAccountRevision BankAccountRevision Revision Number
BankAccountUniqueID BankAccountUniqueID
ArchObjectNumber ArchObjectNumber Text Name
BankAccount BankAccount Bank acct
BankAccountDescription BankAccountDescription
Bank Bank Bank Number
BankName BankName Bank Name
BankCountry BankCountry Bank Ctry/Rgn. Key
CountryName CountryName Country
CompanyCode CompanyCode Receiver Company Code
CompanyCodeCountry CompanyCodeCountry Reporting Ctry/Reg.
CompanyCodeName CompanyCodeName Company Name
CompanyCodeCurrency CompanyCodeCurrency Local Currency
BankAccountType BankAccountType Account Type
BankAccountContractType BankAccountContractType
BankAccountContractTypeName _ContractTypeText BankAccountContractTypeName
BankAccountCurrency BankAccountCurrency Currency
BankAccountStatus BankAccountStatus Account Status
BankAccountStatusName _BankAccountStatus BankAccountStatusName Status Description
BankAccountRevisionStatus BankAccountRevisionStatus
HouseBank HouseBank House Bank
HouseBankAccount HouseBankAccount House Bank Account
GLAccount GLAccount General Ledger
IBAN IBAN IBAN House Bank
IBANValidityStartDate IBANValidityStartDate IBAN Valid From
ControllingArea ControllingArea Controlling Area
ControllingAreaName _ControllingArea ControllingAreaName Long Text
ProfitCenter ProfitCenter Profit Center
BusinessArea BusinessArea Business Area
BusinessAreaName _BusinessAreaText BusinessAreaName Business Area Name
Segment Segment Segment number
SegmentName _SegmentText SegmentName Segment Name
BankAccountHolderName BankAccountHolderName Account Holder
BankRelationshipManager BankRelationshipManager Relationship Manager
BankRelationshipManagerName _BankRelationshipManager BusinessPartnerFullName Broker Name
CompanyContactPerson CompanyContactPerson Contact Person
CompanyContactPersonFullName _CompanyContactPerson FullName Name
BankContactPerson BankContactPerson General Contact
BankContactPersonName _GeneralContact BusinessPartnerFullName Broker Name
BankAccountSupervisor BankAccountSupervisor Account Supervisor
BankAccountSupervisorFullName _BankAccountSupervisor FullName Name
IHBAccountHolder IHBAccountHolder Busn. Partner
IHBAccountHolderName _IHBAccountHolder BusinessPartnerFullName Broker Name
BankNumber BankNumber Bank Key
SWIFTCode SWIFTCode SWIFT/BIC
BankControlKey BankControlKey Control Key
BankGroup BankGroup
BankNetworkGrouping BankNetworkGrouping
Region Region Venue Region
RegionName _RegionText RegionName Description
StreetName StreetName Text
ShortStreetName ShortStreetName
CityName CityName Name
ShortCityName ShortCityName
Branch Branch Repository branch
BankBranch BankBranch
BankIntraStatRuleExternalID BankIntraStatRuleExternalID
CreatedByUser CreatedByUser User Name
AddressID I_BankAccountTP AddressID Ship-to address
OpenedByUser OpenedByUser Opened By
LastChangedByUser LastChangedByUser User Name
ClosedByUser ClosedByUser Closed By
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
DomesticCutOffTime DomesticCutOffTime Cut-Off Domestic
CrossBorderCutOffTime CrossBorderCutOffTime Cut-Off Cross Border
PlannedClosingDate PlannedClosingDate Planned Closing
ValidityEndDate ValidityEndDate ValidTo
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
BankAccountCreatedDateTime BankAccountCreatedDateTime
ValidityStartDate ValidityStartDate Validity Start Date
OpenedDate OpenedDate Opened On
OpenedTime OpenedTime Opened At
BankAccountOpenedDateTime BankAccountOpenedDateTime
LastChangeDate LastChangeDate Time Stamp
LastChangeTime LastChangeTime Time changed
BankAccountLastChangedDateTime BankAccountLastChangedDateTime
BankAccountLastReviewDate BankAccountLastReviewDate
ClosedDate ClosedDate Closed On
ClosedTime ClosedTime Closed At
BankAccountClosedDateTime BankAccountClosedDateTime
IsUploadOfIntraDayStatement IsUploadOfIntraDayStatement Intraday Upload
IntraBkStaRuleExternalID IntraBkStaRuleExternalID Intraday Stmts Rule
IntraDayBankStateImportMethod IntraDayBankStateImportMethod Intraday
BankStatementImportMethod BankStatementImportMethod EoD
EndOfDayIsReconciled EndOfDayIsReconciled Reconcile End-of-Day
BankStatementImportChannel BankStatementImportChannel Importing Channel
OutputChannelDescription _BkAcctImportingChnlVH OutputChannelDescription
BankStatementCheckTime BankStatementCheckTime Check Time
PaymentTransactionTypeGroup PaymentTransactionTypeGroup Payment Transaction Type Group
ProcessingStatus ProcessingStatus Worklist Status
DifferenceStatus DifferenceStatus Difference Sts
SerialNumberStatus SerialNumberStatus Serial No. Sts
ReconciliationStatus ReconciliationStatus Reconcil. Sts
ExpectedInterval ExpectedInterval Interval
ControlFrequency ControlFrequency Interval Unit
FrequencyDescription _BkAcctIntvlUnitVH FrequencyDescription
FactoryCalendar FactoryCalendar Factory Calendar
DisplayItem DisplayItem
DifferenceAmount DifferenceAmount Amount Difference in Foreign Currency
LeadingCashPoolID LeadingCashPoolID Cash Pool Name
LeadingCashPoolDesc LeadingCashPoolDesc
LeadingPaymentMethod LeadingPaymentMethod Payment Method
LeadingPaymentMethodName _LeadingPaymentMethod PaymentMethodName Text
ParticipantCashPoolID ParticipantCashPoolID Cash Pool Name
ParticipantCashPoolDesc ParticipantCashPoolDesc
CashPoolCurrency CashPoolCurrency Transaction Currency
MaxTargetAmount MaxTargetAmount Target Balance
MinTransferAmount MinTransferAmount Min.Transfer Amount
MaxTransferAmount MaxTransferAmount Max.Transfer Amount
Note Note TradeRequest Comment
ParticipantPaymentMethod ParticipantPaymentMethod Payment Method
ParticipantPaymentMethodName _ParticipantPaymentMethod PaymentMethodName Text
WithToBeActivatedRevision WithToBeActivatedRevision
WithToBeVerifiedRevision WithToBeVerifiedRevision
WithToBeActivatedRevisionText _RevisionForVerifyText WithToBeActivatedRevisionText
InWorkflowProcess InWorkflowProcess
RevisionWithWorkflow RevisionWithWorkflow
BankAccountAction BankAccountAction
CreatedByUserDescription _CreatedBy FullName Name
OpenedByUserFullName _OpenedBy FullName Name
ClosedByUserFullName _ClosedBy FullName Name
LastChangedByUserFullName _LastChangedBy FullName Name
PaymentServiceProvider PaymentServiceProvider Payt Srvc Provider
CAProviderContractName _BkAcctPaytSrvcPrvdr CAProviderContractName
CashToleranceGroup CashToleranceGroup Tolerance Group
IntradayIsReconciled IntradayIsReconciled Reconcile Intraday
PlanningLevel PlanningLevel Planning Level
BankStmntReconciliationGrp BankStmntReconciliationGrp Bank Statement Group
BankStmntReconciliationGrpName BankStmntReconciliationGrpName
BankAcctWorkflowNote BankAcctWorkflowNote
OpenNewBankAccountRequest OpenNewBankAccountRequest Request ID
BankStatementPostingType BankStatementPostingType
BankStatementPostingTypeText _BankAccountSetting BankStatementPostingTypeText
BankStatementTransferMode BankStatementTransferMode
BankStatementTransferModeText _BankAccountSetting BankStatementTransferModeText
BankStatementForwardingType BankStatementForwardingType
BankStatementForwardingText _BankAccountSetting BankStatementForwardingText
IntradayBankStatementPosting IntradayBankStatementPosting
IntradayBkStatementPostingText _BankAccountSetting IntradayBkStatementPostingText
InternalAPIBalanceIsEnabled InternalAPIBalanceIsEnabled
ExcelImportBalanceIsEnabled ExcelImportBalanceIsEnabled
ManualInputBalanceIsEnabled ManualInputBalanceIsEnabled
BankAccountActivatedSequence BankAccountActivatedSequence
BankAcctWorkflowNoteFieldCtrl BankAcctWorkflowNoteFieldCtrl
BankRelationshipSecIsHidden BankRelationshipSecIsHidden
CashPoolSecIsHidden CashPoolSecIsHidden
OverdraftLimitSecIsHidden OverdraftLimitSecIsHidden
PaymentApproverSecIsHidden PaymentApproverSecIsHidden
BkCorrespncSecIsHidden BkCorrespncSecIsHidden
AttachmentSecIsHidden AttachmentSecIsHidden
MultiLanguageDescSecIsHidden MultiLanguageDescSecIsHidden
HsBkAcctConnectivitySctnIsHidn HsBkAcctConnectivitySctnIsHidn
AccountDocumentSecIsHidden AccountDocumentSecIsHidden
ActnActvtRevisionIsEnbld ActnActvtRevisionIsEnbld
BankAcctClosingDateFieldCtrl BankAcctClosingDateFieldCtrl
ActnRevertClosingInSystIsEnbld ActnRevertClosingInSystIsEnbld
BankAcctPostingBlkDateFldCtrl BankAcctPostingBlkDateFldCtrl
ActnRetToPreviousStatusIsEnbld ActnRetToPreviousStatusIsEnbld
BkAcctBackActnNoteFldCtrl BkAcctBackActnNoteFldCtrl
BankAccountActionActivation BankAccountActionActivation
ActionRestoreIsEnabled ActionRestoreIsEnabled
BankAccountIsModifyInRestore BankAccountIsModifyInRestore
BankAccountRevisionIsNotZero BankAccountRevisionIsNotZero
ProfitCenterHierarchy
ProfitCenterHierarchyNode
ChartOfAccounts ChartOfAccounts Node Class
GLAccountHierarchy
GLAccountHierarchyNode
_BkAcctIntvlUnitVH _BkAcctIntvlUnitVH
_BankAcctNumberVH _BankAcctNumberVH
_CurrencyVH _CurrencyVH
_BkAcctImportingChnlVH _BkAcctImportingChnlVH
_BkAcctPaytSrvcPrvdr _BkAcctPaytSrvcPrvdr
_Bank _Bank
_Address _Address
_CompanyCode _CompanyCode
_ControllingArea _ControllingArea
_BankAccountType _BankAccountType
_ContractType _ContractType
_BankAccountStatus _BankAccountStatus
_BankAccRevisionStatus _BankAccRevisionStatus
_AccountTextInCurrentLang _AccountTextInCurrentLang
_AccountCashPool _AccountCashPool
_RevisionForActivatingText _RevisionForActivatingText
_RevisionForVerifyText _RevisionForVerifyText
_BankAccInWorkFlowText _BankAccInWorkFlowText
_LeadingCashPoolMgmt _LeadingCashPoolMgmt
_ParticipantCashPoolMgmt _ParticipantCashPoolMgmt
_CompanyCountryText _CompanyCountryText
_FactoryCalendarText _FactoryCalendarText
_PlanningLevelText _PlanningLevelText
_AcctLevelIntraRuleText _AcctLevelIntraRuleText
_PaymentTransactionTypeGroupT _PaymentTransactionTypeGroupT
_ProfitCenterText _ProfitCenterText
_ProfitCenterHierLeafNode _ProfitCenterHierLeafNode
_GLAccountHierLeafNode _GLAccountHierLeafNode
_AccountOverDraftLimit _AccountOverDraftLimit
_AccountSignature _AccountSignature
_AccountConnectivePath _AccountConnectivePath
_AccountText _AccountText

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_BankAccountTP.
-- 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_BankAccountTP AS
SELECT
  BankAccountInternalID,
  BankAccountRevision,
  BankAccountUniqueID,
  ArchObjectNumber,
  BankAccount,
  BankAccountDescription,
  Bank,
  BankName,
  BankCountry,
  CountryName,
  CompanyCode,
  CompanyCodeCountry,
  CompanyCodeName,
  CompanyCodeCurrency,
  BankAccountType,
  BankAccountContractType,
  _ContractTypeText.BankAccountContractTypeName AS BankAccountContractTypeName,
  BankAccountCurrency,
  BankAccountStatus,
  _BankAccountStatus.BankAccountStatusName AS BankAccountStatusName,
  BankAccountRevisionStatus,
  HouseBank,
  HouseBankAccount,
  GLAccount,
  IBAN,
  IBANValidityStartDate,
  ControllingArea,
  _ControllingArea.ControllingAreaName AS ControllingAreaName,
  ProfitCenter,
  BusinessArea,
  _BusinessAreaText.BusinessAreaName AS BusinessAreaName,
  Segment,
  _SegmentText.SegmentName AS SegmentName,
  BankAccountHolderName,
  BankRelationshipManager,
  _BankRelationshipManager.BusinessPartnerFullName AS BankRelationshipManagerName,
  CompanyContactPerson,
  _CompanyContactPerson.FullName AS CompanyContactPersonFullName,
  BankContactPerson,
  _GeneralContact.BusinessPartnerFullName AS BankContactPersonName,
  BankAccountSupervisor,
  _BankAccountSupervisor.FullName AS BankAccountSupervisorFullName,
  IHBAccountHolder,
  _IHBAccountHolder.BusinessPartnerFullName AS IHBAccountHolderName,
  BankNumber,
  SWIFTCode,
  BankControlKey,
  BankGroup,
  BankNetworkGrouping,
  Region,
  _RegionText.RegionName AS RegionName,
  StreetName,
  ShortStreetName,
  CityName,
  ShortCityName,
  Branch,
  BankBranch,
  BankIntraStatRuleExternalID,
  CreatedByUser,
  Account.AddressID AS AddressID,
  OpenedByUser,
  LastChangedByUser,
  ClosedByUser,
  IsMarkedForDeletion,
  DomesticCutOffTime,
  CrossBorderCutOffTime,
  PlannedClosingDate,
  ValidityEndDate,
  CreationDate,
  CreationTime,
  BankAccountCreatedDateTime,
  ValidityStartDate,
  OpenedDate,
  OpenedTime,
  BankAccountOpenedDateTime,
  LastChangeDate,
  LastChangeTime,
  BankAccountLastChangedDateTime,
  BankAccountLastReviewDate,
  ClosedDate,
  ClosedTime,
  BankAccountClosedDateTime,
  IsUploadOfIntraDayStatement,
  IntraBkStaRuleExternalID,
  IntraDayBankStateImportMethod,
  BankStatementImportMethod,
  EndOfDayIsReconciled,
  BankStatementImportChannel,
  _BkAcctImportingChnlVH.OutputChannelDescription AS OutputChannelDescription,
  BankStatementCheckTime,
  PaymentTransactionTypeGroup,
  ProcessingStatus,
  DifferenceStatus,
  SerialNumberStatus,
  ReconciliationStatus,
  ExpectedInterval,
  ControlFrequency,
  _BkAcctIntvlUnitVH.FrequencyDescription AS FrequencyDescription,
  FactoryCalendar,
  DisplayItem,
  DifferenceAmount,
  LeadingCashPoolID,
  LeadingCashPoolDesc,
  LeadingPaymentMethod,
  _LeadingPaymentMethod.PaymentMethodName AS LeadingPaymentMethodName,
  ParticipantCashPoolID,
  ParticipantCashPoolDesc,
  CashPoolCurrency,
  MaxTargetAmount,
  MinTransferAmount,
  MaxTransferAmount,
  Note,
  ParticipantPaymentMethod,
  _ParticipantPaymentMethod.PaymentMethodName AS ParticipantPaymentMethodName,
  WithToBeActivatedRevision,
  WithToBeVerifiedRevision,
  _RevisionForVerifyText.WithToBeActivatedRevisionText AS WithToBeActivatedRevisionText,
  InWorkflowProcess,
  RevisionWithWorkflow,
  BankAccountAction,
  _CreatedBy.FullName AS CreatedByUserDescription,
  _OpenedBy.FullName AS OpenedByUserFullName,
  _ClosedBy.FullName AS ClosedByUserFullName,
  _LastChangedBy.FullName AS LastChangedByUserFullName,
  PaymentServiceProvider,
  _BkAcctPaytSrvcPrvdr.CAProviderContractName AS CAProviderContractName,
  CashToleranceGroup,
  IntradayIsReconciled,
  PlanningLevel,
  BankStmntReconciliationGrp,
  BankStmntReconciliationGrpName,
  BankAcctWorkflowNote,
  OpenNewBankAccountRequest,
  BankStatementPostingType,
  _BankAccountSetting.BankStatementPostingTypeText AS BankStatementPostingTypeText,
  BankStatementTransferMode,
  _BankAccountSetting.BankStatementTransferModeText AS BankStatementTransferModeText,
  BankStatementForwardingType,
  _BankAccountSetting.BankStatementForwardingText AS BankStatementForwardingText,
  IntradayBankStatementPosting,
  _BankAccountSetting.IntradayBkStatementPostingText AS IntradayBkStatementPostingText,
  InternalAPIBalanceIsEnabled,
  ExcelImportBalanceIsEnabled,
  ManualInputBalanceIsEnabled,
  BankAccountActivatedSequence,
  BankAcctWorkflowNoteFieldCtrl,
  BankRelationshipSecIsHidden,
  CashPoolSecIsHidden,
  OverdraftLimitSecIsHidden,
  PaymentApproverSecIsHidden,
  BkCorrespncSecIsHidden,
  AttachmentSecIsHidden,
  MultiLanguageDescSecIsHidden,
  HsBkAcctConnectivitySctnIsHidn,
  AccountDocumentSecIsHidden,
  ActnActvtRevisionIsEnbld,
  BankAcctClosingDateFieldCtrl,
  ActnRevertClosingInSystIsEnbld,
  BankAcctPostingBlkDateFldCtrl,
  ActnRetToPreviousStatusIsEnbld,
  BkAcctBackActnNoteFldCtrl,
  BankAccountActionActivation,
  ActionRestoreIsEnabled,
  BankAccountIsModifyInRestore,
  BankAccountRevisionIsNotZero,
  cast('' as fis_prctr_hryid_42) AS ProfitCenterHierarchy,
  cast('' as fis_prctr_hrynid_50) AS ProfitCenterHierarchyNode,
  ChartOfAccounts,
  cast('' as fis_glaccthier) AS GLAccountHierarchy,
  cast('' as fis_glacct_hrynid_50) AS GLAccountHierarchyNode
FROM I_BankAccountTP AS Account
LEFT OUTER JOIN C_BankAccSignatureTP AS _AccountSignature ON BankAccountInternalID = _AccountSignature.BankAccountInternalID AND BankAccountRevision = _AccountSignature.BankAccountRevision  -- association [0..*]
LEFT OUTER JOIN C_BankAccHouseBankAccTP AS _AccountConnectivePath ON BankAccountInternalID = _AccountConnectivePath.BankAccountInternalID AND BankAccountRevision = _AccountConnectivePath.BankAccountRevision  -- association [0..*]
LEFT OUTER JOIN C_BankAccLimitTP AS _AccountOverDraftLimit ON BankAccountInternalID = _AccountOverDraftLimit.BankAccountInternalID AND BankAccountRevision = _AccountOverDraftLimit.BankAccountRevision  -- association [0..*]
LEFT OUTER JOIN C_BankAccTextTP AS _AccountText ON BankAccountInternalID = _AccountText.BankAccountInternalID AND BankAccountRevision = _AccountText.BankAccountRevision  -- association [0..*]
LEFT OUTER JOIN I_BankAccRevisionStatus AS _BankAccRevisionStatus ON BankAccountRevisionStatus = _BankAccRevisionStatus.BankAccountRevisionStatus AND _BankAccRevisionStatus.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN C_BankAccCashPoolTP AS _AccountCashPool ON BankAccountInternalID = _AccountCashPool.BankAccountInternalID AND BankAccountRevision = _AccountCashPool.BankAccountRevision  -- association [0..*]
LEFT OUTER JOIN I_BankAcctNumberVH AS _BankAcctNumberVH ON BankAccountInternalID = _BankAcctNumberVH.BankAccountInternalID AND BankCountry = _BankAcctNumberVH.BankCountry AND Bank = _BankAcctNumberVH.Bank AND BankAccountCurrency = _BankAcctNumberVH.BankAccountCurrency AND BankAccount = _BankAcctNumberVH.BankAccountNumber  -- association [0..1]
LEFT OUTER JOIN C_BkAcctImportingChnlVH AS _BkAcctImportingChnlVH ON BankStatementImportChannel = _BkAcctImportingChnlVH.BankStatementImportChannel  -- association [0..1]
LEFT OUTER JOIN C_BkAcctIntvlUnitVH AS _BkAcctIntvlUnitVH ON ControlFrequency = _BkAcctIntvlUnitVH.ControlFrequency  -- association [0..1]
LEFT OUTER JOIN I_CurrencyStdVH AS _CurrencyVH ON BankAccountCurrency = _CurrencyVH.Currency  -- association [0..1]
LEFT OUTER JOIN C_FactoryCalendarValueHelp AS _FactoryCalendarText ON FactoryCalendar = _FactoryCalendarText.FactoryCalendar  -- association [0..1]
LEFT OUTER JOIN I_PlanningLevelText AS _PlanningLevelText ON PlanningLevel = _PlanningLevelText.PlanningLevel  -- association [0..*]
LEFT OUTER JOIN I_IntraBkStaRuleText AS _AcctLevelIntraRuleText ON IntraBkStaRuleExternalID = _AcctLevelIntraRuleText.IntraBkStaRuleExternalID  -- association [0..*]
LEFT OUTER JOIN I_PaymentTransactionTypeGroupT AS _PaymentTransactionTypeGroupT ON PaymentTransactionTypeGroup = _PaymentTransactionTypeGroupT.PaymentTransactionTypeGroup  -- association [0..*]
LEFT OUTER JOIN I_BankAcctContrTypeText AS _ContractTypeText ON BankAccountContractType = _ContractTypeText.BankAccountContractType AND _ContractTypeText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN C_HierRuntimeRprstnDplLeafNode AS _ProfitCenterHierLeafNode ON ProfitCenter = _ProfitCenterHierLeafNode.UnivHierarchyBusinessEntity AND ControllingArea = _ProfitCenterHierLeafNode.HierarchyNodeClass AND _ProfitCenterHierLeafNode.ValidityStartDate <= $session.system_date AND _ProfitCenterHierLeafNode.ValidityEndDate >= $session.system_date AND _ProfitCenterHierLeafNode.HierarchyType = '0101'  -- association [0..*]
LEFT OUTER JOIN 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..*]
;