I_BusPartAddrDepdntTaxNmbrTP

DDL: I_BUSPARTADDRDEPDNTTAXNMBRTP SQL: BPTAXNUMADDRTP Type: view TRANSACTIONAL Package: VDM_MD_BP

TP for Address dependent tax number

I_BusPartAddrDepdntTaxNmbrTP is a Transactional CDS View that provides data about "TP for Address dependent tax number" in SAP S/4HANA. It reads from 1 data source (I_BusPartAddrDepdntTaxNmbr) and exposes 10 fields with key fields BusinessPartner, BusinessPartnerAddressID, BPTaxType. It has 1 association to related views. Part of development package VDM_MD_BP.

Data Sources (1)

SourceAliasJoin Type
I_BusPartAddrDepdntTaxNmbr BPAddrDepdntTaxNumber from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_BusinessPartnerTP _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName BPTAXNUMADDRTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label TP for Address dependent tax number view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #TRANSACTIONAL view
ObjectModel.writeDraftPersistence DEPDTXNMBR_D view
ObjectModel.draftEnabled true view
Search.searchable true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner I_BusPartAddrDepdntTaxNmbr BusinessPartner Issuing Authority
KEY BusinessPartnerAddressID I_BusPartAddrDepdntTaxNmbr BusinessPartnerAddressID Sold-To Address
KEY BPTaxType I_BusPartAddrDepdntTaxNmbr BPTaxType Category
BPTaxNumberendasBPTaxLongNumber
AuthorizationGroup I_BusPartAddrDepdntTaxNmbr AuthorizationGroup AuthorizGroup
BusinessPartnerForEdit I_BusPartAddrDepdntTaxNmbr BusinessPartner Issuing Authority
BPTaxTypeForEdit I_BusPartAddrDepdntTaxNmbr BPTaxType Category
AddressIDForEdit I_BusPartAddrDepdntTaxNmbr BusinessPartnerAddressID Sold-To Address
FormattedAddress
_BusinessPartner _BusinessPartner

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 I_BusPartAddrDepdntTaxNmbrTP.
-- 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: BPTAXNUMADDRTP

CREATE VIEW I_BusPartAddrDepdntTaxNmbrTP AS
SELECT
  BPAddrDepdntTaxNumber.BusinessPartner AS BusinessPartner,
  BPAddrDepdntTaxNumber.BusinessPartnerAddressID AS BusinessPartnerAddressID,
  BPAddrDepdntTaxNumber.BPTaxType AS BPTaxType,
  case when BPAddrDepdntTaxNumber.BPTaxNumber is not initial then BPAddrDepdntTaxNumber.BPTaxNumber when BPAddrDepdntTaxNumber.BPTaxLongNumber is not initial then BPAddrDepdntTaxNumber.BPTaxLongNumber else BPAddrDepdntTaxNumber.BPTaxNumber end as BPTaxLongNumber AS BPTaxNumberendasBPTaxLongNumber,
  BPAddrDepdntTaxNumber.AuthorizationGroup AS AuthorizationGroup,
  BPAddrDepdntTaxNumber.BusinessPartner AS BusinessPartnerForEdit,
  BPAddrDepdntTaxNumber.BPTaxType AS BPTaxTypeForEdit,
  BPAddrDepdntTaxNumber.BusinessPartnerAddressID AS AddressIDForEdit,
  cast( ' ' as abap.sstring( 260 ) ) AS FormattedAddress
FROM I_BusPartAddrDepdntTaxNmbr AS BPAddrDepdntTaxNumber
LEFT OUTER JOIN I_BusinessPartnerTP AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
;