I_RETaxType
Tax Types
I_RETaxType is a Basic CDS View (Dimension) that provides data about "Tax Types" in SAP S/4HANA. It reads from 1 data source (tivrataxtype) and exposes 4 fields with key fields Country, RETaxType. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| tivrataxtype | _TaxType | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_RETaxTypeText | _Text | $projection.Country = _Text.Country and $projection.RETaxType = _Text.RETaxType |
| [0..1] | I_Country | _Country | $projection.Country = _Country.Country |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IRETAXTYPE | 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 | Tax Types | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| VDM.viewType | #BASIC | view | |
| Search.searchable | true | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Country | country | ||
| KEY | RETaxType | taxtype | ||
| _Text | _Text | |||
| _Country | _Country |
@AbapCatalog.sqlViewName: 'IRETAXTYPE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@Analytics.internalName:#LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Tax Types'
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.resultSet.sizeCategory: #XS
@ObjectModel.representativeKey: ['RETaxType']
@ObjectModel.semanticKey: ['Country','RETaxType']
@VDM.viewType:#BASIC
@Search.searchable: true
define view I_RETaxType
as select from tivrataxtype as _TaxType
association [0..*] to I_RETaxTypeText as _Text on $projection.Country = _Text.Country
and $projection.RETaxType = _Text.RETaxType
association [0..1] to I_Country as _Country on $projection.Country = _Country.Country
{
@ObjectModel.foreignKey.association: '_Country'
key country as Country,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
@ObjectModel.text.association: '_Text'
key taxtype as RETaxType,
// Associations
// @ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
_Text,
_Country
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"TIVRATAXTYPE"
],
"ASSOCIATED":
[
"I_COUNTRY",
"I_RETAXTYPETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA