FCLM_BAM_DISTINCT_HBA

DDL: FCLM_BAM_DISTINCT_HBA SQL: V_DISNT_HBA Type: view

distinct house bank accounts for T012K

FCLM_BAM_DISTINCT_HBA is a CDS View that provides data about "distinct house bank accounts for T012K" in SAP S/4HANA. It reads from 2 data sources (fclm_bam_amd, fclm_bam_aclink2) and exposes 6 fields.

Data Sources (2)

SourceAliasJoin Type
fclm_bam_amd acc inner
fclm_bam_aclink2 hba from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName V_DISNT_HBA view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.serviceQuality C view
ObjectModel.usageType.sizeCategory M view
ObjectModel.usageType.dataClass MASTER view
EndUserText.label distinct house bank accounts for T012K view

Fields (6)

KeyFieldSource TableSource FieldDescription
mandt fclm_bam_aclink2 mandt Editing Client
bukrs fclm_bam_aclink2 bukrs Value
hbkid fclm_bam_aclink2 hbkid House Bank
hktid fclm_bam_aclink2 hktid House Bank Account
acc_id fclm_bam_aclink2 acc_id Technical ID
valid_to

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 FCLM_BAM_DISTINCT_HBA.
-- 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: V_DISNT_HBA

CREATE VIEW FCLM_BAM_DISTINCT_HBA AS
SELECT
  hba.mandt AS mandt,
  hba.bukrs AS bukrs,
  hba.hbkid AS hbkid,
  hba.hktid AS hktid,
  hba.acc_id AS acc_id,
  max(hba.valid_to) AS valid_to
FROM fclm_bam_aclink2 AS hba
INNER JOIN fclm_bam_amd AS acc ON /* join condition not captured in parsed metadata */
;