I_ProfitCenterDetail

DDL: I_PROFITCENTERDETAIL SQL: IFIPROFITCENTERD Type: view BASIC

Profit Center Detail

I_ProfitCenterDetail is a Basic CDS View (Dimension) that provides data about "Profit Center Detail" in SAP S/4HANA. It reads from 1 data source (cepc) and exposes 8 fields with key fields ControllingArea, ProfitCenter, ValidityEndDate. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
cepc cepc from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ControllingArea _ControllingAreaText $projection.ControllingArea = _ControllingAreaText.ControllingArea association[1..1] to I_ControllingArea as _ControllingArea on $projection.ControllingArea = _ControllingArea.ControllingArea association[0..*] to I_ProfitCenterText as _Text on $projection.ControllingArea = _Text.ControllingArea and $projection.ProfitCenter = _Text.ProfitCenter and $projection.ValidityEndDate = _Text.ValidityEndDate association[0..*] to I_ProfitCenterHierarchyNode as _ProfitCenterHierarchyNode on $projection.ControllingArea = _ProfitCenterHierarchyNode.ControllingArea and $projection.ProfitCenter = _ProfitCenterHierarchyNode.ProfitCenter

Annotations (11)

NameValueLevelField
EndUserText.label Profit Center Detail view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IFIPROFITCENTERD view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey ProfitCenter view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
Metadata.allowExtensions true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea kokrs Org. Value
KEY ProfitCenter prctr Profit Centers
KEY ValidityEndDate datbi Validity period
ValidityStartDate datab Validity period
_Text _Text
_ControllingArea _ControllingArea
_ProfitCenterHierarchyNode _ProfitCenterHierarchyNode
_ControllingAreaText _ControllingAreaText

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 I_ProfitCenterDetail.
-- 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: IFIPROFITCENTERD

CREATE VIEW I_ProfitCenterDetail AS
SELECT
  kokrs AS ControllingArea,
  prctr AS ProfitCenter,
  datbi AS ValidityEndDate,
  datab AS ValidityStartDate
FROM cepc
LEFT OUTER JOIN I_ControllingArea AS _ControllingAreaText ON ControllingArea = _ControllingAreaText.ControllingArea association[1..1] to I_ControllingArea as _ControllingArea on ControllingArea = _ControllingArea.ControllingArea association[0..*] to I_ProfitCenterText as _Text on ControllingArea = _Text.ControllingArea AND ProfitCenter = _Text.ProfitCenter AND ValidityEndDate = _Text.ValidityEndDate association[0..*] to I_ProfitCenterHierarchyNode as _ProfitCenterHierarchyNode on ControllingArea = _ProfitCenterHierarchyNode.ControllingArea AND ProfitCenter = _ProfitCenterHierarchyNode.ProfitCenter  -- association [1..1]
;