I_BankAccountWithRevision
Bank Account With Revision
I_BankAccountWithRevision is a Basic CDS View that provides data about "Bank Account With Revision" in SAP S/4HANA. It reads from 3 data sources (fclm_bam_rev, fclm_bam_amd, I_ValidBankAccountWithRevision) and exposes 67 fields with key fields BankAccountInternalID, BankAccountRevision. It has 5 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| fclm_bam_rev | _Rev | left_outer |
| fclm_bam_amd | amd | left_outer |
| I_ValidBankAccountWithRevision | validAmd | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_BankAccountTextRev | _AccountTextInCurrentLang | $projection.BankAccountInternalID = _AccountTextInCurrentLang.BankAccountInternalID and $projection.BankAccountRevision = _AccountTextInCurrentLang.BankAccountRevision |
| [0..1] | I_Bank_2 | _Bank | $projection.BankCountry = _Bank.BankCountry and $projection.Bank = _Bank.BankInternalID |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_BusinessPartner | _BankContact | $projection.BankContactPerson = _BankContact.BusinessPartner |
| [0..*] | I_BusinessPartnerAddress | _BankContactAddress | $projection.BankContactPerson = _BankContactAddress.BusinessPartner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IBANKACCTWR | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Bank Account With Revision | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.personalData.blocking | #REQUIRED | view |
Fields (67)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BankAccountInternalID | fclm_bam_amd | acc_id | |
| KEY | BankAccountRevision | fclm_bam_amd | revision | |
| BankCountry | fclm_bam_amd | banks | ||
| Bank | fclm_bam_amd | bankl | ||
| BankAccountNumber | fclm_bam_amd | acc_num | ||
| BankAccountType | fclm_bam_amd | acc_type_id | ||
| ValidityStartDate | fclm_bam_amd | valid_from | ||
| ValidityEndDate | fclm_bam_amd | valid_to | ||
| IBAN | fclm_bam_amd | iban | ||
| BankAccountStatus | fclm_bam_amd | status | ||
| LeadingCashPoolID | fclm_bam_amd | cash_pool_id | ||
| CompanyCode | fclm_bam_amd | bukrs | ||
| ProfitCenter | fclm_bam_amd | prctr | ||
| BusinessArea | fclm_bam_amd | gsber | ||
| Segment | fclm_bam_amd | segment | ||
| BankAccountHolderName | fclm_bam_amd | beneficial | ||
| BankContactPerson | fclm_bam_amd | bank_contact | ||
| BankRelationshipManager | fclm_bam_amd | rel_manager | ||
| CompanyContactPerson | fclm_bam_amd | company_contact | ||
| BankAccountSupervisor | fclm_bam_amd | account_supervisor | ||
| BankStatementImportMethod | fclm_bam_amd | edbsum | ||
| IntraDayBankStateImportMethod | fclm_bam_amd | idbsum | ||
| BankStatementCheckTime | fclm_bam_amd | bs_upload_time | ||
| CreatedByUser | fclm_bam_amd | created_by | ||
| OpenedByUser | fclm_bam_amd | opened_by | ||
| LastChangedByUser | fclm_bam_amd | changed_by | ||
| ReviewedByUser | fclm_bam_amd | reviewed_by | ||
| ClosedByUser | fclm_bam_amd | closed_by | ||
| BankStatementImportChannel | fclm_bam_amd | importing_channel | ||
| DomesticCutOffTime | fclm_bam_amd | cutoff_time_d | ||
| CrossBorderCutOffTime | fclm_bam_amd | cutoff_time_c | ||
| PlannedClosingDate | fclm_bam_amd | planned_closing_date | ||
| IsUploadOfIntraDayStatement | fclm_bam_amd | upload_bs_flag | ||
| CreationDate | fclm_bam_amd | created_at_dat | ||
| CreationTime | fclm_bam_amd | created_at_tim | ||
| OpenedDate | fclm_bam_amd | opened_at_dat | ||
| LastChangeDate | fclm_bam_amd | changed_at_dat | ||
| LastChangeTime | fclm_bam_amd | changed_at_tim | ||
| ClosedDate | fclm_bam_amd | closed_at_dat | ||
| ClosedTime | fclm_bam_amd | closed_at_tim | ||
| BankControlKey | fclm_bam_amd | control_key | ||
| IBANValidityStartDate | fclm_bam_amd | iban_valid_from | ||
| ArchObjectNumber | fclm_bam_amd | objnr | ||
| PaymentTransactionTypeGroup | fclm_bam_amd | vgtyp | ||
| ProcessingStatus | fclm_bam_amd | procstat_act | ||
| DifferenceStatus | fclm_bam_amd | balstat_act | ||
| SerialNumberStatus | fclm_bam_amd | serstat_act | ||
| ReconciliationStatus | fclm_bam_amd | reconstat_act | ||
| ExpectedInterval | fclm_bam_amd | exp_number | ||
| ControlFrequency | fclm_bam_amd | exp_rhyth | ||
| FactoryCalendar | fclm_bam_amd | calendar | ||
| DisplayItem | fclm_bam_amd | sort_idx | ||
| DifferenceAmount | fclm_bam_amd | amt_diff | ||
| BankAccountCurrency | fclm_bam_amd | waers | ||
| ParticipantCashPoolID | fclm_bam_amd | cash_pool_id_participant | ||
| MaxTargetAmount | fclm_bam_amd | cash_pool_target_amt_max | ||
| MinTargetAmount | fclm_bam_amd | cash_pool_target_amt_min | ||
| MinTransferAmount | fclm_bam_amd | cash_pool_transfer_amt_min | ||
| LeadingPaymentMethod | fclm_bam_amd | payment_method_l | ||
| ParticipantPaymentMethod | fclm_bam_amd | payment_method_p | ||
| PaymentServiceProvider | fclm_bam_amd | payment_service_provider | ||
| BankAccountRevActivatedByUser | fclm_bam_rev | activated_by | ||
| _Bank | _Bank | |||
| _CompanyCode | _CompanyCode | |||
| _BankContact | _BankContact | |||
| _BankContactAddress | _BankContactAddress | |||
| _AccountTextInCurrentLang | _AccountTextInCurrentLang |
@AbapCatalog.sqlViewName: 'IBANKACCTWR'
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #BASIC
@EndUserText.label: 'Bank Account With Revision'
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.serviceQuality: #C
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AccessControl.personalData.blocking:#REQUIRED
define view I_BankAccountWithRevision
as select from I_ValidBankAccountWithRevision as validAmd
left outer join fclm_bam_amd as amd on validAmd.BankAccountInternalID = amd.acc_id
left outer join fclm_bam_rev as _Rev on amd.acc_id = _Rev.acc_id
and amd.revision = _Rev.revision
association [0..*] to I_BankAccountTextRev as _AccountTextInCurrentLang on $projection.BankAccountInternalID = _AccountTextInCurrentLang.BankAccountInternalID
and $projection.BankAccountRevision = _AccountTextInCurrentLang.BankAccountRevision
association [0..1] to I_Bank_2 as _Bank on $projection.BankCountry = _Bank.BankCountry
and $projection.Bank = _Bank.BankInternalID
association [0..1] to I_CompanyCode as _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
association [0..1] to I_BusinessPartner as _BankContact on $projection.BankContactPerson = _BankContact.BusinessPartner
association [0..*] to I_BusinessPartnerAddress as _BankContactAddress on $projection.BankContactPerson = _BankContactAddress.BusinessPartner
{
key amd.acc_id as BankAccountInternalID,
key amd.revision as BankAccountRevision,
amd.banks as BankCountry,
amd.bankl as Bank,
amd.acc_num as BankAccountNumber,
amd.acc_type_id as BankAccountType,
amd.valid_from as ValidityStartDate,
amd.valid_to as ValidityEndDate,
amd.iban as IBAN,
amd.status as BankAccountStatus,
amd.cash_pool_id as LeadingCashPoolID,
amd.bukrs as CompanyCode,
amd.prctr as ProfitCenter,
amd.gsber as BusinessArea,
amd.segment as Segment,
amd.beneficial as BankAccountHolderName,
amd.bank_contact as BankContactPerson,
amd.rel_manager as BankRelationshipManager,
amd.company_contact as CompanyContactPerson,
amd.account_supervisor as BankAccountSupervisor,
amd.edbsum as BankStatementImportMethod,
amd.idbsum as IntraDayBankStateImportMethod,
amd.bs_upload_time as BankStatementCheckTime,
amd.created_by as CreatedByUser,
amd.opened_by as OpenedByUser,
amd.changed_by as LastChangedByUser,
amd.reviewed_by as ReviewedByUser,
amd.closed_by as ClosedByUser,
amd.importing_channel as BankStatementImportChannel,
amd.cutoff_time_d as DomesticCutOffTime,
amd.cutoff_time_c as CrossBorderCutOffTime,
amd.planned_closing_date as PlannedClosingDate,
amd.upload_bs_flag as IsUploadOfIntraDayStatement,
amd.created_at_dat as CreationDate,
amd.created_at_tim as CreationTime,
amd.opened_at_dat as OpenedDate,
amd.changed_at_dat as LastChangeDate,
amd.changed_at_tim as LastChangeTime,
amd.closed_at_dat as ClosedDate,
amd.closed_at_tim as ClosedTime,
amd.control_key as BankControlKey,
amd.iban_valid_from as IBANValidityStartDate,
amd.objnr as ArchObjectNumber,
amd.vgtyp as PaymentTransactionTypeGroup,
amd.procstat_act as ProcessingStatus,
amd.balstat_act as DifferenceStatus,
amd.serstat_act as SerialNumberStatus,
amd.reconstat_act as ReconciliationStatus,
amd.exp_number as ExpectedInterval,
amd.exp_rhyth as ControlFrequency,
amd.calendar as FactoryCalendar,
amd.sort_idx as DisplayItem,
amd.amt_diff as DifferenceAmount,
amd.waers as BankAccountCurrency,
amd.cash_pool_id_participant as ParticipantCashPoolID,
amd.cash_pool_target_amt_max as MaxTargetAmount,
amd.cash_pool_target_amt_min as MinTargetAmount,
amd.cash_pool_transfer_amt_min as MinTransferAmount,
amd.payment_method_l as LeadingPaymentMethod,
amd.payment_method_p as ParticipantPaymentMethod,
amd.payment_service_provider as PaymentServiceProvider,
cast( case when _Rev.rev_status is null then ' '
else _Rev.rev_status
end as fclm_bam_rev_status preserving type ) as BankAccountRevisionStatus,
_Rev.activated_by as BankAccountRevActivatedByUser,
_Bank,
_CompanyCode,
_BankContact,
_BankContactAddress,
_AccountTextInCurrentLang
}
where
amd.status = '01' or amd.status = '02' or amd.status = '09' or amd.status = '10' or amd.status = '11' or amd.status = '15'
or amd.status = '22' or amd.status = '24' or amd.status = '26' or amd.status = '28'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_VALIDBANKACCOUNTWITHREVISION",
"FCLM_BAM_AMD",
"FCLM_BAM_REV"
],
"ASSOCIATED":
[
"I_BANKACCOUNTTEXTREV",
"I_BANK_2",
"I_BUSINESSPARTNER",
"I_BUSINESSPARTNERADDRESS",
"I_COMPANYCODE"
],
"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