R_ES_EDCSuplrInvcSIITaxAggrgn

DDL: R_ES_EDCSUPLRINVCSIITAXAGGRGN Type: view_entity COMPOSITE Package: GLO-EDO-ES-SII-EDC

Spain Supplier Invoice Tax lines Aggregation

R_ES_EDCSuplrInvcSIITaxAggrgn is a Composite CDS View that provides data about "Spain Supplier Invoice Tax lines Aggregation" in SAP S/4HANA. It reads from 1 data source (R_ES_EDCSuplrInvcSIITaxLine) and exposes 11 fields. Part of development package GLO-EDO-ES-SII-EDC.

Data Sources (1)

SourceAliasJoin Type
R_ES_EDCSuplrInvcSIITaxLine TaxLines from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #COMPOSITE view
EndUserText.label Spain Supplier Invoice Tax lines Aggregation view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (11)

KeyFieldSource TableSource FieldDescription
CompanyCode R_ES_EDCSuplrInvcSIITaxLine CompanyCode Receiver Company Code
EDCRepresentationType R_ES_EDCSuplrInvcSIITaxLine EDCRepresentationType
EDCRepresentationKey R_ES_EDCSuplrInvcSIITaxLine EDCRepresentationKey
ES_EDocSIITaxClassification R_ES_EDCSuplrInvcSIITaxLine ES_EDocSIITaxClassification
TaxRate R_ES_EDCSuplrInvcSIITaxLine TaxRate Tax Rate
TaxBaseAmountInCoCodeCrcy
TaxAmountInCoCodeCrcy
Currency R_ES_EDCSuplrInvcSIITaxLine Currency Valuation Crcy
EDCCommonKey R_ES_EDCSuplrInvcSIITaxLine EDCCommonKey
EDCRecordUUID R_ES_EDCSuplrInvcSIITaxLine EDCRecordUUID
EDCType R_ES_EDCSuplrInvcSIITaxLine EDCType

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_EDCSuplrInvcSIITaxAggrgn.
-- 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_EDCSuplrInvcSIITaxAggrgn AS
SELECT
  TaxLines.CompanyCode AS CompanyCode,
  TaxLines.EDCRepresentationType AS EDCRepresentationType,
  TaxLines.EDCRepresentationKey AS EDCRepresentationKey,
  TaxLines.ES_EDocSIITaxClassification AS ES_EDocSIITaxClassification,
  TaxLines.TaxRate AS TaxRate,
  sum(TaxLines.TaxBaseAmountInCoCodeCrcy) AS TaxBaseAmountInCoCodeCrcy,
  sum(TaxLines.TaxAmountInCoCodeCrcy) AS TaxAmountInCoCodeCrcy,
  TaxLines.Currency AS Currency,
  TaxLines.EDCCommonKey AS EDCCommonKey,
  TaxLines.EDCRecordUUID AS EDCRecordUUID,
  TaxLines.EDCType AS EDCType
FROM R_ES_EDCSuplrInvcSIITaxLine AS TaxLines
;