P_BankAccount_All

DDL: P_BANKACCOUNT_ALL SQL: PBANKACCOUNTALL Type: view BASIC

P_BankAccount_All is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (fclm_bam_amd) and exposes 6 fields with key field BankAccountInternalID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
fclm_bam_amd bam from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_BankAccount _BankAccount $projection.BankAccountInternalID = _BankAccount.BankAccountInternalID -- and $projection.CompanyCode = _BankAccount.CompanyCode

Annotations (4)

NameValueLevelField
VDM.private true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName PBANKACCOUNTALL view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY BankAccountInternalID fclm_bam_amd acc_id Technical ID
CompanyCode fclm_bam_amd bukrs Value
BankAccountCurrency
ValidFrom
ValidTo
_BankAccount _BankAccount

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_BankAccount_All.
-- 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: PBANKACCOUNTALL

CREATE VIEW P_BankAccount_All AS
SELECT
  bam.acc_id AS BankAccountInternalID,
  bam.bukrs AS CompanyCode
FROM fclm_bam_amd AS bam
LEFT OUTER JOIN I_BankAccount AS _BankAccount ON BankAccountInternalID = _BankAccount.BankAccountInternalID  -- association [1..1]
;