I_ProfitCenterVH

DDL: I_PROFITCENTERVH SQL: IFIPROFITCTRVH Type: view COMPOSITE

Profit Center

I_ProfitCenterVH (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Cross Applications

I_ProfitCenterVH is a Composite CDS View that provides data about "Profit Center" in SAP S/4HANA. It has 3 associations to related views.

SAP Help Documentation

CategoryCDS Views for Profitability Analysis
Purpose
This CDS view provides value help for a profit center object. This view should be used for value help purposes only. If you intend to select the entire business data, use the I_ProfitCenter view instead. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentEC-PCA-MD
CapabilitiesData Source for Defining CDS Entities, Data Provider for Value Help, Association Target for Defining CDS Entities
PackageCross Applications for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides value help for a profit center object.</p> <p>This view should be used for value help purposes only. If you intend to select the entire business data, use the I_ProfitCenter view instead.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_ControllingArea _ControllingAreaText $projection.ControllingArea = _ControllingAreaText.ControllingArea
[0..*] I_SegmentText _SegmentText $projection.Segment = _SegmentText.Segment association[0..*] to I_ProfitCenterText as _Text on $projection.ControllingArea = _Text.ControllingArea and $projection.ProfitCenter = _Text.ProfitCenter and $projection.ValidityEndDate = _Text.ValidityEndDate
[0..1] E_ProfitCenter _ProfitCenterExt $projection.ControllingArea = _ProfitCenterExt.ControllingArea and $projection.ProfitCenter = _ProfitCenterExt.ProfitCenter and $projection.ValidityEndDate = _ProfitCenterExt.ValidityEndDate

Annotations (17)

NameValueLevelField
VDM.viewType #COMPOSITE view
EndUserText.label Profit Center view
AbapCatalog.sqlViewName IFIPROFITCTRVH view
AbapCatalog.compiler.compareFilter true view
ObjectModel.representativeKey ProfitCenter view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.modelingPattern #VALUE_HELP_PROVIDER view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #NOT_REQUIRED view
Search.searchable true view
Consumption.ranked true view
AccessControl.authorizationCheck #CHECK view
UI.textArrangement #TEXT_LAST view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea ControllingArea Controlling Area
KEY ProfitCenter ProfitCenter Profit Center
KEY ValidityEndDate ValidityEndDate Valid To Date
ProfitCenterStandardHierarchy ProfitCenterStandardHierarchy Standard Hierarchy Node
ProfitCenterName Description of Profit Center
ValidityStartDate ValidityStartDate Validity Start Date
ProfitCtrResponsiblePersonName ProfitCtrResponsiblePersonName Person Responsible for Profit Center
Segment Segment Segment for Segmental Reporting
_ControllingArea _ControllingArea
_Segment _Segment
_Text _Text
_ControllingAreaText _ControllingAreaText
_SegmentText _SegmentText

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_ProfitCenterVH.
-- 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: IFIPROFITCTRVH

CREATE VIEW I_ProfitCenterVH AS
SELECT
  ControllingArea,
  ProfitCenter,
  ValidityEndDate,
  ProfitCenterStandardHierarchy,
  _Text[1:Language=$session.system_language].ProfitCenterName AS ProfitCenterName,
  ValidityStartDate,
  ProfitCtrResponsiblePersonName,
  Segment
LEFT OUTER JOIN I_ControllingArea AS _ControllingAreaText ON ControllingArea = _ControllingAreaText.ControllingArea  -- association [1..1]
LEFT OUTER JOIN I_SegmentText AS _SegmentText ON Segment = _SegmentText.Segment association[0..*] to I_ProfitCenterText as _Text on ControllingArea = _Text.ControllingArea AND ProfitCenter = _Text.ProfitCenter AND ValidityEndDate = _Text.ValidityEndDate  -- association [0..*]
LEFT OUTER JOIN E_ProfitCenter AS _ProfitCenterExt ON ControllingArea = _ProfitCenterExt.ControllingArea AND ProfitCenter = _ProfitCenterExt.ProfitCenter AND ValidityEndDate = _ProfitCenterExt.ValidityEndDate  -- association [0..1]
;