I_BkAcctIntIDVH

DDL: I_BKACCTINTIDVH Type: view BASIC

Technical ID

I_BkAcctIntIDVH is a Basic CDS View that provides data about "Technical ID" in SAP S/4HANA. It reads from 1 data source (fclm_bam_amd) and exposes 10 fields with key field BankAccountInternalID.

Data Sources (1)

SourceAliasJoin Type
fclm_bam_amd amd from

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName IBKACCTINTIDVH view
AbapCatalog.compiler.compareFilter true view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.dataCategory #VALUE_HELP view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
EndUserText.label Technical ID view
Search.searchable true view
UI.headerInfo.typeName Bank Account view
UI.headerInfo.typeNamePlural Bank Accounts view
UI.headerInfo.typeImageUrl sap-icon: title: { value: view
Consumption.ranked true view
AbapCatalog.preserveKey true view
ObjectModel.representativeKey BankAccountInternalID view
AccessControl.personalData.blocking true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY BankAccountInternalID fclm_bam_amd acc_id
BankAccountNumber fclm_bam_amd acc_num
BankAccountDescription desc description
BankAccountCurrency fclm_bam_amd waers
CompanyCode fclm_bam_amd bukrs
BankAccountType fclm_bam_amd acc_type_id
Bank fclm_bam_amd bankl
BankCountry fclm_bam_amd banks
IBAN fclm_bam_amd iban
SWIFTCode bank swift
@AbapCatalog: {
  sqlViewName: 'IBKACCTINTIDVH',
  compiler.compareFilter: true
}

@ClientHandling: {
  type:      #CLIENT_DEPENDENT,
  algorithm: #SESSION_VARIABLE
}

@ObjectModel: {
  usageType: {
    serviceQuality: #B,
    sizeCategory:   #S,
    dataClass:      #CUSTOMIZING
  }
}
@ObjectModel.dataCategory:#VALUE_HELP
@AccessControl.authorizationCheck: #MANDATORY
@VDM.viewType: #BASIC
@EndUserText.label: 'Technical ID'
@Search.searchable: true

@UI.headerInfo: {
  typeName:       'Bank Account',
  typeNamePlural: 'Bank Accounts',
  typeImageUrl:   'sap-icon://appointment-2',

  title:          { value: 'BankAccountInternalID' }
}

@Consumption.ranked: true
@AbapCatalog.preserveKey:true 
@ObjectModel.representativeKey: 'BankAccountInternalID'
@AccessControl.personalData.blocking: true

/* Comment of Usage
There are several bank account value helps provided.
This cds view will return bank account with inactive bank accounts and all activated ones.
If it does not meet your requirment, you may check below value help CDS Views.
I_BankAccountVH
I_BankAccountStdVH
I_BankAcctIdVH
C_BankAcctIdVH
C_BankAccountVH

I_BankAcctNumberVH
*/

define view I_BkAcctIntIDVH
  as select from    fclm_bam_amd        as amd
    left outer to one join fclm_bam_amd_t      as desc    on  amd.acc_id        =  desc.acc_id
                                                   and amd.revision      =  desc.revision
                                                   and desc.langu        = $session.system_language
                                                   and desc.deleted_flag <> 'X'
    left outer to one join bnka                as bank    on  amd.banks = bank.banks
                                                   and amd.bankl = bank.bankl
{
      @UI.lineItem: [
       { position: 1, importance: #HIGH }
       ]
      @Search: {
        defaultSearchElement: true,
        ranking: #HIGH,
        fuzzinessThreshold: 0.8
      }
  key amd.acc_id               as BankAccountInternalID,
      @UI.lineItem: [
       { position: 2, importance: #HIGH }
       ]
      @UI.fieldGroup: [
        { qualifier: 'Bank Account', position: 1, importance: #HIGH }
      ]
      @Search: {
        defaultSearchElement: true,
        ranking: #LOW,
        fuzzinessThreshold: 0.8
      }
      amd.acc_num              as BankAccountNumber,
      @UI.lineItem: [
      { position: 3, importance: #HIGH }
      ]
      @UI.fieldGroup: [
        { qualifier: 'Bank Account', position: 2, importance: #HIGH }
      ]
      @Search: {
        defaultSearchElement: true,
        ranking: #LOW,
        fuzzinessThreshold: 0.8
      }
      desc.description         as BankAccountDescription,
      @UI.lineItem: [
      { position:4, importance: #HIGH }
      ]
      @UI.fieldGroup: [
        { qualifier: 'Bank Account', position: 3, importance: #HIGH }
      ]
      @Search: {
        defaultSearchElement: true,
        ranking: #LOW,
        fuzzinessThreshold: 0.8
      }
      amd.waers                as BankAccountCurrency,
      @UI.lineItem: [
      { position: 5, importance: #HIGH }
      ]
      @UI.fieldGroup: [
        { qualifier: 'Bank Account', position: 4, importance: #HIGH }
      ]
      @Search: {
        defaultSearchElement: true,
        ranking: #LOW,
        fuzzinessThreshold: 0.8
      }
      amd.bukrs                as CompanyCode,
      @UI.lineItem: [
      { position: 6, importance: #HIGH }
      ]
      @UI.fieldGroup: [
        { qualifier: 'Bank Account', position: 5, importance: #HIGH }
      ]
      @Search: {
        defaultSearchElement: true,
        ranking: #LOW,
        fuzzinessThreshold: 0.8
      }
      amd.acc_type_id          as BankAccountType,
      @UI.lineItem: [
      { position: 7, importance: #HIGH }
      ]
      @UI.fieldGroup: [
        { qualifier: 'Bank Account', position: 6, importance: #HIGH }
      ]
      @Search: {
        defaultSearchElement: true,
        ranking: #LOW,
        fuzzinessThreshold: 0.8
      }
      amd.bankl                as Bank,
      @UI.lineItem: [
      { position: 8, importance: #HIGH }
      ]
      @UI.fieldGroup: [
        { qualifier: 'Bank Account', position: 7, importance: #HIGH }
      ]
      @Search: {
        defaultSearchElement: true,
        ranking: #LOW,
        fuzzinessThreshold: 0.8
      }
      amd.banks                as BankCountry,
      @UI.lineItem: [
      { position: 9, importance: #HIGH }
      ]
      @UI.fieldGroup: [
        { qualifier: 'Bank Account', position: 8, importance: #HIGH }
      ]
      @Search: {
        defaultSearchElement: true,
        ranking: #LOW,
        fuzzinessThreshold: 0.8
      }
      amd.iban                 as IBAN,
      @UI.lineItem: [
      { position: 10, importance: #HIGH }
      ]
      @UI.fieldGroup: [
        { qualifier: 'Bank Account', position: 9, importance: #HIGH }
      ]
      @Search: {
        defaultSearchElement: true,
        ranking: #LOW,
        fuzzinessThreshold: 0.8
      }
      bank.swift               as SWIFTCode
}
where
  (
        amd.revision     =  '0000'
    and amd.status <> '99'
  )
  or(
        amd.revision     =  '0000'
    and amd.open_request_id  is not initial
    and amd.status = '99'
  )
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"BNKA",
"FCLM_BAM_AMD",
"FCLM_BAM_AMD_T"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/