P_PL_SAFTBPTaxNumber

DDL: P_PL_SAFTBPTAXNUMBER SQL: PPLSAFTBPTN Type: view COMPOSITE Package: GLO_FIN_IS_SAFT_PL

SAFT PL BP Tax Number

P_PL_SAFTBPTaxNumber is a Composite CDS View that provides data about "SAFT PL BP Tax Number" in SAP S/4HANA. It reads from 2 data sources (P_SAFTBPVATCountry, P_PL_SAFTBusinessPartner) and exposes 7 fields with key fields TaxType, CompanyCode, AccountingDocument, FiscalYear. Part of development package GLO_FIN_IS_SAFT_PL.

Data Sources (2)

SourceAliasJoin Type
P_SAFTBPVATCountry BPVATCountry inner
P_PL_SAFTBusinessPartner BusinessPartner from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PPLSAFTBPTN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #P view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY TaxType P_PL_SAFTBusinessPartner TaxType Tax Type
KEY CompanyCode P_PL_SAFTBusinessPartner CompanyCode Receiver Company Code
KEY AccountingDocument P_PL_SAFTBusinessPartner AccountingDocument Journal Entry
KEY FiscalYear P_PL_SAFTBusinessPartner FiscalYear G/L Fiscal Year
BusinessPartner P_PL_SAFTBusinessPartner BusinessPartner Issuing Authority
Country
BPTaxNumber

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_PL_SAFTBPTaxNumber.
-- 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: PPLSAFTBPTN

CREATE VIEW P_PL_SAFTBPTaxNumber AS
SELECT
  BusinessPartner.TaxType AS TaxType,
  BusinessPartner.CompanyCode AS CompanyCode,
  BusinessPartner.AccountingDocument AS AccountingDocument,
  BusinessPartner.FiscalYear AS FiscalYear,
  BusinessPartner.BusinessPartner AS BusinessPartner,
  max(BPVATCountry.Country) AS Country,
  max(BPVATCountry.BPTaxNumber) AS BPTaxNumber
FROM P_PL_SAFTBusinessPartner AS BusinessPartner
INNER JOIN P_SAFTBPVATCountry AS BPVATCountry ON /* join condition not captured in parsed metadata */
;