FINCS_MD_CONSUNIT_2
FINCS_MD_CONSUNIT_2 is a CDS View in SAP S/4HANA. It reads from 1 data source (I_CnsldtnUnitOverview) and exposes 23 fields with key fields ConsolidationDimension, ConsolidationUnit, ConsolidationVersion, FromFiscalYearPeriod. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnUnitOverview | I_CnsldtnUnitOverview | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_Language | spras |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_CnsldtnUnitText | _CnsldtnUnitText | $projection.ConsolidationDimension = _CnsldtnUnitText.ConsolidationDimension and $projection.ConsolidationUnit = _CnsldtnUnitText.ConsolidationUnit |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FINCSMDCONSUNIT2 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #ORGANIZATIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConsolidationDimension | ConsolidationDimension | Dimension | |
| KEY | ConsolidationUnit | ConsolidationUnit | Consolidation Unit | |
| KEY | ConsolidationVersion | ConsolidationVersion | Version | |
| KEY | FromFiscalYearPeriod | |||
| ToFiscalYearPeriod | ||||
| Language | ||||
| ConsolidationUnitText | ||||
| ConsolidationUnitMdmText | ||||
| ConsolidationUnitLongText | ||||
| Country | Country | Venue: Ctry/Reg | ||
| ConsolidationUnitLink | ConsolidationUnitLink | |||
| ConsolidationUnitLinkLabel | ConsolidationUnitLinkLabel | |||
| Company | Company | Owner | ||
| ConsolidationUnitLocalCurrency | ConsolidationUnitLocalCurrency | |||
| ConsolidationUnitIsPartnerOnly | ConsolidationUnitIsPartnerOnly | |||
| CnsldtnUnitLocalCrcySource | CnsldtnUnitLocalCrcySource | |||
| CnsldtnUnitGroupCrcySource | CnsldtnUnitGroupCrcySource | |||
| FiscalYearVariant | FiscalYearVariant | FY Variant | ||
| CnsldtnDataTransferMethod | CnsldtnDataTransferMethod | |||
| CnsldtnUploadMethod | CnsldtnUploadMethod | |||
| CnsldtnCrcyTranslationMethod | CnsldtnCrcyTranslationMethod | |||
| TaxRate | TaxRate | Tax Rate | ||
| DocumentEntryIsInGroupCurrency | DocumentEntryIsInGroupCurrency |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view FINCS_MD_CONSUNIT_2.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: FINCSMDCONSUNIT2
-- Parameters: P_Language : spras
CREATE VIEW FINCS_MD_CONSUNIT_2 AS
SELECT
ConsolidationDimension,
ConsolidationUnit,
ConsolidationVersion,
cast( FromFiscalYearPeriod as jahrper ) AS FromFiscalYearPeriod,
cast( ToFiscalYearPeriod as jahrper ) AS ToFiscalYearPeriod,
$parameters.P_Language AS Language,
_CnsldtnUnitText[1: Language=$parameters.P_Language].ConsolidationUnitText AS ConsolidationUnitText,
_CnsldtnUnitText[1: Language=$parameters.P_Language].ConsolidationUnitMdmText AS ConsolidationUnitMdmText,
_CnsldtnUnitText[1: Language=$parameters.P_Language].ConsolidationUnitLongText AS ConsolidationUnitLongText,
Country,
ConsolidationUnitLink,
ConsolidationUnitLinkLabel,
Company,
ConsolidationUnitLocalCurrency,
ConsolidationUnitIsPartnerOnly,
CnsldtnUnitLocalCrcySource,
CnsldtnUnitGroupCrcySource,
FiscalYearVariant,
CnsldtnDataTransferMethod,
CnsldtnUploadMethod,
CnsldtnCrcyTranslationMethod,
TaxRate,
DocumentEntryIsInGroupCurrency
FROM I_CnsldtnUnitOverview
LEFT OUTER JOIN C_CnsldtnUnitText AS _CnsldtnUnitText ON ConsolidationDimension = _CnsldtnUnitText.ConsolidationDimension AND ConsolidationUnit = _CnsldtnUnitText.ConsolidationUnit -- association [0..*]
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA