A_CnsldtnPartnerUnit
Partner Consolidation Unit
A_CnsldtnPartnerUnit is a Composite CDS View that provides data about "Partner Consolidation Unit" in SAP S/4HANA. It reads from 1 data source (I_CnsldtnUnitEnhcd_2) and exposes 12 fields with key field ConsolidationUnit. It has 6 associations to related views. It is exposed through 5 OData services (ASQL_F7093, ASQL_F7094, ASQL_F7095, ...). Part of development package FIN_CS_MD_API.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnUnitEnhcd_2 | I_CnsldtnUnitEnhcd_2 | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | A_CnsldtnPartnerUnitT | _CnsldtnPartnerUnitT | $projection.ConsolidationDimension = _CnsldtnPartnerUnitT.ConsolidationDimension and $projection.ConsolidationUnit = _CnsldtnPartnerUnitT.ConsolidationUnit |
| [0..1] | A_CnsldtnDimension | _CnsldtnDimension | $projection.ConsolidationDimension = _CnsldtnDimension.ConsolidationDimension |
| [0..*] | A_CnsldtnPartnerUnitHier | _CnsldtnPartnerUnitHier | $projection.ConsolidationDimension = _CnsldtnPartnerUnitHier.ConsolidationDimension and $projection.MDHierType = _CnsldtnPartnerUnitHier.MDHierType |
| [0..1] | A_CnsldtnUnitLatestLocalCrcy | _CnsldtnUnitLatestLocalCrcy | $projection.ConsolidationDimension = _CnsldtnUnitLatestLocalCrcy.ConsolidationDimension and $projection.ConsolidationUnit = _CnsldtnUnitLatestLocalCrcy.ConsolidationUnit |
| [0..*] | A_CnsldtnTransCurrencyT | _CnsldtnTransCurrencyT | $projection.ConsolidationUnitLocalCurrency = _CnsldtnTransCurrencyT.Currency |
| [0..*] | A_CnsldtnCountryT | _CnsldtnCountryT | $projection.Country = _CnsldtnCountryT.Country |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ACSPARTNERUNIT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.representativeKey | ConsolidationUnit | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| EndUserText.label | Partner Consolidation Unit | view | |
| OData.entitySet.name | PartnerCnsldtnUnit | view |
OData Services (5)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F7093 | ASQL_F7093 | C2 | NOT_RELEASED | |
| ASQL_F7094 | ASQL_F7094 | C2 | NOT_RELEASED | |
| ASQL_F7095 | ASQL_F7095 | C2 | NOT_RELEASED | |
| ASQL_F7096 | ASQL_F7096 | C2 | NOT_RELEASED | |
| ASQL_F7867 | ASQL_F7867 | C2 | NOT_RELEASED |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConsolidationUnit | Partner Unit | ||
| ConsolidationDimension | ConsolidationDimension | Dimension | ||
| MDHierType | ||||
| HierarchyType | ||||
| ConsolidationUnitLocalCurrency | ConsolidationUnitLocalCurrency | |||
| Country | Country | Venue: Ctry/Reg | ||
| _CnsldtnDimension | _CnsldtnDimension | |||
| _CnsldtnPartnerUnitT | _CnsldtnPartnerUnitT | |||
| _CnsldtnPartnerUnitHier | _CnsldtnPartnerUnitHier | |||
| _CnsldtnUnitLatestLocalCrcy | _CnsldtnUnitLatestLocalCrcy | |||
| _CnsldtnTransCurrencyT | _CnsldtnTransCurrencyT | |||
| _CnsldtnCountryT | _CnsldtnCountryT |
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 A_CnsldtnPartnerUnit.
-- 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: ACSPARTNERUNIT
CREATE VIEW A_CnsldtnPartnerUnit AS
SELECT
cast(ConsolidationUnit as fincs_partnerconsolidationunit preserving type ) AS ConsolidationUnit,
ConsolidationDimension,
cast( 'CS17' as hrytype preserving type ) AS MDHierType,
cast( 'CS17' as hrytype preserving type ) AS HierarchyType,
ConsolidationUnitLocalCurrency,
Country
FROM I_CnsldtnUnitEnhcd_2
LEFT OUTER JOIN A_CnsldtnPartnerUnitT AS _CnsldtnPartnerUnitT ON ConsolidationDimension = _CnsldtnPartnerUnitT.ConsolidationDimension AND ConsolidationUnit = _CnsldtnPartnerUnitT.ConsolidationUnit -- association [0..*]
LEFT OUTER JOIN A_CnsldtnDimension AS _CnsldtnDimension ON ConsolidationDimension = _CnsldtnDimension.ConsolidationDimension -- association [0..1]
LEFT OUTER JOIN A_CnsldtnPartnerUnitHier AS _CnsldtnPartnerUnitHier ON ConsolidationDimension = _CnsldtnPartnerUnitHier.ConsolidationDimension AND MDHierType = _CnsldtnPartnerUnitHier.MDHierType -- association [0..*]
LEFT OUTER JOIN A_CnsldtnUnitLatestLocalCrcy AS _CnsldtnUnitLatestLocalCrcy ON ConsolidationDimension = _CnsldtnUnitLatestLocalCrcy.ConsolidationDimension AND ConsolidationUnit = _CnsldtnUnitLatestLocalCrcy.ConsolidationUnit -- association [0..1]
LEFT OUTER JOIN A_CnsldtnTransCurrencyT AS _CnsldtnTransCurrencyT ON ConsolidationUnitLocalCurrency = _CnsldtnTransCurrencyT.Currency -- association [0..*]
LEFT OUTER JOIN A_CnsldtnCountryT AS _CnsldtnCountryT ON Country = _CnsldtnCountryT.Country -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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