P_CnsldtnProfitCenterT

DDL: P_CNSLDTNPROFITCENTERT SQL: PCSPROFITCENTERT Type: view COMPOSITE

P_CnsldtnProfitCenterT is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnAddlMD, I_CnsldtnAddlMD) and exposes 11 fields with key fields Language, ProfitCenter, ControllingArea, ProfitCenter, ControllingArea.

Data Sources (2)

SourceAliasJoin Type
I_CnsldtnAddlMD I_CnsldtnAddlMD from
I_CnsldtnAddlMD I_CnsldtnAddlMD union_all

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PCSPROFITCENTERT view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY Language Language Report Text Language
KEY ProfitCenter ProfitCenter Record ID
KEY ControllingArea ControllingArea Suprord. Value
AdditionalMasterDataSource
CnsldtnIsAdditionalMasterData
LanguageasLanguage
KEY ProfitCenter AdditionalMasterDataCode Record ID
KEY ControllingArea AdditionalMDSuprordFieldValue Suprord. Value
AdditionalMasterDataSource
CnsldtnIsAdditionalMasterData
ProfitCenterName _Text AdditionalMasterDataText Short Description

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 P_CnsldtnProfitCenterT.
-- 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: PCSPROFITCENTERT

CREATE VIEW P_CnsldtnProfitCenterT AS
SELECT
  Language,
  ProfitCenter,
  ControllingArea,
  cast ( 'ACCTG' as fincs_masterdatasource ) AS AdditionalMasterDataSource,
  cast ( ' ' as fincs_isadditionalmasterdata preserving type ) AS CnsldtnIsAdditionalMasterData,
  ProfitCenterName as ProfitCenterName AS LanguageasLanguage,
  _Text.AdditionalMasterDataText AS ProfitCenterName
FROM I_CnsldtnAddlMD
-- UNION ALL with additional select branch(es): I_CnsldtnAddlMD
;