I_BUSINESSPARTNERBANKTP
Association View for bank details
I_BUSINESSPARTNERBANKTP is a CDS View in S/4HANA. Association View for bank details. It contains 22 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_BusinessPartnerBank | view | from | CONSUMPTION | BP Bank Consumption View |
Fields (22)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | BankIdentification | BankIdentification | 1 |
| KEY | BusinessPartner | BusinessPartner | 1 |
| AliasType | AliasType | 1 | |
| BankAccount | BankAccount | 1 | |
| BankAccountHolderName | BankAccountHolderName | 1 | |
| BankAccountName | BankAccountName | 1 | |
| BankAccountReferenceText | BankAccountReferenceText | 1 | |
| BankControlKey | BankControlKey | 1 | |
| BankCountryKey | BankCountryKey | 1 | |
| BankIdentificationForEdit | BankIdentificationForEdit | 1 | |
| BankName | BankName | 1 | |
| BankNumber | BankNumber | 1 | |
| BankValidityEndDate | BankValidityEndDate | 1 | |
| BankValidityStartDate | BankValidityStartDate | 1 | |
| BPBankAccountAliasName | BPBankAccountAliasName | 1 | |
| BPBankIsProtected | BPBankIsProtected | 1 | |
| BusinessPartnerForEdit | BusinessPartnerForEdit | 1 | |
| CollectionAuthInd | CollectionAuthInd | 1 | |
| IBAN | IBAN | 1 | |
| IBANValidityStartDate | IBANValidityStartDate | 1 | |
| PaymentSystem | PaymentSystem | 1 | |
| SWIFTCode | SWIFTCode | 1 |
@AbapCatalog.sqlViewName: 'IBUPABANKTP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'Association View for bank details'
@VDM.viewType: #TRANSACTIONAL
@ObjectModel.writeEnabled: true
@ObjectModel.writeDraftPersistence: 'BUPA_BANK_D'
@ObjectModel.semanticKey: [ 'BankIdentification', 'BusinessPartner' ]
@ObjectModel.draftEnabled:true
@ObjectModel.createEnabled
@ObjectModel.deleteEnabled
@ObjectModel.updateEnabled
@Search.searchable: true
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #MASTER
define view I_BusinessPartnerBankTP
as select from I_BusinessPartnerBank as BusinessPartnerBank
association [1..1] to I_BusinessPartnerTP as _BusinessPartner on $projection.BusinessPartner = _BusinessPartner.BusinessPartner
//// association [0..1] to I_DraftAdministrativeData as _DraftAdministrativeData on _DraftAdministrativeData.DraftUUID = $projection.DraftAdministrativeDataUUID
//// association [0..1] to i_businesspartnerbanktp as _SiblingEntity on $projection.IsActiveEntity <> _SiblingEntity.IsActiveEntity
//// and $projection.BusinessPartner = _SiblingEntity.BusinessPartner
//// and $projection.BankIdentification = _SiblingEntity.BankIdentification
{
// @Consumption.hidden: true
//// key BusinessPartnerBank.DraftUUID,
// @Consumption.hidden: true
key BusinessPartnerBank.BankIdentification,
// @Consumption.hidden: true
key BusinessPartnerBank.BusinessPartner,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
BusinessPartnerBank.BankIdentification as BankIdentificationForEdit,
BusinessPartnerBank.BusinessPartner as BusinessPartnerForEdit,
//// BusinessPartnerBank.ParentDraftUUID,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
BusinessPartnerBank.BankCountryKey,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
BusinessPartnerBank.BankName,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
BusinessPartnerBank.BankNumber,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
@ObjectModel.readOnly: true
BusinessPartnerBank.SWIFTCode,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
BusinessPartnerBank.BankControlKey,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
BusinessPartnerBank.BankAccountHolderName,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
BusinessPartnerBank.BankAccountName,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
BusinessPartnerBank.IBAN,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
BusinessPartnerBank.IBANValidityStartDate,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
BusinessPartnerBank.BankAccount,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
BusinessPartnerBank.BankAccountReferenceText,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
BusinessPartnerBank.CollectionAuthInd,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
cast(
case
when BusinessPartnerBank.IBAN is null
then ''
else 'X'
end as boole_d) as AutoIBAN,
@ObjectModel.readOnly: true
BusinessPartnerBank.BPBankIsProtected,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
//cast(substring (cast(BusinessPartnerBank.ValidityStartDate as abap.char(32)),1,8) as abap.dats) as BankValidityStartDate,
tstmp_to_dats(BusinessPartnerBank.ValidityStartDate,'UTC', $session.client, 'NULL') as BankValidityStartDate,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
//cast(substring (cast(BusinessPartnerBank.ValidityEndDate as abap.char(32)),1,8) as abap.dats) as BankValidityEndDate,
tstmp_to_dats(BusinessPartnerBank.ValidityEndDate,'UTC', $session.client, 'NULL') as BankValidityEndDate,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
BusinessPartnerBank.ValidityStartDate,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
BusinessPartnerBank.ValidityEndDate,
BusinessPartnerBank._BusinessPartnerBankAlias.PaymentSystem,
BusinessPartnerBank._BusinessPartnerBankAlias.AliasType,
BusinessPartnerBank._BusinessPartnerBankAlias.BPBankAccountAliasName,
//// BusinessPartnerBank.IsActiveEntity,
//// BusinessPartnerBank.HasActiveEntity,
//// BusinessPartnerBank.HasDraftEntity,
//new
//// BusinessPartnerBank.DraftAdministrativeDataUUID,
@ObjectModel.association.type: [ #TO_COMPOSITION_ROOT,#TO_COMPOSITION_PARENT ]
_BusinessPartner
//// _DraftAdministrativeData,
//// _SiblingEntity
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUSINESSPARTNERBANK",
"I_BUSINESSPARTNERBANKALIAS"
],
"ASSOCIATED":
[
"I_BUSINESSPARTNERTP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/