R_ES_EDCTaxAuthSIIExemptAggrgn

DDL: R_ES_EDCTAXAUTHSIIEXEMPTAGGRGN Type: view_entity COMPOSITE

Spain SII Tax Authority Aggregation of Exempt items

R_ES_EDCTaxAuthSIIExemptAggrgn is a Composite CDS View that provides data about "Spain SII Tax Authority Aggregation of Exempt items" in SAP S/4HANA. It reads from 1 data source (R_ES_EDCTaxAuthSIIExempt) and exposes 10 fields.

Data Sources (1)

SourceAliasJoin Type
R_ES_EDCTaxAuthSIIExempt TATaxItem from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Spain SII Tax Authority Aggregation of Exempt items view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #COMPOSITE view

Fields (10)

KeyFieldSource TableSource FieldDescription
EDCRepresentationType R_ES_EDCTaxAuthSIIExempt EDCRepresentationType
EDCRepresentationKey R_ES_EDCTaxAuthSIIExempt EDCRepresentationKey
CompanyCode R_ES_EDCTaxAuthSIIExempt CompanyCode Receiver Company Code
ES_EDocSIISalesNonResident R_ES_EDCTaxAuthSIIExempt ES_EDocSIISalesNonResident
ExemptionReason R_ES_EDCTaxAuthSIIExempt ExemptionReason Exempt. Reason
EDCExemptionAmount
EDCCurrency R_ES_EDCTaxAuthSIIExempt EDCCurrency
EDCType R_ES_EDCTaxAuthSIIExempt EDCType
EDCRecordUUID R_ES_EDCTaxAuthSIIExempt EDCRecordUUID
EDCCommonKey R_ES_EDCTaxAuthSIIExempt EDCCommonKey

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 R_ES_EDCTaxAuthSIIExemptAggrgn.
-- 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 R_ES_EDCTaxAuthSIIExemptAggrgn AS
SELECT
  TATaxItem.EDCRepresentationType AS EDCRepresentationType,
  TATaxItem.EDCRepresentationKey AS EDCRepresentationKey,
  TATaxItem.CompanyCode AS CompanyCode,
  TATaxItem.ES_EDocSIISalesNonResident AS ES_EDocSIISalesNonResident,
  TATaxItem.ExemptionReason AS ExemptionReason,
  sum(TATaxItem.EDCExemptionAmount) AS EDCExemptionAmount,
  TATaxItem.EDCCurrency AS EDCCurrency,
  TATaxItem.EDCType AS EDCType,
  TATaxItem.EDCRecordUUID AS EDCRecordUUID,
  TATaxItem.EDCCommonKey AS EDCCommonKey
FROM R_ES_EDCTaxAuthSIIExempt AS TATaxItem
;