P_HouseBankAccount

DDL: P_HOUSEBANKACCOUNT SQL: PHOUSEBANKACCT Type: view BASIC

P_HouseBankAccount is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (fclm_bam_amd, I_BankAccountValidLinkage, fclm_bam_aclink2, t012k) and exposes 23 fields.

Data Sources (4)

SourceAliasJoin Type
fclm_bam_amd acc inner
I_BankAccountValidLinkage distinct_hba from
fclm_bam_aclink2 hba inner
t012k t012k left_outer

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PHOUSEBANKACCT view
VDM.private true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (23)

KeyFieldSource TableSource FieldDescription
mandt fclm_bam_aclink2 mandt Editing Client
bukrs I_BankAccountValidLinkage CompanyCode Receiver Company Code
hbkid I_BankAccountValidLinkage HouseBank House Bank
hktid I_BankAccountValidLinkage HouseBankAccount House Bank Account
bankn fclm_bam_aclink2 bankn Bank acct
bkont fclm_bam_amd control_key Control Key
waers fclm_bam_amd waers Transaction Currency
refzl fclm_bam_aclink2 refzl Reference info.
dtaai fclm_bam_aclink2 dtaai DME identifictn
bnkn2 fclm_bam_aclink2 bnkn2 Bank Account
fdgrp fclm_bam_aclink2 fdgrp Planning group
abwae fclm_bam_aclink2 abwae Settlement cur.
hkont fclm_bam_aclink2 hkont Transfer acct
wekon fclm_bam_aclink2 wekon Discount Acct
mindt fclm_bam_aclink2 mindt Minimum Days
hbid1 fclm_bam_aclink2 hbid1 House bank 1
hkid1 fclm_bam_aclink2 hkid1 Account ID 1
hbid2 fclm_bam_aclink2 hbid2 House bank 2
hkid2 fclm_bam_aclink2 hkid2 Account ID 2
wkkon fclm_bam_aclink2 wkkon Returned BoE Py
wikon fclm_bam_aclink2 wikon Collection Acct
acc_id fclm_bam_aclink2 acc_id Technical ID
acc_num fclm_bam_amd acc_num Account Number

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 P_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: PHOUSEBANKACCT

CREATE VIEW P_HouseBankAccount AS
SELECT
  hba.mandt AS mandt,
  distinct_hba.CompanyCode AS bukrs,
  distinct_hba.HouseBank AS hbkid,
  distinct_hba.HouseBankAccount AS hktid,
  hba.bankn AS bankn,
  acc.control_key AS bkont,
  acc.waers AS waers,
  hba.refzl AS refzl,
  hba.dtaai AS dtaai,
  hba.bnkn2 AS bnkn2,
  hba.fdgrp AS fdgrp,
  hba.abwae AS abwae,
  hba.hkont AS hkont,
  hba.wekon AS wekon,
  hba.mindt AS mindt,
  hba.hbid1 AS hbid1,
  hba.hkid1 AS hkid1,
  hba.hbid2 AS hbid2,
  hba.hkid2 AS hkid2,
  hba.wkkon AS wkkon,
  hba.wikon AS wikon,
  hba.acc_id AS acc_id,
  acc.acc_num AS acc_num
FROM I_BankAccountValidLinkage AS distinct_hba
INNER JOIN fclm_bam_aclink2 AS hba ON /* join condition not captured in parsed metadata */
INNER JOIN fclm_bam_amd AS acc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN t012k ON /* join condition not captured in parsed metadata */
;