R_ES_SIITAXCODEDETAIL
Spain SII Tax Code Details
R_ES_SIITAXCODEDETAIL is a CDS View in S/4HANA. Spain SII Tax Code Details. It contains 2 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| R_ES_EDCSalesInvoiceSIITaxItem | view_entity | inner | COMPOSITE | Spain SII Customer Inv TaxLines |
| R_ES_EDCSuplrInvcSIITaxLine | view_entity | inner | COMPOSITE | Spain Supplier Invoice Tax lines |
Fields (2)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| ES_EDocSIITaxClassification | ES_EDocSIITaxClassification | 2 | |
| ES_EDocSIITaxRegime | ES_EDocSIITaxRegime | 1 |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Spain SII Tax Code Details'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #MIXED
}
@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type:#SAP_INTERNAL_API
define view entity R_ES_SIITaxCodeDetail as select from R_ES_CompanyCode as CompanyTaxCountry
inner join I_ES_CountryPricingProcedure as CountryTaxProc on CompanyTaxCountry.TaxCountry = CountryTaxProc.TaxCountry
inner join I_ES_SIITaxCode as SIITaxCodes on CountryTaxProc.PricingProcedure = SIITaxCodes.PricingProcedure
{
key CompanyTaxCountry.CompanyCode,
key SIITaxCodes.TaxCode,
SIITaxCodes.ES_EDocSIITaxClassification,
SIITaxCodes.ES_EDocSIITaxRegime,
CountryTaxProc.TaxCountry,
CountryTaxProc.PricingProcedure,
SIITaxCodes.ES_EDocSIISalesNonResident,
SIITaxCodes.ES_EDocSIIInvoiceType
// SIITaxCodes.AdditonalTaxClassification
}