P_BankAccount_All
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)
| Source | Alias | Join Type |
|---|---|---|
| fclm_bam_amd | bam | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BankAccount | _BankAccount | $projection.BankAccountInternalID = _BankAccount.BankAccountInternalID -- and $projection.CompanyCode = _BankAccount.CompanyCode |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | PBANKACCOUNTALL | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BankAccountInternalID | fclm_bam_amd | acc_id | |
| CompanyCode | fclm_bam_amd | bukrs | ||
| BankAccountCurrency | ||||
| ValidFrom | ||||
| ValidTo | ||||
| _BankAccount | _BankAccount |
@VDM.private: true
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'PBANKACCOUNTALL' //must start with "P"
define view P_BankAccount_All //must start with "P_"; same as DDL source name in upper-camelcase notation
as select from fclm_bam_amd as bam
association [1..1] to I_BankAccount as _BankAccount on $projection.BankAccountInternalID = _BankAccount.BankAccountInternalID
-- and $projection.CompanyCode = _BankAccount.CompanyCode
{
key bam.acc_id as BankAccountInternalID,
bam.bukrs as CompanyCode,
-- _BankAccount._BankAccountCurrency.BankAccountCurrency,
-- bam.valid_from as ValidFrom,
-- bam.valid_to as ValidTo,
_BankAccount
}
where (bam.status = '02' or bam.status = '09' or bam.status = '10' or bam.status = '11')
and bam.revision = '0000'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"FCLM_BAM_AMD"
],
"ASSOCIATED":
[
"I_BANKACCOUNT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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