I_ProfitCenterLatestVH

DDL: I_PROFITCENTERLATESTVH SQL: IFIPCL_VH Type: view COMPOSITE

Value Help for Latest Profit Center

I_ProfitCenterLatestVH is a Composite CDS View that provides data about "Value Help for Latest Profit Center" in SAP S/4HANA. It reads from 1 data source (P_ProfitCenterLatest) and exposes 11 fields with key fields ControllingArea, ProfitCenter. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_ProfitCenterLatest P_ProfitCenterLatest from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_ProfitCenter _ProfitCenter $projection.ControllingArea = _ProfitCenter.ControllingArea and $projection.ProfitCenter = _ProfitCenter.ProfitCenter and $projection.ValidityEndDate = _ProfitCenter.ValidityEndDate
[1..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[0..*] I_ProfitCenterText _Text $projection.ControllingArea = _Text.ControllingArea and $projection.ProfitCenter = _Text.ProfitCenter and $projection.ValidityEndDate = _Text.ValidityEndDate
[0..*] I_SegmentText _SegmentText $projection.segment = _SegmentText.Segment
[0..1] I_UserContactCard _UserContactCard $projection.profitctrresponsibleuser = _UserContactCard.ContactCardID

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IFIPCL_VH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Value Help for Latest Profit Center view
VDM.viewType #COMPOSITE view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey ProfitCenter view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
Metadata.ignorePropagatedAnnotations true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea ControllingArea Controlling Area
KEY ProfitCenter ProfitCenter Profit Center
ProfitCtrResponsiblePersonName _ProfitCenter ProfitCtrResponsiblePersonName Person Respons.
ProfitCtrResponsibleUser _ProfitCenter ProfitCtrResponsibleUser User Responsible
Segment _ProfitCenter Segment Segment number
ValidityEndDate ValidityEndDate ValidTo
ValidityStartDate _ProfitCenter ValidityStartDate Validity Start Date
_Text _Text
_ControllingArea _ControllingArea
_SegmentText _SegmentText
_UserContactCard _UserContactCard

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_ProfitCenterLatestVH.
-- 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: IFIPCL_VH

CREATE VIEW I_ProfitCenterLatestVH AS
SELECT
  ControllingArea,
  ProfitCenter,
  _ProfitCenter.ProfitCtrResponsiblePersonName AS ProfitCtrResponsiblePersonName,
  _ProfitCenter.ProfitCtrResponsibleUser AS ProfitCtrResponsibleUser,
  _ProfitCenter.Segment AS Segment,
  ValidityEndDate,
  _ProfitCenter.ValidityStartDate AS ValidityStartDate
FROM P_ProfitCenterLatest
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ControllingArea = _ProfitCenter.ControllingArea AND ProfitCenter = _ProfitCenter.ProfitCenter AND ValidityEndDate = _ProfitCenter.ValidityEndDate  -- association [1..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [1..1]
LEFT OUTER JOIN I_ProfitCenterText AS _Text ON ControllingArea = _Text.ControllingArea AND ProfitCenter = _Text.ProfitCenter AND ValidityEndDate = _Text.ValidityEndDate  -- association [0..*]
LEFT OUTER JOIN I_SegmentText AS _SegmentText ON segment = _SegmentText.Segment  -- association [0..*]
LEFT OUTER JOIN I_UserContactCard AS _UserContactCard ON profitctrresponsibleuser = _UserContactCard.ContactCardID  -- association [0..1]
;