I_PubSecParticipantAccountVH

DDL: I_PUBSECPARTICIPANTACCOUNTVH SQL: IPSMPRTCPNTACTVH Type: view COMPOSITE Package: PSM_S4C_INTEREST_APPORTIONMENT

Participating Accounts

I_PubSecParticipantAccountVH is a Composite CDS View that provides data about "Participating Accounts" in SAP S/4HANA. It reads from 1 data source (I_GLAccountForPublicSector) and exposes 6 fields with key fields ChartOfAccounts, GLAccount. It has 1 association to related views. Part of development package PSM_S4C_INTEREST_APPORTIONMENT.

Data Sources (1)

SourceAliasJoin Type
I_GLAccountForPublicSector I_GLAccountForPublicSector from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_PubSecBdgtCnsmpnTypeText _BudgetConsumptionTypeText $projection.PubSecBudgetCnsmpnType = _BudgetConsumptionTypeText.PubSecBudgetCnsmpnType

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IPSMPRTCPNTACTVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Participating Accounts view
VDM.viewType #COMPOSITE view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey GLAccount view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
Search.searchable true view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts ChartOfAccounts
KEY GLAccount GLAccount
PubSecBudgetCnsmpnType PubSecBudgetCnsmpnType
_Text _Text
_BudgetConsumptionTypeText _BudgetConsumptionTypeText
_ChartOfAccounts _ChartOfAccounts
@AbapCatalog.sqlViewName: 'IPSMPRTCPNTACTVH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Participating Accounts'
@VDM.viewType: #COMPOSITE

@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.representativeKey: 'GLAccount'
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M

@Search.searchable: true

@ClientHandling.algorithm: #SESSION_VARIABLE

@Metadata.ignorePropagatedAnnotations: true

define view I_PubSecParticipantAccountVH
  as select from I_GLAccountForPublicSector
  association [0..*] to I_PubSecBdgtCnsmpnTypeText as _BudgetConsumptionTypeText on $projection.PubSecBudgetCnsmpnType = _BudgetConsumptionTypeText.PubSecBudgetCnsmpnType
{
      @ObjectModel.foreignKey.association: '_ChartOfAccounts'
  key ChartOfAccounts,
      @ObjectModel.text.association: '_Text'
      //@Consumption.hidden: true

      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
  key GLAccount,
      @ObjectModel.text.association: '_BudgetConsumptionTypeText'
      PubSecBudgetCnsmpnType,
      //_BudgetConsumptionTypeText[1:Language = $session.system_language].PubSecBudgetCnsmpnTypeText,



      _Text,
      _BudgetConsumptionTypeText,

      @Consumption.hidden: true
      _ChartOfAccounts
}
where
      PubSecBudgetCnsmpnType = '56'
  or  PubSecBudgetCnsmpnType = '57'
  or  PubSecBudgetCnsmpnType = '01'
  and ChartOfAccounts        = 'YCOA'