I_ES_SIITaxCode

DDL: I_ES_SIITAXCODE Type: view_entity BASIC

Spain SII Tax Codes

I_ES_SIITaxCode is a Basic CDS View that provides data about "Spain SII Tax Codes" in SAP S/4HANA. It reads from 1 data source (fiessii_taxcode) and exposes 6 fields with key fields PricingProcedure, TaxCode.

Data Sources (1)

SourceAliasJoin Type
fiessii_taxcode SIITaxCode from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Spain SII Tax Codes view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PricingProcedure fiessii_taxcode kalsm Search Proced.
KEY TaxCode fiessii_taxcode mwskz Tax Code
ES_EDocSIITaxClassification fiessii_taxcode tax_classif Tax Classification
ES_EDocSIITaxRegime fiessii_taxcode tax_regime Tax Regime Scenario
ES_EDocSIIInvoiceType fiessii_taxcode inv_type_corr Invoice Type SII
ES_EDocSIISalesNonResident fiessii_taxcode sales_nr Sales to Non-Residen

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_ES_SIITaxCode.
-- 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.

CREATE VIEW I_ES_SIITaxCode AS
SELECT
  SIITaxCode.kalsm AS PricingProcedure,
  SIITaxCode.mwskz AS TaxCode,
  SIITaxCode.tax_classif AS ES_EDocSIITaxClassification,
  SIITaxCode.tax_regime AS ES_EDocSIITaxRegime,
  SIITaxCode.inv_type_corr AS ES_EDocSIIInvoiceType,
  SIITaxCode.sales_nr AS ES_EDocSIISalesNonResident
FROM fiessii_taxcode AS SIITaxCode
;