Deprecated
This CDS view is deprecated in S/4HANA. Use NoSuccessor instead. View all deprecated CDS views →

C_PT_SAFTSupplier

DDL: C_PT_SAFTSUPPLIER SQL: CPTSAFTSUP Type: view CONSUMPTION

SAF-T PT Suppliers

C_PT_SAFTSupplier is a Consumption CDS View that provides data about "SAF-T PT Suppliers" in SAP S/4HANA.

Parameters (2)

NameTypeDefault
P_StartDate dats
P_EndDate dats

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CPTSAFTSUP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
AccessControl.authorizationCheck #CHECK view
EndUserText.label SAF-T PT Suppliers view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor NoSuccessor view

Fields (37)

KeyFieldSource TableSource FieldDescription
KEY Supplier a Supplier Supplier
KEY CompanyCode a CompanyCode Receiver Company Code
ReconciliationAccount a ReconciliationAccount Recon. account
VATRegistration a VATRegistration VAT Registration No.
CompanyName
StreetName
CityName
PostalCode
Country
PhoneNumber
FaxNumber
EmailAddress
SupplierasSupplier
KEY CompanyCode a CompanyCode Receiver Company Code
ReconciliationAccount a ReconciliationAccount Recon. account
VATRegistration a VATRegistration VAT Registration No.
CompanyName
StreetName
CityName
PostalCode
Country
PhoneNumber
FaxNumber
EmailAddress
SupplierasSupplier
KEY CompanyCode a CompanyCode Receiver Company Code
ReconciliationAccount a ReconciliationAccount Recon. account
VATRegistration a VATRegistration VAT Registration No.
CompanyName
StreetName
CityName
PostalCode
Country
PhoneNumber
FaxNumber
EmailAddress
WebsiteURL

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 C_PT_SAFTSupplier.
-- 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: CPTSAFTSUP
-- Parameters: P_StartDate : dats, P_EndDate : dats

CREATE VIEW C_PT_SAFTSupplier AS
SELECT
  a.Supplier AS Supplier,
  a.CompanyCode AS CompanyCode,
  a.ReconciliationAccount AS ReconciliationAccount,
  a.VATRegistration AS VATRegistration,
  min(a.CompanyName) AS CompanyName,
  min(a.StreetName) AS StreetName,
  min(a.CityName) AS CityName,
  min(a.PostalCode) AS PostalCode,
  min(a.Country) AS Country,
  min(a.PhoneNumber) AS PhoneNumber,
  min(a.FaxNumber) AS FaxNumber,
  min(a.EmailAddress) AS EmailAddress,
  min(a.WebsiteURL) as WebsiteURL AS SupplierasSupplier,
  min(a.WebsiteURL) AS WebsiteURL
;