P_CnsldtnPartnerCompany

DDL: P_CNSLDTNPARTNERCOMPANY SQL: PCSPARCOMPANY Type: view BASIC

P_CnsldtnPartnerCompany is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnAddlMD, I_Partnercompany) and exposes 6 fields with key field Company.

Data Sources (2)

SourceAliasJoin Type
I_CnsldtnAddlMD I_CnsldtnAddlMD union_all
I_Partnercompany I_Partnercompany from

Annotations (9)

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

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Company PartnerCompany Trading Partner
AdditionalMasterDataSource
IsTimeDependent
AdditionalMasterDataSource
IsTimeDependent
AdditionalMDHasSuprordField

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_CnsldtnPartnerCompany.
-- 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: PCSPARCOMPANY

CREATE VIEW P_CnsldtnPartnerCompany AS
SELECT
  PartnerCompany AS Company,
  cast ( 'ACCTG' as fincs_md_source ) AS AdditionalMasterDataSource,
  cast ( 'X' as as4flag ) AS IsTimeDependent,
  cast ( 'X' as as4flag ) AS AdditionalMDHasSuprordField
FROM I_Partnercompany
-- UNION ALL with additional select branch(es): I_CnsldtnAddlMD
;