P_CnsldtnFinancialDataSourceT

DDL: P_CNSLDTNFINANCIALDATASOURCET Type: view_entity COMPOSITE Package: FIN_CS_MD_FINANCIAL_SERVICES

Consolidation Financial Data Source - Text

P_CnsldtnFinancialDataSourceT is a Composite CDS View that provides data about "Consolidation Financial Data Source - Text" in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnAddlMD, I_FinancialDataSourceT) and exposes 9 fields with key fields Language, FinancialDataSource, FinancialDataSource. Part of development package FIN_CS_MD_FINANCIAL_SERVICES.

Data Sources (2)

SourceAliasJoin Type
I_CnsldtnAddlMD _AdditionalMasterData union_all
I_FinancialDataSourceT _Source from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY Language I_FinancialDataSourceT Language
KEY FinancialDataSource
AdditionalMasterDataSource
CnsldtnIsAdditionalMasterData
LanguageasLanguage
KEY FinancialDataSource I_CnsldtnAddlMD AdditionalMasterDataCode
AdditionalMasterDataSource
CnsldtnIsAdditionalMasterData
FinancialDataSourceName
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType: {
  dataClass: #MASTER,
  serviceQuality: #B,
  sizeCategory: #M
}
@VDM:{
  viewType: #COMPOSITE,
  private:true
}
define view entity P_CnsldtnFinancialDataSourceT
  as select from I_FinancialDataSourceT as _Source
{

  key _Source.Language,

  key cast( _Source.FinancialDataSource as fincs_financialdatasource preserving type ) as FinancialDataSource,

      cast ( 'ACCTG' as fincs_masterdatasource )                                       as AdditionalMasterDataSource,

      cast ( ' ' as fincs_isadditionalmasterdata preserving type )                     as CnsldtnIsAdditionalMasterData,

      _Source.FinancialDataSourceName
}


union all select from I_CnsldtnAddlMD as _AdditionalMasterData
{

  key _AdditionalMasterData._Text.Language                         as Language,

  key _AdditionalMasterData.AdditionalMasterDataCode               as FinancialDataSource,

      cast ( 'CNSLDTN' as fincs_masterdatasource )                 as AdditionalMasterDataSource,

      cast ( 'X' as fincs_isadditionalmasterdata preserving type ) as CnsldtnIsAdditionalMasterData,

      _AdditionalMasterData._Text.AdditionalMasterDataText         as FinancialDataSourceName
}
where
      _AdditionalMasterData.AdditionalCharcFieldName =  'DATASOURCE_ID'
  and _AdditionalMasterData.AdditionalMasterDataCode <> ''