VFCLM_BAM_DDL_AMD_WTTHDESP2
Bank Account Master Data with Description (no parameter)
VFCLM_BAM_DDL_AMD_WTTHDESP2 is a CDS View that provides data about "Bank Account Master Data with Description (no parameter)" in SAP S/4HANA. It reads from 12 data sources and exposes 74 fields with key field AccountID.
Data Sources (12)
| Source | Alias | Join Type |
|---|---|---|
| fclm_bam_amd_t | account_text | left_outer |
| fclm_bam_ac_typt | acctyptxt | left_outer |
| I_Bank | bank | left_outer |
| fclm_bam_bsimp_t | bsimport | left_outer |
| t005t | countries | left_outer |
| tcurt | curr_desp | left_outer |
| VFCLM_BAM_DDL_ACCOUNTSTATUS | domaintxt | left_outer |
| fagl_segmt | fagl_segmt | left_outer |
| t002 | t002 | left_outer |
| tgsbt | tgsbt | left_outer |
| VFCLM_BAM_DDL_ACCNUMTXT | VFCLM_BAM_DDL_ACCNUMTXT | left_outer |
| VFCLM_BAM_DDL_ACCOUNTINAPPROC | VFCLM_BAM_DDL_ACCOUNTINAPPROC | left_outer |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | VFCLM_BAM_AMDDP2 | view | |
| EndUserText.label | Bank Account Master Data with Description (no parameter) | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (74)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AccountID | header | AccountID | |
| Language | t002 | spras | ||
| BankCountry | header | BankCountry | ||
| BankKey | header | BankKey | ||
| Banka | I_Bank | BankName | ||
| Swift | I_Bank | SWIFTCode | ||
| BankNumber | I_Bank | Bank | ||
| AccountNumber | header | AccountNumber | ||
| AccountType | header | AccountType | ||
| ValidFrom | header | ValidFrom | ||
| ValidTo | header | ValidTo | ||
| IBAN | header | IBAN | ||
| Description | fclm_bam_amd_t | description | ||
| Status | header | Status | ||
| CompanyCode | header | CompanyCode | ||
| ProfitCenter | header | ProfitCenter | ||
| BusinessArea | header | BusinessArea | ||
| Segment | header | Segment | ||
| AccountHolder | header | AccountHolder | ||
| BankContact | header | BankContact | ||
| RelationshipManager | header | RelationshipManager | ||
| CompanyContact | header | CompanyContact | ||
| AccountSupervisor | header | AccountSupervisor | ||
| EoDImort | header | EoDImort | ||
| IntradayImport | header | IntradayImport | ||
| BankStatementUpload | header | BankStatementUpload | ||
| CashToleranceGroup | header | CashToleranceGroup | ||
| IntradayIsReconciled | header | IntradayIsReconciled | ||
| CreatedAtDate | header | CreatedAtDate | ||
| CreatedAtTime | header | CreatedAtTime | ||
| CreatedBy | header | CreatedBy | ||
| OpenedAtDate | header | OpenedAtDate | ||
| OpenedAtTime | header | OpenedAtTime | ||
| OpenedBy | header | OpenedBy | ||
| ChangedAtDate | header | ChangedAtDate | ||
| ChangedAtTime | header | ChangedAtTime | ||
| ChangedBy | header | ChangedBy | ||
| ClosedAtDate | header | ClosedAtDate | ||
| ClosedAtTime | header | ClosedAtTime | ||
| ClosedBy | header | ClosedBy | ||
| ImportingChannel | header | ImportingChannel | ||
| CutOffDomestic | header | CutOffDomestic | ||
| CutOffCrossBorder | header | CutOffCrossBorder | ||
| PlannedClosingDate | header | PlannedClosingDate | ||
| UploadBSFlag | header | UploadBSFlag | ||
| Currency | header | Currency | ||
| CompanyCodeDesp | header | CompanyCodeDesp | ||
| HouseBankCompanyCode | header | HouseBankCompanyCode | ||
| HouseBankCompanyCodeDesp | header | HouseBankCompanyCodeDesp | ||
| abwae | header | abwae | ||
| bankn | header | bankn | ||
| bnkn2 | header | bnkn2 | ||
| dtaai | header | dtaai | ||
| fdgrp | header | fdgrp | ||
| hbid1 | header | hbid1 | ||
| hbid2 | header | hbid2 | ||
| hbkid | header | hbkid | ||
| hkid1 | header | hkid1 | ||
| hkid2 | header | hkid2 | ||
| hktid | header | hktid | ||
| mindt | header | mindt | ||
| refzl | header | refzl | ||
| wekon | header | wekon | ||
| wikon | header | wikon | ||
| wkkon | header | wkkon | ||
| hkont | header | hkont | ||
| AccountTypeDesp | fclm_bam_ac_typt | acc_type_desc | ||
| StatusDesp | VFCLM_BAM_DDL_ACCOUNTSTATUS | ddtext | ||
| CurrencyDesp | tcurt | ktext | ||
| BusinessAreaDesp | tgsbt | gtext | ||
| SegmentDesp | fagl_segmt | name | ||
| EoDImportDesp | fclm_bam_bsimp_t | import_type_desc | ||
| BankCountryDesp | t005t | landx | ||
| AccountNumberendasAccountNumberDesp |
@AbapCatalog.sqlViewName: 'VFCLM_BAM_AMDDP2'
@EndUserText.label: 'Bank Account Master Data with Description (no parameter)'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.serviceQuality: #D
@ClientHandling.algorithm: #SESSION_VARIABLE
define view VFCLM_BAM_DDL_AMD_WTTHDESP2
as select distinct from VFCLM_BAM_DDL_AMD as header
left outer join t002 as t002 on(
header.Status = t002.laspez
or header.Status <> t002.laspez
)
left outer join I_Bank as bank on header.BankCountry = bank.BankCountry
and header.BankKey = bank.BankInternalID
left outer join tcurt as curr_desp on header.Currency = curr_desp.waers
and curr_desp.spras = t002.spras
left outer join fclm_bam_amd_t as account_text on header.AccountID = account_text.acc_id
and account_text.revision = '0000'
and account_text.deleted_flag <> 'X'
and account_text.langu = t002.spras
left outer join VFCLM_BAM_DDL_ACCOUNTSTATUS as domaintxt on header.Status = domaintxt.domvalue_l
and domaintxt.ddlanguage = t002.spras
left outer join fclm_bam_ac_typt as acctyptxt on header.AccountType = acctyptxt.acc_type_id
and acctyptxt.langu = t002.spras
left outer join t005t as countries on header.BankCountry = countries.land1
and countries.spras = t002.spras
left outer join fagl_segmt as fagl_segmt on header.Segment = fagl_segmt.segment
and fagl_segmt.langu = t002.spras
left outer join tgsbt as tgsbt on header.BusinessArea = tgsbt.gsber
and tgsbt.spras = t002.spras
left outer join fclm_bam_bsimp_t as bsimport on header.EoDImort = bsimport.import_type
and bsimport.langu = t002.spras
// left outer join fclm_bam_bsimp_t as bsimport2
// on header.IntradayImport = bsimport2.import_type
// and bsimport2.langu = t002.spras
left outer join VFCLM_BAM_DDL_ACCNUMTXT as VFCLM_BAM_DDL_ACCNUMTXT on header.AccountNumber = VFCLM_BAM_DDL_ACCNUMTXT.domvalue_l
and VFCLM_BAM_DDL_ACCNUMTXT.ddlanguage = t002.spras
left outer join VFCLM_BAM_DDL_ACCOUNTINAPPROC as VFCLM_BAM_DDL_ACCOUNTINAPPROC on header.AccountID = VFCLM_BAM_DDL_ACCOUNTINAPPROC.acc_id
and (
VFCLM_BAM_DDL_ACCOUNTINAPPROC.request_status = '01'
or VFCLM_BAM_DDL_ACCOUNTINAPPROC.request_status = '02'
)
and VFCLM_BAM_DDL_ACCOUNTINAPPROC.request_process = ''
{
key header.AccountID as AccountID,
t002.spras as Language,
header.BankCountry as BankCountry,
header.BankKey as BankKey,
bank.BankName as Banka,
bank.SWIFTCode as Swift,
bank.Bank as BankNumber,
header.AccountNumber as AccountNumber,
header.AccountType as AccountType,
header.ValidFrom as ValidFrom,
header.ValidTo as ValidTo,
header.IBAN as IBAN,
account_text.description as Description,
header.Status as Status,
header.CompanyCode as CompanyCode,
header.ProfitCenter as ProfitCenter,
header.BusinessArea as BusinessArea,
header.Segment as Segment,
header.AccountHolder as AccountHolder,
header.BankContact as BankContact,
header.RelationshipManager as RelationshipManager,
header.CompanyContact as CompanyContact,
header.AccountSupervisor as AccountSupervisor,
header.EoDImort as EoDImort,
header.IntradayImport as IntradayImport,
header.BankStatementUpload as BankStatementUpload,
header.CashToleranceGroup as CashToleranceGroup,
header.IntradayIsReconciled as IntradayIsReconciled,
header.CreatedAtDate,
header.CreatedAtTime,
header.CreatedBy,
header.OpenedAtDate,
header.OpenedAtTime,
header.OpenedBy,
header.ChangedAtDate,
header.ChangedAtTime,
header.ChangedBy,
header.ClosedAtDate,
header.ClosedAtTime,
header.ClosedBy,
header.ImportingChannel as ImportingChannel,
header.CutOffDomestic as CutOffDomestic,
header.CutOffCrossBorder as CutOffCrossBorder,
header.PlannedClosingDate as PlannedClosingDate,
header.UploadBSFlag as UploadBSFlag,
header.Currency as Currency,
header.CompanyCodeDesp as CompanyCodeDesp,
// House bank account
header.HouseBankCompanyCode,
header.HouseBankCompanyCodeDesp,
header.abwae,
header.bankn,
header.bnkn2,
header.dtaai,
header.fdgrp,
header.hbid1,
header.hbid2,
header.hbkid,
header.hkid1,
header.hkid2,
// header.hkont,
header.hktid,
header.mindt,
header.refzl,
header.wekon,
header.wikon,
header.wkkon,
// cast(( case
// when header.addi_gl is not null and header.addi_gl <> '' then header.addi_gl
// else header.hkont
// end ) as hkont) as hkont,
header.hkont,
// header.addi_gl,
case
when VFCLM_BAM_DDL_ACCOUNTINAPPROC.request_id is not null then 'X'
else ''
end as InApprovalProcess,
// Display purpose columns
acctyptxt.acc_type_desc as AccountTypeDesp,
domaintxt.ddtext as StatusDesp,
curr_desp.ktext as CurrencyDesp,
tgsbt.gtext as BusinessAreaDesp,
fagl_segmt.name as SegmentDesp,
bsimport.import_type_desc as EoDImportDesp,
//bsimport2.import_type_desc as IntradayImportDesp,
countries.landx as BankCountryDesp,
case header.AccountNumber
when '' then VFCLM_BAM_DDL_ACCNUMTXT.ddtext
else header.AccountNumber
end as AccountNumberDesp,
// Extension
$extension.*
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BANK",
"VFCLM_BAM_DDL_ACCNUMTXT",
"VFCLM_BAM_DDL_ACCOUNTINAPPROC",
"VFCLM_BAM_DDL_ACCOUNTSTATUS",
"VFCLM_BAM_DDL_AMD",
"FAGL_SEGMT",
"FCLM_BAM_AC_TYPT",
"FCLM_BAM_AMD_T",
"FCLM_BAM_BSIMP_T",
"T002",
"T005T",
"TCURT",
"TGSBT"
],
"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