C_Businesspartnertaxnumber

DDL: C_BUSINESSPARTNERTAXNUMBER SQL: CBPTAXNUMBER Type: view CONSUMPTION

BP Tax Number Consumption View

C_Businesspartnertaxnumber is a Consumption CDS View that provides data about "BP Tax Number Consumption View" in SAP S/4HANA. It reads from 1 data source (I_BusinessPartnerTaxNumberTP) and exposes 11 fields with key fields BusinessPartner, BPTaxType. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BusinessPartnerTaxNumberTP BusinessPartnerTaxNumber from

Associations (5)

CardinalityTargetAliasCondition
[1..1] C_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[1..1] C_BusinessPartnerSupplier _BusinessPartnerSupplier $projection.BusinessPartner = _BusinessPartnerSupplier.BusinessPartner
[1..1] C_BusinessPartnerCustomer _BusinessPartnerCustomer $projection.BusinessPartner = _BusinessPartnerCustomer.BusinessPartner
[0..1] C_TaxTypeTextVHTemp _TaxTypeText $projection.BPTaxTypeForEdit = _TaxTypeText.TaxType and _TaxTypeText.Language = $session.system_language
[1..*] C_TaxTypeTextVHTemp _TaxCategoryText $projection.BPTaxTypeForEdit = _TaxCategoryText.TaxType

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName CBPTAXNUMBER view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label BP Tax Number Consumption View view
Metadata.allowExtensions true view
ObjectModel.type #CONSUMPTION view
ObjectModel.writeEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view
UI.headerInfo.typeName Tax Number view
UI.headerInfo.typeNamePlural Tax Numbers view
UI.headerInfo.title.label Tax Type Description view
UI.headerInfo.title.value TaxTypeName view
VDM.viewType #CONSUMPTION view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner I_BusinessPartnerTaxNumberTP BusinessPartner Issuing Authority
KEY BPTaxType I_BusinessPartnerTaxNumberTP BPTaxType Category
BusinessPartnerForEdit I_BusinessPartnerTaxNumberTP BusinessPartnerForEdit Busn. Partner
BPTaxTypeForEdit I_BusinessPartnerTaxNumberTP BPTaxTypeForEdit Category
BPTaxNumber I_BusinessPartnerTaxNumberTP BPTaxNumber Tax Number
TaxTypeName _TaxTypeText TaxTypeName
_BusinessPartner _BusinessPartner
_BusinessPartnerSupplier _BusinessPartnerSupplier
_BusinessPartnerCustomer _BusinessPartnerCustomer
_TaxTypeText _TaxTypeText
_TaxCategoryText _TaxCategoryText

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_Businesspartnertaxnumber.
-- 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: CBPTAXNUMBER

CREATE VIEW C_Businesspartnertaxnumber AS
SELECT
  BusinessPartnerTaxNumber.BusinessPartner AS BusinessPartner,
  BusinessPartnerTaxNumber.BPTaxType AS BPTaxType,
  BusinessPartnerTaxNumber.BusinessPartnerForEdit AS BusinessPartnerForEdit,
  BusinessPartnerTaxNumber.BPTaxTypeForEdit AS BPTaxTypeForEdit,
  BusinessPartnerTaxNumber.BPTaxNumber AS BPTaxNumber,
  _TaxTypeText.TaxTypeName AS TaxTypeName
FROM I_BusinessPartnerTaxNumberTP AS BusinessPartnerTaxNumber
LEFT OUTER JOIN C_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_BusinessPartnerSupplier AS _BusinessPartnerSupplier ON BusinessPartner = _BusinessPartnerSupplier.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_BusinessPartnerCustomer AS _BusinessPartnerCustomer ON BusinessPartner = _BusinessPartnerCustomer.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_TaxTypeTextVHTemp AS _TaxTypeText ON BPTaxTypeForEdit = _TaxTypeText.TaxType AND _TaxTypeText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN C_TaxTypeTextVHTemp AS _TaxCategoryText ON BPTaxTypeForEdit = _TaxCategoryText.TaxType  -- association [1..*]
;