A_CnsldtnProfitCenter

DDL: A_CNSLDTNPROFITCENTER Type: view COMPOSITE

Combined Profit Center

A_CnsldtnProfitCenter is a Composite CDS View that provides data about "Combined Profit Center" in SAP S/4HANA. It reads from 1 data source (I_CnsldtnProfitCenter) and exposes 8 fields with key fields ProfitCenter, ControllingArea. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CnsldtnProfitCenter I_CnsldtnProfitCenter from

Associations (3)

CardinalityTargetAliasCondition
[1..1] A_CnsldtnControllingArea _CnsldtnControllingArea $projection.ControllingArea = _CnsldtnControllingArea.ControllingArea
[0..*] A_CnsldtnProfitCenterT _CnsldtnProfitCenterT $projection.ProfitCenter = _CnsldtnProfitCenterT.ProfitCenter and $projection.ControllingArea = _CnsldtnProfitCenterT.ControllingArea
[0..*] A_CnsldtnProfitCenterHier _CnsldtnProfitCenterHier $projection.ControllingArea = _CnsldtnProfitCenterHier.ControllingArea and $projection.MDHierType = _CnsldtnProfitCenterHier.MDHierType

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ACSPROFITCENTER view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.representativeKey ProfitCenter view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Combined Profit Center view
OData.entitySet.name ProfitCenter view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ProfitCenter ProfitCenter Profit Center
KEY ControllingArea ControllingArea Controlling Area
AdditionalMasterDataSource AdditionalMasterDataSource
MDHierType
HierarchyType
_CnsldtnControllingArea _CnsldtnControllingArea
_CnsldtnProfitCenterT _CnsldtnProfitCenterT
_CnsldtnProfitCenterHier _CnsldtnProfitCenterHier

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_CnsldtnProfitCenter.
-- 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.

CREATE VIEW A_CnsldtnProfitCenter AS
SELECT
  ProfitCenter,
  ControllingArea,
  AdditionalMasterDataSource,
  cast ( 'CS04' as fincs_hierarchytype ) AS MDHierType,
  cast ( 'CS04' as fincs_hierarchytype ) AS HierarchyType
FROM I_CnsldtnProfitCenter
LEFT OUTER JOIN A_CnsldtnControllingArea AS _CnsldtnControllingArea ON ControllingArea = _CnsldtnControllingArea.ControllingArea  -- association [1..1]
LEFT OUTER JOIN A_CnsldtnProfitCenterT AS _CnsldtnProfitCenterT ON ProfitCenter = _CnsldtnProfitCenterT.ProfitCenter AND ControllingArea = _CnsldtnProfitCenterT.ControllingArea  -- association [0..*]
LEFT OUTER JOIN A_CnsldtnProfitCenterHier AS _CnsldtnProfitCenterHier ON ControllingArea = _CnsldtnProfitCenterHier.ControllingArea AND MDHierType = _CnsldtnProfitCenterHier.MDHierType  -- association [0..*]
;