P_CnsldtnDivisionT

DDL: P_CNSLDTNDIVISIONT SQL: PCSDIVISIONT Type: view COMPOSITE

P_CnsldtnDivisionT is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnAddlMD, I_DivisionText) and exposes 9 fields with key fields Language, Division, Division.

Data Sources (2)

SourceAliasJoin Type
I_CnsldtnAddlMD I_CnsldtnAddlMD union_all
I_DivisionText I_DivisionText from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PCSDIVISIONT 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 #S view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY Language Language Report Text Language
KEY Division Division Record ID
AdditionalMasterDataSource
CnsldtnIsAdditionalMasterData
LanguageasLanguage
KEY Division AdditionalMasterDataCode Record ID
AdditionalMasterDataSource
CnsldtnIsAdditionalMasterData
DivisionName _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_CnsldtnDivisionT.
-- 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: PCSDIVISIONT

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