P_CorrespondenceSupplier

DDL: P_CORRESPONDENCESUPPLIER SQL: PCRCRRSUPPLIER Type: view CONSUMPTION Package: ODATA_CORRESPONDENCE_V2

Supplier for Create Correspondence

P_CorrespondenceSupplier is a Consumption CDS View that provides data about "Supplier for Create Correspondence" in SAP S/4HANA. It reads from 1 data source (I_SupplierCompany) and exposes 9 fields with key fields Supplier, CompanyCode. Part of development package ODATA_CORRESPONDENCE_V2.

Data Sources (1)

SourceAliasJoin Type
I_SupplierCompany I_SupplierCompany from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PCRCRRSUPPLIER view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
VDM.private true view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Supplier for Create Correspondence view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY Supplier Supplier Supplier
KEY CompanyCode CompanyCode Receiver Company Code
BusinessPartner
AccountingClerkEmailAddress AccountingClerkInternetAddress Clrk's internet
SupplierAccountGroup
AuthorizationGroup _Supplier AuthorizationGroup AuthorizGroup
CoCodeSpcfcAuthorizationGroup AuthorizationGroup AuthorizGroup
_Supplier
_CompanyCode _CompanyCode

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_CorrespondenceSupplier.
-- 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: PCRCRRSUPPLIER

CREATE VIEW P_CorrespondenceSupplier AS
SELECT
  Supplier,
  CompanyCode,
  _Supplier._SupplierToBusinessPartner._BusinessPartner.BusinessPartner AS BusinessPartner,
  AccountingClerkInternetAddress AS AccountingClerkEmailAddress,
  _Supplier.AuthorizationGroup AS AuthorizationGroup,
  AuthorizationGroup AS CoCodeSpcfcAuthorizationGroup
FROM I_SupplierCompany
;