I_RELocalTaxMap

DDL: I_RELOCALTAXMAP SQL: IRETAXMAP Type: view BASIC

Local Tax Group

I_RELocalTaxMap is a Basic CDS View (Dimension) that provides data about "Local Tax Group" in SAP S/4HANA. It reads from 4 data sources (t005, tivrataxtype, t007a, tivexfitaxmap) and exposes 9 fields with key fields Country, RETaxType, RETaxGroup, ValidityStartDate. It has 2 associations to related views.

Data Sources (4)

SourceAliasJoin Type
t005 country_data inner
tivrataxtype RETaxType inner
t007a tax_code inner
tivexfitaxmap tivexfitaxmap from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_RETaxGroup _RETaxGroup tivexfitaxmap.taxgroup = _RETaxGroup.TaxGroup
[0..1] I_Country _Country $projection.Country = _Country.Country

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IRETAXMAP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Local Tax Group view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey RETaxGroup view
VDM.viewType #BASIC view
Search.searchable true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY Country tivexfitaxmap country Venue: Ctry/Reg
KEY RETaxType tivexfitaxmap taxtype Tax Type
KEY RETaxGroup tivexfitaxmap taxgroup Tax Group
KEY ValidityStartDate Vers.Valid From
ValidityEndDate Vers.Valid To
TaxCode tivexfitaxmap taxcode Tax Code
REIsExclForNewAssgmt t007a xinact Inactive
_RETaxGroup _RETaxGroup
_Country _Country

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_RELocalTaxMap.
-- 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: IRETAXMAP

CREATE VIEW I_RELocalTaxMap AS
SELECT
  tivexfitaxmap.country AS Country,
  tivexfitaxmap.taxtype AS RETaxType,
  tivexfitaxmap.taxgroup AS RETaxGroup,
  cast(validfrom as rebdvdmvalidfrom) AS ValidityStartDate,
  cast(validto as rebdvdmvalidto) AS ValidityEndDate,
  tivexfitaxmap.taxcode AS TaxCode,
  tax_code.xinact AS REIsExclForNewAssgmt
FROM tivexfitaxmap
INNER JOIN t007a AS tax_code ON /* join condition not captured in parsed metadata */
INNER JOIN t005 AS country_data ON /* join condition not captured in parsed metadata */
INNER JOIN tivrataxtype AS RETaxType ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_RETaxGroup AS _RETaxGroup ON tivexfitaxmap.taxgroup = _RETaxGroup.TaxGroup  -- association [0..1]
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country  -- association [0..1]
;