A_CnsldtnPrftCtrHierForElimT

DDL: A_CNSLDTNPRFTCTRHIERFORELIMT SQL: ACSPRFTCNTRHET Type: view COMPOSITE Package: FIN_CS_MD_API

Cmbnd Profit Center for Elim Hier - Txt

A_CnsldtnPrftCtrHierForElimT is a Composite CDS View that provides data about "Cmbnd Profit Center for Elim Hier - Txt" in SAP S/4HANA. It reads from 2 data sources (A_CnsldtnProfitCenterHier, I_CnsldtnProfitCenterHierNodeT) and exposes 10 fields with key fields ControllingArea, AdditionalMasterDataHierarchy, HierarchyNode, ValidityEndDate, Language. It has 2 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 (2)

SourceAliasJoin Type
A_CnsldtnProfitCenterHier _HierNode inner
I_CnsldtnProfitCenterHierNodeT _HierNodeText from

Associations (2)

CardinalityTargetAliasCondition
[0..1] A_CnsldtnProfitCenterHierDir _CnsldtnProfitCenterHierDir $projection.AdditionalMasterDataHierarchy = _CnsldtnProfitCenterHierDir.AdditionalMasterDataHierarchy and $projection.ValidityEndDate = _CnsldtnProfitCenterHierDir.ValidityEndDate
[0..1] A_CnsldtnControllingArea _CnsldtnControllingArea $projection.ControllingArea = _CnsldtnControllingArea.ControllingArea

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName ACSPRFTCNTRHET view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey HierarchyNode view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Cmbnd Profit Center for Elim Hier - Txt view
OData.entitySet.name ProfitCenterHierForElimText view

OData Services (5)

ServiceBindingVersionContractRelease
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 (10)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea I_CnsldtnProfitCenterHierNodeT ControllingArea Controlling Area
KEY AdditionalMasterDataHierarchy
KEY HierarchyNode I_CnsldtnProfitCenterHierNodeT HierarchyNode Node
KEY ValidityEndDate I_CnsldtnProfitCenterHierNodeT ValidityEndDate ValidTo
KEY Language I_CnsldtnProfitCenterHierNodeT Language Report Text Language
HierarchyNodeText I_CnsldtnProfitCenterHierNodeT HierarchyNodeText
ValidityStartDate I_CnsldtnProfitCenterHierNodeT ValidityStartDate Validity Start Date
NodeType A_CnsldtnProfitCenterHier NodeType Object Type
_CnsldtnProfitCenterHierDir _CnsldtnProfitCenterHierDir
_CnsldtnControllingArea _CnsldtnControllingArea

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_CnsldtnPrftCtrHierForElimT.
-- 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: ACSPRFTCNTRHET

CREATE VIEW A_CnsldtnPrftCtrHierForElimT AS
SELECT
  _HierNodeText.ControllingArea AS ControllingArea,
  cast(_HierNodeText.ConsolidationPrftCtrHierarchy as fincs_hryid_profitcenter) AS AdditionalMasterDataHierarchy,
  _HierNodeText.HierarchyNode AS HierarchyNode,
  _HierNodeText.ValidityEndDate AS ValidityEndDate,
  _HierNodeText.Language AS Language,
  _HierNodeText.HierarchyNodeText AS HierarchyNodeText,
  _HierNodeText.ValidityStartDate AS ValidityStartDate,
  _HierNode.NodeType AS NodeType
FROM I_CnsldtnProfitCenterHierNodeT AS _HierNodeText
INNER JOIN A_CnsldtnProfitCenterHier AS _HierNode ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN A_CnsldtnProfitCenterHierDir AS _CnsldtnProfitCenterHierDir ON AdditionalMasterDataHierarchy = _CnsldtnProfitCenterHierDir.AdditionalMasterDataHierarchy AND ValidityEndDate = _CnsldtnProfitCenterHierDir.ValidityEndDate  -- association [0..1]
LEFT OUTER JOIN A_CnsldtnControllingArea AS _CnsldtnControllingArea ON ControllingArea = _CnsldtnControllingArea.ControllingArea  -- association [0..1]
;