I_BankAccountValidLinkage
Bank Account Valid Linkages
I_BankAccountValidLinkage is a Basic CDS View that provides data about "Bank Account Valid Linkages" in SAP S/4HANA. It reads from 2 data sources (fclm_bam_amd, fclm_bam_aclink2) and exposes 6 fields with key fields CompanyCode, HouseBank, HouseBankAccount.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| fclm_bam_amd | acc | inner |
| fclm_bam_aclink2 | hba | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Bank Account Valid Linkages | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | IFIBAMVLINKAGE | view | |
| ObjectModel.representativeKey | HouseBankAccount | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | fclm_bam_aclink2 | bukrs | |
| KEY | HouseBank | fclm_bam_aclink2 | hbkid | |
| KEY | HouseBankAccount | fclm_bam_aclink2 | hktid | |
| BankAccountInternalID | fclm_bam_aclink2 | acc_id | ||
| BankAccountNumber | fclm_bam_amd | acc_num | ||
| ValidityEndDate | fclm_bam_aclink2 | valid_to |
@EndUserText.label: 'Bank Account Valid Linkages'
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #CHECK
@AbapCatalog.sqlViewName: 'IFIBAMVLINKAGE'
@ObjectModel.representativeKey: 'HouseBankAccount'
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.serviceQuality: #C
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.allowExtensions:true
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
define view I_BankAccountValidLinkage
as select from fclm_bam_aclink2 as hba
inner join fclm_bam_amd as acc on acc.acc_id = hba.acc_id
and hba.revision = acc.revision
{
key hba.bukrs as CompanyCode,
key hba.hbkid as HouseBank,
key hba.hktid as HouseBankAccount,
hba.acc_id as BankAccountInternalID,
acc.acc_num as BankAccountNumber,
hba.valid_to as ValidityEndDate
}
where
hba.herku = ''
and hba.hbkid <> ''
and hba.hktid <> ''
and hba.is_reused = ''
and hba.revision = '0000'
and hba.valid_from <= $session.system_date
and(
acc.status = '15' //Closed in System
and acc.valid_to = hba.valid_to
or(
(
acc.status = '02' //Active
or acc.status = '09' //Marked for Closing
or acc.status = '10' //To Be Closed
or acc.status = '11' //Closed at Bank
)
and hba.valid_to >= $session.system_date
)
)
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"FCLM_BAM_ACLINK2",
"FCLM_BAM_AMD"
],
"ASSOCIATED":
[],
"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