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 66 fields with key fields BankAccountInternalID, BankAccountRevision. It has 4 associations to related views. Part of development package FCLM_BAM.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| fclm_bam_rev | _Rev | left_outer |
| fclm_bam_amd | amd | left_outer |
| I_ValidBankAccountWithRevision | validAmd | from |
Associations (4)
| 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 |
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 | #BLOCKED_DATA_EXCLUDED | view |
Fields (66)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BankAccountInternalID | fclm_bam_amd | acc_id | Technical ID |
| KEY | BankAccountRevision | fclm_bam_amd | revision | Revision Number |
| BankCountry | fclm_bam_amd | banks | Bank Ctry/Rgn. Key | |
| Bank | fclm_bam_amd | bankl | House Bank | |
| BankAccountNumber | fclm_bam_amd | acc_num | Account Number | |
| BankAccountType | fclm_bam_amd | acc_type_id | Account Type | |
| ValidityStartDate | fclm_bam_amd | valid_from | Validity Start Time | |
| ValidityEndDate | fclm_bam_amd | valid_to | Validity End Time | |
| IBAN | fclm_bam_amd | iban | IBAN House Bank | |
| BankAccountStatus | fclm_bam_amd | status | Workflow Status | |
| LeadingCashPoolID | fclm_bam_amd | cash_pool_id | Cash Pool Name | |
| CompanyCode | fclm_bam_amd | bukrs | Value | |
| ProfitCenter | fclm_bam_amd | prctr | Profit Centers | |
| BusinessArea | fclm_bam_amd | gsber | Business Area | |
| Segment | fclm_bam_amd | segment | Segment number | |
| BankAccountHolderName | fclm_bam_amd | beneficial | Account Holder | |
| BankContactPerson | fclm_bam_amd | bank_contact | General Contact | |
| BankRelationshipManager | fclm_bam_amd | rel_manager | Relationship Manager | |
| CompanyContactPerson | fclm_bam_amd | company_contact | Contact Person | |
| BankAccountSupervisor | fclm_bam_amd | account_supervisor | Account Supervisor | |
| BankStatementImportMethod | fclm_bam_amd | edbsum | EoD | |
| IntraDayBankStateImportMethod | fclm_bam_amd | idbsum | Intraday | |
| BankStatementCheckTime | fclm_bam_amd | bs_upload_time | Check Time | |
| CreatedByUser | fclm_bam_amd | created_by | Version Created By | |
| OpenedByUser | fclm_bam_amd | opened_by | Opened By | |
| LastChangedByUser | fclm_bam_amd | changed_by | User Name | |
| ReviewedByUser | fclm_bam_amd | reviewed_by | Reviewed By | |
| ClosedByUser | fclm_bam_amd | closed_by | Closed By | |
| BankStatementImportChannel | fclm_bam_amd | importing_channel | Importing Channel | |
| DomesticCutOffTime | fclm_bam_amd | cutoff_time_d | Cut-Off Domestic | |
| CrossBorderCutOffTime | fclm_bam_amd | cutoff_time_c | Cut-Off Cross Border | |
| PlannedClosingDate | fclm_bam_amd | planned_closing_date | Planned Closing | |
| IsUploadOfIntraDayStatement | fclm_bam_amd | upload_bs_flag | Intraday Upload | |
| CreationDate | fclm_bam_amd | created_at_dat | Created On | |
| CreationTime | fclm_bam_amd | created_at_tim | Created At | |
| OpenedDate | fclm_bam_amd | opened_at_dat | Opened On | |
| LastChangeDate | fclm_bam_amd | changed_at_dat | Changed On | |
| LastChangeTime | fclm_bam_amd | changed_at_tim | Changed At | |
| ClosedDate | fclm_bam_amd | closed_at_dat | Closed On | |
| ClosedTime | fclm_bam_amd | closed_at_tim | Closed At | |
| BankControlKey | fclm_bam_amd | control_key | Control Key | |
| IBANValidityStartDate | fclm_bam_amd | iban_valid_from | IBAN Valid From | |
| ArchObjectNumber | fclm_bam_amd | objnr | Val. Obj. No. | |
| PaymentTransactionTypeGroup | fclm_bam_amd | vgtyp | Trans. Type | |
| ProcessingStatus | fclm_bam_amd | procstat_act | Process Status | |
| DifferenceStatus | fclm_bam_amd | balstat_act | Difference Sts | |
| SerialNumberStatus | fclm_bam_amd | serstat_act | Serial No. Sts | |
| ReconciliationStatus | fclm_bam_amd | reconstat_act | Reconcil. Sts | |
| ExpectedInterval | fclm_bam_amd | exp_number | Interval | |
| ControlFrequency | fclm_bam_amd | exp_rhyth | Interval Unit | |
| FactoryCalendar | fclm_bam_amd | calendar | Workdays only | |
| DisplayItem | fclm_bam_amd | sort_idx | ||
| DifferenceAmount | fclm_bam_amd | amt_diff | Difference Amt | |
| BankAccountCurrency | fclm_bam_amd | waers | Transaction Currency | |
| ParticipantCashPoolID | fclm_bam_amd | cash_pool_id_participant | Cash Pool Name | |
| MaxTargetAmount | fclm_bam_amd | cash_pool_target_amt_max | Target Balance | |
| MinTargetAmount | fclm_bam_amd | cash_pool_target_amt_min | Min. Target Amount | |
| MinTransferAmount | fclm_bam_amd | cash_pool_transfer_amt_min | Min.Transfer Amount | |
| LeadingPaymentMethod | fclm_bam_amd | payment_method_l | Payment Method | |
| ParticipantPaymentMethod | fclm_bam_amd | payment_method_p | Payment Method | |
| PaymentServiceProvider | fclm_bam_amd | payment_service_provider | Paymnt Serv. Provid. | |
| BankAccountRevActivatedByUser | fclm_bam_rev | activated_by | Activated By | |
| _Bank | _Bank | |||
| _CompanyCode | _CompanyCode | |||
| _BankContact | _BankContact | |||
| _AccountTextInCurrentLang | _AccountTextInCurrentLang |
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 I_BankAccountWithRevision.
-- 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: IBANKACCTWR
CREATE VIEW I_BankAccountWithRevision AS
SELECT
amd.acc_id AS BankAccountInternalID,
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,
_Rev.activated_by AS BankAccountRevActivatedByUser
FROM I_ValidBankAccountWithRevision AS validAmd
LEFT OUTER JOIN fclm_bam_amd AS amd ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN fclm_bam_rev AS _Rev ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_BankAccountTextRev AS _AccountTextInCurrentLang ON BankAccountInternalID = _AccountTextInCurrentLang.BankAccountInternalID AND BankAccountRevision = _AccountTextInCurrentLang.BankAccountRevision -- association [0..*]
LEFT OUTER JOIN I_Bank_2 AS _Bank ON BankCountry = _Bank.BankCountry AND Bank = _Bank.BankInternalID -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BankContact ON BankContactPerson = _BankContact.BusinessPartner -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA