C_RO_SAFTBusPartEUTaxNumber

DDL: C_RO_SAFTBUSPARTEUTAXNUMBER SQL: CROSAFTBPEUTAXN Type: view CONSUMPTION

BP EU VAT Number for RO SAFT

C_RO_SAFTBusPartEUTaxNumber is a Consumption CDS View (Cube) that provides data about "BP EU VAT Number for RO SAFT" in SAP S/4HANA. It reads from 2 data sources (I_Country, I_Businesspartnertaxnumber) and exposes 3 fields with key fields BusinessPartner, BPTaxType.

Data Sources (2)

SourceAliasJoin Type
I_Country Country from
I_Businesspartnertaxnumber TaxNumber inner

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CROSAFTBPEUTAXN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #CONSUMPTION view
Analytics.dataCategory #CUBE view
Analytics.internalName #LOCAL view
ObjectModel.usageType.serviceQuality #X 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
Metadata.allowExtensions true view
EndUserText.label BP EU VAT Number for RO SAFT view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner I_Businesspartnertaxnumber BusinessPartner Issuing Authority
KEY BPTaxType I_Businesspartnertaxnumber BPTaxType Category
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 C_RO_SAFTBusPartEUTaxNumber.
-- 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: CROSAFTBPEUTAXN

CREATE VIEW C_RO_SAFTBusPartEUTaxNumber AS
SELECT
  TaxNumber.BusinessPartner AS BusinessPartner,
  TaxNumber.BPTaxType AS BPTaxType,
  case when Country.CountryISOCode = 'RO' then replace(TaxNumber.BPTaxNumber, 'RO', '') else TaxNumber.BPTaxNumber end AS BPTaxNumber
FROM I_Country AS Country
INNER JOIN I_Businesspartnertaxnumber AS TaxNumber ON /* join condition not captured in parsed metadata */
;