I_BUDGETACCOUNTTEXT
Budget Account - Text
I_BUDGETACCOUNTTEXT is a CDS View in S/4HANA. Budget Account - Text. It contains 5 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_PubSecBudgetAccountText | view | from | BASIC | Budget Account - Text |
Fields (5)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | Language | Language | 1 |
| KEY | PubSecBudgetAccount | PubSecBudgetAccount | 1 |
| BudgetAccountDescription | BudgetAccountDescription | 1 | |
| BudgetAccountName | BudgetAccountName | 1 | |
| ChartOfAccounts | ChartOfAccounts | 1 |
@AbapCatalog.sqlViewName: 'IPSMS4CBDACT'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Budget Account - Text'
@ObjectModel.dataCategory: #TEXT
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
representativeKey: 'PubSecBudgetAccount',
usageType: {
dataClass: #MASTER,
serviceQuality: #A,
sizeCategory: #S
},
supportedCapabilities: [ #LANGUAGE_DEPENDENT_TEXT ]
}
@AccessControl.privilegedAssociations: ['_ChartOfAccountsText']
define view I_BudgetAccountText
as select from skat
inner join I_GLAccountForPublicSector as GLAcctX on skat.ktopl = GLAcctX.ChartOfAccounts
and skat.saknr = GLAcctX.GLAccount
association [0..*] to I_ChartOfAccountsText as _ChartOfAccountsText on $projection.ChartOfAccounts = _ChartOfAccountsText.ChartOfAccounts
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
association [0..1] to I_ChartOfAccounts as _ChartOfAccounts on $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
{
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_ChartOfAccountsStdVH',
element: 'ChartOfAccounts' }
}]
@ObjectModel.text.association: '_ChartOfAccountsText'
@ObjectModel.foreignKey.association: '_ChartOfAccounts'
key cast( ktopl as fis_ktopl preserving type ) as ChartOfAccounts,
@ObjectModel.text.element: 'BudgetAccountDescription'
key cast( saknr as psm_bdgt_account preserving type ) as PubSecBudgetAccount,
@Semantics.language: true
@ObjectModel.foreignKey.association: '_Language'
key spras as Language,
@Semantics.text: true
cast( txt20 as fmis_budget_account_name ) as BudgetAccountName,
@Semantics.text: true
cast( txt50 as psm_budget_account_desc ) as BudgetAccountDescription,
_Language,
_ChartOfAccounts,
@Consumption.hidden: true
_ChartOfAccountsText
} where GLAcctX.PubSecBdgtAcctRevnExpnCode <> '';