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
KEY RETaxType tivexfitaxmap taxtype
KEY RETaxGroup tivexfitaxmap taxgroup
KEY ValidityStartDate
ValidityEndDate
TaxCode tivexfitaxmap taxcode
REIsExclForNewAssgmt t007a xinact
_RETaxGroup _RETaxGroup
_Country _Country
@AbapCatalog.sqlViewName: 'IRETAXMAP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@Analytics.internalName:#LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Local Tax Group'
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.representativeKey: 'RETaxGroup'
@ObjectModel.semanticKey: ['RETaxGroup']
@VDM.viewType:#BASIC
@Search.searchable: true

define view I_RELocalTaxMap
  as select from tivexfitaxmap
    inner join   t007a         as tax_code     on tivexfitaxmap.taxcode = tax_code.mwskz
    inner join   t005          as country_data on  tax_code.kalsm     = country_data.kalsm
                                               and country_data.land1 = tivexfitaxmap.country
    inner join   tivrataxtype  as RETaxType    on  RETaxType.taxtype = tivexfitaxmap.taxtype
                                               and RETaxType.country = tivexfitaxmap.country
  association [0..1] to I_RETaxGroup as _RETaxGroup on tivexfitaxmap.taxgroup = _RETaxGroup.TaxGroup
  association [0..1] to I_Country    as _Country    on $projection.Country = _Country.Country
{
      @ObjectModel.foreignKey.association: '_Country'
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
  key tivexfitaxmap.country               as Country,
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
  key tivexfitaxmap.taxtype               as RETaxType,
  key tivexfitaxmap.taxgroup              as RETaxGroup,
  key cast(validfrom as rebdvdmvalidfrom) as ValidityStartDate,
      cast(validto as rebdvdmvalidto)     as ValidityEndDate,
      tivexfitaxmap.taxcode               as TaxCode,
      tax_code.xinact                     as REIsExclForNewAssgmt,

      _RETaxGroup,
      _Country

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"T005",
"T007A",
"TIVEXFITAXMAP",
"TIVRATAXTYPE"
],
"ASSOCIATED":
[
"I_COUNTRY",
"I_RETAXGROUP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/