P_CN_CADESupplier

DDL: P_CN_CADESUPPLIER SQL: PCNCADESUPPLIER Type: view CONSUMPTION Package: GLO_FIN_CADE_CN

CADE Supplier

P_CN_CADESupplier is a Consumption CDS View that provides data about "CADE Supplier" in SAP S/4HANA. It reads from 2 data sources (I_Supplier, I_SupplierCompany) and exposes 8 fields with key fields CompanyCode, Supplier. Part of development package GLO_FIN_CADE_CN.

Data Sources (2)

SourceAliasJoin Type
I_Supplier Supplier inner
I_SupplierCompany SupplierCompany from

Annotations (7)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PCNCADESUPPLIER view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_SupplierCompany CompanyCode Receiver Company Code
KEY Supplier
BusinessPartner
PersonNumber
AuthorizationGroup I_Supplier AuthorizationGroup AuthorizGroup
AddressID I_Supplier AddressID Ship-to address
SupplierName I_Supplier SortField Sort Field
SupplierFullName

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_CN_CADESupplier.
-- 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: PCNCADESUPPLIER

CREATE VIEW P_CN_CADESupplier AS
SELECT
  SupplierCompany.CompanyCode AS CompanyCode,
  ltrim(SupplierCompany.Supplier,'0') AS Supplier,
  Supplier._SupplierToBusinessPartner._BusinessPartner.BusinessPartner AS BusinessPartner,
  Supplier._SupplierToBusinessPartner._BusinessPartner.PersonNumber AS PersonNumber,
  Supplier.AuthorizationGroup AS AuthorizationGroup,
  Supplier.AddressID AS AddressID,
  Supplier.SortField AS SupplierName,
  concat(rtrim(Supplier.BusinessPartnerName1,' '),ltrim(Supplier.BusinessPartnerName2,' ')) AS SupplierFullName
FROM I_SupplierCompany AS SupplierCompany
INNER JOIN I_Supplier AS Supplier ON /* join condition not captured in parsed metadata */
;