C_AllocationProfitCenterVH

DDL: C_ALLOCATIONPROFITCENTERVH SQL: CALOPRFTCNTRVH Type: view CONSUMPTION Package: ODATA_MANAGE_ALLOCATION

Allocation Profit Center

C_AllocationProfitCenterVH is a Consumption CDS View that provides data about "Allocation Profit Center" in SAP S/4HANA. It reads from 2 data sources (I_PrftCtrCompanyCodeAssignment, I_ProfitCenterStdVH) and exposes 8 fields with key fields ControllingArea, ProfitCenter, ValidityEndDate, CompanyCode. It is exposed through 2 OData services (ASQL_F3338A, UI_FCO_MANAGE_ALLOCATION). Part of development package ODATA_MANAGE_ALLOCATION.

Data Sources (2)

SourceAliasJoin Type
I_PrftCtrCompanyCodeAssignment I_PrftCtrCompanyCodeAssignment inner
I_ProfitCenterStdVH I_ProfitCenterStdVH from

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CALOPRFTCNTRVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.dataCategory #VALUE_HELP view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
Search.searchable true view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Allocation Profit Center view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F3338A ASQL_F3338A C2 NOT_RELEASED
UI_FCO_MANAGE_ALLOCATION UI_FCOUA_MANAGE_ALLOCATION V2 C1 NOT_RELEASED

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea I_ProfitCenterStdVH ControllingArea Controlling Area
KEY ProfitCenter I_ProfitCenterStdVH ProfitCenter Profit Center
KEY ValidityEndDate ValidityEndDate ValidTo
KEY CompanyCode
ValidityStartDate ValidityStartDate Validity Start Date
_ControllingArea I_ProfitCenterStdVH _ControllingArea
ProfitCenterName
_Text _Text

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 C_AllocationProfitCenterVH.
-- 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: CALOPRFTCNTRVH

CREATE VIEW C_AllocationProfitCenterVH AS
SELECT
  I_ProfitCenterStdVH.ControllingArea AS ControllingArea,
  I_ProfitCenterStdVH.ProfitCenter AS ProfitCenter,
  ValidityEndDate,
  cast(I_PrftCtrCompanyCodeAssignment.CompanyCode as bukrs) AS CompanyCode,
  ValidityStartDate,
  I_ProfitCenterStdVH._ControllingArea AS _ControllingArea,
  _Text[1:Language = $session.system_language].ProfitCenterName AS ProfitCenterName
FROM I_ProfitCenterStdVH
INNER JOIN I_PrftCtrCompanyCodeAssignment ON /* join condition not captured in parsed metadata */
;