I_Fund

DDL: I_FUND SQL: IFUND Type: view COMPOSITE

Fund

I_Fund is a Composite CDS View (Dimension) that provides data about "Fund" in SAP S/4HANA. It reads from 1 data source (I_FundBasic) and exposes 28 fields with key fields FinancialManagementArea, Fund. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_FundBasic I_FundBasic from

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_Fund _Extension $projection.Fund = _Extension.Fund and $projection.FinancialManagementArea = _Extension.FinancialManagementArea

Annotations (17)

NameValueLevelField
EndUserText.label Fund view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.representativeKey Fund view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName IFUND view
AbapCatalog.preserveKey true view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY FinancialManagementArea FinancialManagementArea
KEY Fund Fund
Customer Customer
ApplicationOfFunds ApplicationOfFunds
FundCreatedBy FundCreatedBy
FundCreatedAt FundCreatedAt
LastChangeUser LastChangeUser
LastChangeDate LastChangeDate
FundAuthznGrp FundAuthznGrp
FundFinMgmtAreaForAuthzn FundFinMgmtAreaForAuthzn
ValidityStartDate ValidityStartDate
ValidityEndDate ValidityEndDate
FundReversalDate FundReversalDate
FundExpirationDate FundExpirationDate
FundType FundType
FundPeriodicity FundPeriodicity
FundResponsibleUser FundResponsibleUser
_FundAuthznGrp _FundAuthznGrp
_FundType _FundType
_FinMgmtArea _FinMgmtArea
_Text _Text
_ApplicationOfFund _ApplicationOfFund
_Customer _Customer
_FundPeriodicity _FundPeriodicity
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_FundHierarchyNode _FundHierarchyNode
_FundToBudgetPeriod _FundToBudgetPeriod
@EndUserText.label: 'Fund'
@Analytics: { dataCategory: #DIMENSION, dataExtraction.enabled: true, internalName: #LOCAL }
@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED
@AccessControl.privilegedAssociations: ['_CreatedByUser', '_LastChangedByUser']
@ObjectModel.representativeKey: 'Fund'
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE,#EXTRACTION_DATA_SOURCE]
@ObjectModel.usageType: {
  dataClass: #MASTER,
  serviceQuality: #A,
  sizeCategory: #L
}
@Metadata.ignorePropagatedAnnotations:true
@Metadata.allowExtensions:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'IFUND'
@AbapCatalog.preserveKey: true
define view I_Fund
  as select from I_FundBasic

     association [1..1] to E_Fund as _Extension  //do not expose this association in the projection list of the view

       on  $projection.Fund                       = _Extension.Fund
       and $projection.FinancialManagementArea    = _Extension.FinancialManagementArea

{
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_FinMgmtAreaStdVH',
                     element: 'FinancialManagementArea' }
        }]
      @ObjectModel.foreignKey.association: '_FinMgmtArea'
  key FinancialManagementArea,

      @ObjectModel.text.association: '_Text'
      @ObjectModel.hierarchy.association: '_FundHierarchyNode'
  key Fund,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_Customer_VH',
                     element: 'Customer' }
        }]
      @ObjectModel.foreignKey.association: '_Customer'
      Customer,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_ApplicationOfFund',
                     element: 'ApplicationOfFunds' },
          additionalBinding: [{ localElement: 'FinancialManagementArea',
                                element: 'FinancialManagementArea' }]
        }]
      @ObjectModel.foreignKey.association: '_ApplicationOfFund'
      ApplicationOfFunds,
      @Consumption.valueHelpDefinition: { entity: { name: 'I_BusinessUserVH', element: 'UserID' } }
      FundCreatedBy,
//      @ObjectModel.readOnly: true --> leads to ATC error

      @Semantics.systemDate.createdAt: true
      FundCreatedAt,
//      @ObjectModel.readOnly: true --> leads to ATC error

      @Consumption.valueHelpDefinition: { entity: { name: 'I_BusinessUserVH', element: 'UserID' } }
      LastChangeUser,
      @Semantics.systemDate.lastChangedAt: true
      LastChangeDate,
      @Consumption.valueHelpDefinition: [
      { entity:  { name:    'I_FundAuthznGrp',
              element: 'FundAuthznGrp' }
      }]
      @ObjectModel.foreignKey.association: '_FundAuthznGrp'
      FundAuthznGrp,
      FundFinMgmtAreaForAuthzn,
      @Semantics.businessDate.from: true
      ValidityStartDate,
      @Semantics.businessDate.to: true
      ValidityEndDate,
      FundReversalDate,
      FundExpirationDate,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_FundType',
                     element: 'FundType' },
          additionalBinding: [{ localElement: 'FinancialManagementArea',
                                element: 'FinancialManagementArea' }]
        }]
      @ObjectModel.foreignKey.association: '_FundType'
      FundType,
      @Consumption.valueHelpDefinition: [
       { entity:  { name:    'I_FundPeriodicity',
                    element: 'FundPeriodicity' }
       }]
      @ObjectModel.foreignKey.association: '_FundPeriodicity'
      FundPeriodicity,
      FundResponsibleUser,
      _FundAuthznGrp,
      _FundType,
      _FinMgmtArea,
      _Text,
      _ApplicationOfFund,
      _Customer,
      _FundPeriodicity,
      _CreatedByUser,
      _LastChangedByUser,
      _FundHierarchyNode,
      _FundToBudgetPeriod

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_FUNDBASIC"
],
"ASSOCIATED":
[
"E_FUND",
"I_APPLICATIONOFFUND",
"I_CUSTOMER",
"I_FINANCIALMANAGEMENTAREA",
"I_FUNDAUTHZNGRP",
"I_FUNDHIERARCHYNODE",
"I_FUNDPERIODICITY",
"I_FUNDTEXT",
"I_FUNDTOBUDGETPERIOD",
"I_FUNDTYPE",
"I_USER"
],
"BASE":
[
"I_FUNDBASIC"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/