I_AR_StRpTaxItem
Argentina VAT Tax Line Item Calculation
I_AR_StRpTaxItem is a Composite CDS View (Cube) that provides data about "Argentina VAT Tax Line Item Calculation" in SAP S/4HANA. It reads from 7 data sources and exposes 84 fields with key fields CompanyCode, AccountingDocument, FiscalYear, TaxItem, TaxCalculationProcedure. It has 2 associations to related views. Part of development package GLO_FIN_IS_VAT_AR.
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| I_AccountingDocument | _ReverseDoc | left_outer |
| I_Altvcurrency | I_Altvcurrency | left_outer |
| I_AR_ImportServiceDocumentType | I_AR_ImportServiceDocumentType | left_outer |
| I_AR_TaxClassIdentification | I_AR_TaxClassIdentification | left_outer |
| I_Customer | I_Customer | left_outer |
| I_StRpTaxItem | I_StRpTaxItem | from |
| I_Supplier | I_Supplier | left_outer |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_UnitOfMeasure | _QuantityUnitOfMeasure | $projection.QuantityUnit = _QuantityUnitOfMeasure.UnitOfMeasure |
| [0..1] | I_AR_OfficialDocumentTypeDetn | _OfficialDocumentTypeDetn | _OfficialDocumentTypeDetn.Country = 'AR' and _OfficialDocumentTypeDetn.AR_Report = 'RPFIGLAR_TAXREPORTING' and _OfficialDocumentTypeDetn.AR_OfficialDocumentClass = $projection.AR_OfficialDocumentClass and _OfficialDocumentTypeDetn.AR_PrintCharacter = $projection.AR_PrintCharacter |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IARCALTAXITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Analytics.dataCategory | #CUBE | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Argentina VAT Tax Line Item Calculation | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view |
Fields (84)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_StRpTaxItem | CompanyCode | Receiver Company Code |
| KEY | AccountingDocument | I_StRpTaxItem | AccountingDocument | Journal Entry |
| KEY | FiscalYear | I_StRpTaxItem | FiscalYear | G/L Fiscal Year |
| KEY | TaxItem | I_StRpTaxItem | TaxItem | Tax Item |
| KEY | TaxCalculationProcedure | I_StRpTaxItem | TaxCalculationProcedure | Tax Procedure |
| KEY | TaxCode | I_StRpTaxItem | TaxCode | Tax Code |
| KEY | TransactionTypeDetermination | I_StRpTaxItem | TransactionTypeDetermination | Transaction Key |
| DebitCreditCode | I_StRpTaxItem | DebitCreditCode | Single-Character Flag | |
| TaxRate | ||||
| AR_VATRateInPercent | ||||
| GLAccount | I_StRpTaxItem | GLAccount | General Ledger | |
| AccountingDocumentHeaderText | I_StRpTaxItem | AccountingDocumentHeaderText | Doc.Header Text | |
| AccountingDocumentType | I_StRpTaxItem | AccountingDocumentType | Journal Entry Type | |
| AdditionalCurrency1 | I_StRpTaxItem | AdditionalCurrency1 | Local curr. 2 | |
| AdditionalCurrency2 | I_StRpTaxItem | AdditionalCurrency2 | Local curr. 3 | |
| BusinessPartner | I_StRpTaxItem | BusinessPartner | Issuing Authority | |
| BusinessPartnerName | I_StRpTaxItem | BusinessPartnerName | Extracted Customer Name | |
| BusinessPlace | I_StRpTaxItem | BusinessPlace | Business place | |
| CompanyCodeCountry | I_StRpTaxItem | CompanyCodeCountry | Reporting Ctry/Reg. | |
| CompanyCodeCurrency | I_StRpTaxItem | CompanyCodeCurrency | Local Currency | |
| CountryCurrency | I_StRpTaxItem | CountryCurrency | Currency | |
| CustomerSupplierAddress | I_StRpTaxItem | CustomerSupplierAddress | ||
| DocumentCurrency | I_StRpTaxItem | DocumentCurrency | Document Currency | |
| DocumentDate | I_StRpTaxItem | DocumentDate | Journal Entry Date | |
| DocumentReferenceID | I_StRpTaxItem | DocumentReferenceID | Reference | |
| FiscalPeriod | I_StRpTaxItem | FiscalPeriod | Tax period | |
| IsReversal | I_StRpTaxItem | IsReversal | Reversal doc. | |
| IsReversed | I_StRpTaxItem | IsReversed | Reversed? | |
| Ledger | I_StRpTaxItem | Ledger | Ledger | |
| LedgerGroup | ||||
| LowestLevelTaxJurisdiction | I_StRpTaxItem | LowestLevelTaxJurisdiction | Jurisdict. Code | |
| PostingDate | I_StRpTaxItem | PostingDate | Posting Date for GR | |
| ReportingDate | I_StRpTaxItem | ReportingDate | ||
| ReferenceDocumentType | I_StRpTaxItem | ReferenceDocumentType | Reference Document Type | |
| ReportingCountry | I_StRpTaxItem | ReportingCountry | ||
| ReportingCurrency | I_StRpTaxItem | ReportingCurrency | Currency | |
| ReverseDocument | I_StRpTaxItem | ReverseDocument | Reversed With | |
| ReverseDocumentFiscalYear | I_StRpTaxItem | ReverseDocumentFiscalYear | Year | |
| TargetTaxCode | I_StRpTaxItem | TargetTaxCode | ||
| TaxAmount | I_StRpTaxItem | TaxAmount | Tax Amt in Rptg Crcy | |
| TaxAmountInAdditionalCurrency1 | I_StRpTaxItem | TaxAmountInAdditionalCurrency1 | LC 2 Tax | |
| TaxAmountInAdditionalCurrency2 | I_StRpTaxItem | TaxAmountInAdditionalCurrency2 | LC 3 Tax | |
| TaxAmountInCountryCrcy | I_StRpTaxItem | TaxAmountInCountryCrcy | Tax Rept. Crcy | |
| TaxAmountInRptgCrcy | I_StRpTaxItem | TaxAmountInRptgCrcy | Tax Rept. Crcy | |
| TaxBaseAmountInCountryCrcy | I_StRpTaxItem | TaxBaseAmountInCountryCrcy | Base Amount | |
| TaxBaseAmountInRptgCrcy | I_StRpTaxItem | TaxBaseAmountInRptgCrcy | Base Amount | |
| TaxBaseAmountInTransCrcy | I_StRpTaxItem | TaxBaseAmountInTransCrcy | Value-Added Tax | |
| TaxBaseAmtInAdditionalCrcy1 | I_StRpTaxItem | TaxBaseAmtInAdditionalCrcy1 | LC 2 Base | |
| TaxBaseAmtInAdditionalCrcy2 | I_StRpTaxItem | TaxBaseAmtInAdditionalCrcy2 | LC 3 Base | |
| TaxIsNotDeductible | I_StRpTaxItem | TaxIsNotDeductible | Non-Deductible | |
| TaxItemGroup | I_StRpTaxItem | TaxItemGroup | Tax doc. item number | |
| TaxJurisdiction | I_StRpTaxItem | TaxJurisdiction | Tax Jurisdiction | |
| TaxNumber1 | I_StRpTaxItem | TaxNumber1 | VAT Reg. No. | |
| TaxNumber2 | I_StRpTaxItem | TaxNumber2 | Tax Number 2 | |
| TaxNumber3 | I_StRpTaxItem | TaxNumber3 | Tax Number 3 | |
| TaxReportingDate | I_StRpTaxItem | TaxReportingDate | Tax Reporting Date | |
| TaxReturnCountry | I_StRpTaxItem | TaxReturnCountry | Reporting C/R | |
| TaxType | I_StRpTaxItem | TaxType | Tax Type | |
| DocumentTypeCategory | I_AR_ImportServiceDocumentType | DocumentTypeCategory | Document Type catg. | |
| IsRespForImportDeclaration | I_AR_ImportServiceDocumentType | IsRespForImportDeclaration | Import of Services | |
| AR_OfficialDocumentClass | CountrySpecificDocumentType | AR_OfficialDocumentClass | ||
| AR_IsSelfIssuedDocument | CountrySpecificDocumentType | AR_IsSelfIssuedDocument | ||
| AlternativeCurrencyKey | I_Altvcurrency | AlternativeCurrencyKey | Alternative key | |
| QuantityUnit | ||||
| LinearDataLength | ||||
| CountryendasBusinessPartnerCountry | ||||
| TaxNumberTypeendasTaxNumberType | ||||
| TaxClassification | ||||
| TaxClassificationCategory | I_AR_TaxClassIdentification | StRpTaxClassification | Tax class | |
| StRpTaxClassification | ||||
| ExchangeRateendasExchangeRate | ||||
| ZeroVATRsn | ZeroVATRsn | Reason for Zero VAT | ||
| AR_OfficialDocumentType | OfclDocTypeDetnWthBlnkPrntChar | AR_OfficialDocumentType | ||
| _AccountingDocument | I_StRpTaxItem | _AccountingDocument | ||
| _GLAccount | I_StRpTaxItem | _GLAccount | ||
| _ReceivablesPayablesItem | I_StRpTaxItem | _ReceivablesPayablesItem | ||
| _ReportedItemsLog | I_StRpTaxItem | _ReportedItemsLog | ||
| _ReportingCurrency | I_StRpTaxItem | _ReportingCurrency | ||
| _TaxJurisdiction | I_StRpTaxItem | _TaxJurisdiction | ||
| _TaxTypeText | I_StRpTaxItem | _TaxTypeText | ||
| GLBusinessTransactionType | I_AR_TaxClassIdentification | GLBusinessTransactionType | Transact. Type | |
| ResponsibleType | I_Supplier | ResponsibleType | Tax Type | |
| _QuantityUnitOfMeasure | _QuantityUnitOfMeasure | |||
| _OfficialDocumentTypeDetn | _OfficialDocumentTypeDetn |
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_AR_StRpTaxItem.
-- 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.
-- SQL view name: IARCALTAXITEM
CREATE VIEW I_AR_StRpTaxItem AS
SELECT
I_StRpTaxItem.CompanyCode AS CompanyCode,
I_StRpTaxItem.AccountingDocument AS AccountingDocument,
I_StRpTaxItem.FiscalYear AS FiscalYear,
I_StRpTaxItem.TaxItem AS TaxItem,
I_StRpTaxItem.TaxCalculationProcedure AS TaxCalculationProcedure,
I_StRpTaxItem.TaxCode AS TaxCode,
I_StRpTaxItem.TransactionTypeDetermination AS TransactionTypeDetermination,
I_StRpTaxItem.DebitCreditCode AS DebitCreditCode,
cast(cast(I_StRpTaxItem.TaxRate as abap.dec(11,2)) as char16) AS TaxRate,
cast(cast(abs(I_StRpTaxItem.TaxRate) as abap.dec(11,2)) as char16) AS AR_VATRateInPercent,
I_StRpTaxItem.GLAccount AS GLAccount,
I_StRpTaxItem.AccountingDocumentHeaderText AS AccountingDocumentHeaderText,
I_StRpTaxItem.AccountingDocumentType AS AccountingDocumentType,
I_StRpTaxItem.AdditionalCurrency1 AS AdditionalCurrency1,
I_StRpTaxItem.AdditionalCurrency2 AS AdditionalCurrency2,
I_StRpTaxItem.BusinessPartner AS BusinessPartner,
I_StRpTaxItem.BusinessPartnerName AS BusinessPartnerName,
I_StRpTaxItem.BusinessPlace AS BusinessPlace,
I_StRpTaxItem.CompanyCodeCountry AS CompanyCodeCountry,
I_StRpTaxItem.CompanyCodeCurrency AS CompanyCodeCurrency,
I_StRpTaxItem.CountryCurrency AS CountryCurrency,
I_StRpTaxItem.CustomerSupplierAddress AS CustomerSupplierAddress,
I_StRpTaxItem.DocumentCurrency AS DocumentCurrency,
I_StRpTaxItem.DocumentDate AS DocumentDate,
I_StRpTaxItem.DocumentReferenceID AS DocumentReferenceID,
I_StRpTaxItem.FiscalPeriod AS FiscalPeriod,
I_StRpTaxItem.IsReversal AS IsReversal,
I_StRpTaxItem.IsReversed AS IsReversed,
I_StRpTaxItem.Ledger AS Ledger,
cast(I_StRpTaxItem.LedgerGroup as fagl_ldgrp) AS LedgerGroup,
I_StRpTaxItem.LowestLevelTaxJurisdiction AS LowestLevelTaxJurisdiction,
I_StRpTaxItem.PostingDate AS PostingDate,
I_StRpTaxItem.ReportingDate AS ReportingDate,
I_StRpTaxItem.ReferenceDocumentType AS ReferenceDocumentType,
I_StRpTaxItem.ReportingCountry AS ReportingCountry,
I_StRpTaxItem.ReportingCurrency AS ReportingCurrency,
I_StRpTaxItem.ReverseDocument AS ReverseDocument,
I_StRpTaxItem.ReverseDocumentFiscalYear AS ReverseDocumentFiscalYear,
I_StRpTaxItem.TargetTaxCode AS TargetTaxCode,
I_StRpTaxItem.TaxAmount AS TaxAmount,
I_StRpTaxItem.TaxAmountInAdditionalCurrency1 AS TaxAmountInAdditionalCurrency1,
I_StRpTaxItem.TaxAmountInAdditionalCurrency2 AS TaxAmountInAdditionalCurrency2,
I_StRpTaxItem.TaxAmountInCountryCrcy AS TaxAmountInCountryCrcy,
I_StRpTaxItem.TaxAmountInRptgCrcy AS TaxAmountInRptgCrcy,
I_StRpTaxItem.TaxBaseAmountInCountryCrcy AS TaxBaseAmountInCountryCrcy,
I_StRpTaxItem.TaxBaseAmountInRptgCrcy AS TaxBaseAmountInRptgCrcy,
I_StRpTaxItem.TaxBaseAmountInTransCrcy AS TaxBaseAmountInTransCrcy,
I_StRpTaxItem.TaxBaseAmtInAdditionalCrcy1 AS TaxBaseAmtInAdditionalCrcy1,
I_StRpTaxItem.TaxBaseAmtInAdditionalCrcy2 AS TaxBaseAmtInAdditionalCrcy2,
I_StRpTaxItem.TaxIsNotDeductible AS TaxIsNotDeductible,
I_StRpTaxItem.TaxItemGroup AS TaxItemGroup,
I_StRpTaxItem.TaxJurisdiction AS TaxJurisdiction,
I_StRpTaxItem.TaxNumber1 AS TaxNumber1,
I_StRpTaxItem.TaxNumber2 AS TaxNumber2,
I_StRpTaxItem.TaxNumber3 AS TaxNumber3,
I_StRpTaxItem.TaxReportingDate AS TaxReportingDate,
I_StRpTaxItem.TaxReturnCountry AS TaxReturnCountry,
I_StRpTaxItem.TaxType AS TaxType,
I_AR_ImportServiceDocumentType.DocumentTypeCategory AS DocumentTypeCategory,
I_AR_ImportServiceDocumentType.IsRespForImportDeclaration AS IsRespForImportDeclaration,
CountrySpecificDocumentType.AR_OfficialDocumentClass AS AR_OfficialDocumentClass,
CountrySpecificDocumentType.AR_IsSelfIssuedDocument AS AR_IsSelfIssuedDocument,
I_Altvcurrency.AlternativeCurrencyKey AS AlternativeCurrencyKey,
cast( 'X' as abap.unit( 3 ) ) AS QuantityUnit,
length(I_StRpTaxItem.BusinessPartnerName) AS LinearDataLength,
case when I_Supplier.Supplier <> '' then I_Supplier.Country end as BusinessPartnerCountry AS CountryendasBusinessPartnerCountry,
case when I_Customer.Customer <> '' then I_Customer.TaxNumberType when I_Supplier.Supplier <> '' then I_Supplier.TaxNumberType end as TaxNumberType AS TaxNumberTypeendasTaxNumberType,
'' AS TaxClassification,
I_AR_TaxClassIdentification.StRpTaxClassification AS TaxClassificationCategory,
substring(I_AR_TaxClassIdentification.StRpTaxClassification,1,2) AS StRpTaxClassification,
case I_StRpTaxItem.DocumentCurrency when 'ARS' then 1 else I_StRpTaxItem.ExchangeRate end as ExchangeRate AS ExchangeRateendasExchangeRate,
ZeroVATRsn,
OfclDocTypeDetnWthBlnkPrntChar.AR_OfficialDocumentType AS AR_OfficialDocumentType,
I_StRpTaxItem._AccountingDocument AS _AccountingDocument,
I_StRpTaxItem._GLAccount AS _GLAccount,
I_StRpTaxItem._ReceivablesPayablesItem AS _ReceivablesPayablesItem,
I_StRpTaxItem._ReportedItemsLog AS _ReportedItemsLog,
I_StRpTaxItem._ReportingCurrency AS _ReportingCurrency,
I_StRpTaxItem._TaxJurisdiction AS _TaxJurisdiction,
I_StRpTaxItem._TaxTypeText AS _TaxTypeText,
I_AR_TaxClassIdentification.GLBusinessTransactionType AS GLBusinessTransactionType,
I_Supplier.ResponsibleType AS ResponsibleType
FROM I_StRpTaxItem
LEFT OUTER JOIN I_AR_TaxClassIdentification ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Altvcurrency ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_AR_ImportServiceDocumentType ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_AccountingDocument AS _ReverseDoc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Customer ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Supplier ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_UnitOfMeasure AS _QuantityUnitOfMeasure ON QuantityUnit = _QuantityUnitOfMeasure.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_AR_OfficialDocumentTypeDetn AS _OfficialDocumentTypeDetn ON _OfficialDocumentTypeDetn.Country = 'AR' AND _OfficialDocumentTypeDetn.AR_Report = 'RPFIGLAR_TAXREPORTING' AND _OfficialDocumentTypeDetn.AR_OfficialDocumentClass = AR_OfficialDocumentClass AND _OfficialDocumentTypeDetn.AR_PrintCharacter = AR_PrintCharacter -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA