I_CarryForwardBudgetAccount

DDL: I_CARRYFORWARDBUDGETACCOUNT SQL: IPSMS4CCFBDACCT Type: view BASIC

Carry Forward Budget Accounts

I_CarryForwardBudgetAccount is a Basic CDS View that provides data about "Carry Forward Budget Accounts" in SAP S/4HANA. It reads from 2 data sources (psm_d_glacctx, ska1) and exposes 5 fields with key fields ChartOfAccounts, PubSecBdgtAcctCarryFwdTo. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
psm_d_glacctx Main from
ska1 ska1 inner

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
[0..*] I_BudgetAccountText _Text $projection.ChartOfAccounts = _Text.ChartOfAccounts and $projection.PubSecBdgtAcctCarryFwdTo = _Text.PubSecBudgetAccount

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IPSMS4CCFBDACCT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Carry Forward Budget Accounts view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey PubSecBdgtAcctCarryFwdTo view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts
KEY PubSecBdgtAcctCarryFwdTo
PubSecBdgtAcctCarryFwdExt
_ChartOfAccounts _ChartOfAccounts
_Text _Text
@AbapCatalog.sqlViewName: 'IPSMS4CCFBDACCT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Carry Forward Budget Accounts'

@VDM.viewType: #BASIC
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
     representativeKey: 'PubSecBdgtAcctCarryFwdTo',
     usageType: {
         dataClass: #MASTER,
         serviceQuality: #C,
         sizeCategory: #L
     }
}

define view I_CarryForwardBudgetAccount
  as select from psm_d_glacctx as Main
    inner join   ska1 on  ska1.ktopl = Main.chrt_accts
                      and ska1.saknr = Main.gl_account
  association [0..1] to I_ChartOfAccounts   as _ChartOfAccounts on  $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
  association [0..*] to I_BudgetAccountText as _Text            on  $projection.ChartOfAccounts          = _Text.ChartOfAccounts
                                                                and $projection.PubSecBdgtAcctCarryFwdTo = _Text.PubSecBudgetAccount
{
      @ObjectModel.foreignKey.association: '_ChartOfAccounts'
  key cast( Main.chrt_accts as fis_ktopl preserving type )           as ChartOfAccounts,
      @ObjectModel.text.association: '_Text'
  key cast( Main.gl_account as psm_bdgt_acct_cf_to preserving type ) as PubSecBdgtAcctCarryFwdTo,
      cast( ska1.sakan as psm_bdgt_acct_cf_ext preserving type )     as PubSecBdgtAcctCarryFwdExt,

      // Associations

      _ChartOfAccounts,
      _Text
}
where
      Main.bdgt_acct_rev_or_exp <> ''
  and Main.bdgt_acct_cf_use     =  'X'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"PSM_D_GLACCTX",
"SKA1"
],
"ASSOCIATED":
[
"I_BUDGETACCOUNTTEXT",
"I_CHARTOFACCOUNTS"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/