C_BalanceAuditTrailAccount

DDL: C_BALANCEAUDITTRAILACCOUNT SQL: CFINS_BAT_ACCNTS Type: view CONSUMPTION

C_BalanceAuditTrailAccount is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (I_GLAccount, I_GLAccountText) and exposes 5 fields with key fields CompanyCode, GLAccount, Language.

Data Sources (2)

SourceAliasJoin Type
I_GLAccount I_GLAccount from
I_GLAccountText I_GLAccountText inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CFINS_BAT_ACCNTS view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
Search.searchable true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_GLAccount CompanyCode
KEY GLAccount I_GLAccount GLAccount
KEY Language I_GLAccountText Language
GLAccountName I_GLAccountText GLAccountName
GLAccountLongName I_GLAccountText GLAccountLongName
@AbapCatalog.sqlViewName: 'CFINS_BAT_ACCNTS'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@Search.searchable: true
@VDM.viewType: #CONSUMPTION

@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #MASTER

define view C_BalanceAuditTrailAccount as select from I_GLAccount
inner join I_GLAccountText on I_GLAccount.GLAccount = I_GLAccountText.GLAccount
                            and I_GLAccount.ChartOfAccounts = I_GLAccountText.ChartOfAccounts  
                            {
    key I_GLAccount.CompanyCode,
    @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7}
    key I_GLAccount.GLAccount,
    key I_GLAccountText.Language, 
    I_GLAccountText.GLAccountName,
    I_GLAccountText.GLAccountLongName
} where I_GLAccount.IsOpenItemManaged = 'X'
                                                           
  
  
  
 /*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_GLACCOUNT",
"I_GLACCOUNTTEXT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/