P_HouseBankAccount
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)
| Source | Alias | Join Type |
|---|---|---|
| fclm_bam_amd | acc | inner |
| I_BankAccountValidLinkage | distinct_hba | from |
| fclm_bam_aclink2 | hba | inner |
| t012k | t012k | left_outer |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA