P_CnsldtnCustomer

DDL: P_CNSLDTNCUSTOMER SQL: PCSCUSTOMER Type: view COMPOSITE

P_CnsldtnCustomer is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnAddlMD, I_Customer) and exposes 6 fields with key field Customer.

Data Sources (2)

SourceAliasJoin Type
I_CnsldtnAddlMD I_CnsldtnAddlMD union_all
I_Customer I_Customer from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PCSCUSTOMER 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 (6)

KeyFieldSource TableSource FieldDescription
KEY Customer Customer Sold-to Party
AdditionalMasterDataSource
CnsldtnIsAdditionalMasterData
AdditionalMasterDataSource
CnsldtnIsAdditionalMasterData
CreationDateTime CreationDateTime Timestamp

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_CnsldtnCustomer.
-- 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: PCSCUSTOMER

CREATE VIEW P_CnsldtnCustomer AS
SELECT
  Customer,
  cast ( 'ACCTG' as fincs_masterdatasource ) AS AdditionalMasterDataSource,
  cast ( ' ' as fincs_isadditionalmasterdata preserving type ) AS CnsldtnIsAdditionalMasterData,
  CreationDateTime
FROM I_Customer
-- UNION ALL with additional select branch(es): I_CnsldtnAddlMD
;