P_CnsldtnFinancialDataSourceT
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)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnAddlMD | _AdditionalMasterData | union_all |
| I_FinancialDataSourceT | _Source | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 <> ''
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA