C_AR_JournalEntryTaxItemDetail
Jrnl Entries Tax Itm Dets. for Argentina
C_AR_JournalEntryTaxItemDetail is a Consumption CDS View that provides data about "Jrnl Entries Tax Itm Dets. for Argentina" in SAP S/4HANA. It reads from 2 data sources (P_AR_JournalEntryTaxDetail, I_CountrySpecificDocumentType) and exposes 64 fields with key fields CompanyCode, FiscalYear, AccountingDocument, TaxItem, Supplier. It has 4 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_AR_JournalEntryTaxDetail | AR_JournalEntryTaxDetail | from |
| I_CountrySpecificDocumentType | CountrySpecificDocumentType | left_outer |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_AR_OfficialDocumentTypeDetn | _AR_OfficialDocumentTypeDetn | _AR_OfficialDocumentTypeDetn.Country = $projection.CompanyCodeCountry and _AR_OfficialDocumentTypeDetn.AR_OfficialDocumentClass = CountrySpecificDocumentType.AR_OfficialDocumentClass and _AR_OfficialDocumentTypeDetn.AR_PrintCharacter = $projection.AR_PrintCharacter and _AR_OfficialDocumentTypeDetn.AR_Report = 'RPFIGLAR_TAXREPORTING' |
| [0..*] | I_OneTimeAccountBP | _OneTimeAccountBP | $projection.CompanyCode = _OneTimeAccountBP.CompanyCode and $projection.AccountingDocument = _OneTimeAccountBP.AccountingDocument and $projection.FiscalYear = _OneTimeAccountBP.FiscalYear |
| [0..*] | I_StRpJournalEntryLog | _StRpJournalEntryLog | $projection.CompanyCode = _StRpJournalEntryLog.CompanyCode and $projection.AccountingDocument = _StRpJournalEntryLog.AccountingDocument and $projection.FiscalYear = _StRpJournalEntryLog.FiscalYear |
| [1..1] | I_Altvcurrency | _AltvCurrency | _AltvCurrency.Currency = $projection.CompanyCodeCurrency and _AltvCurrency.CurrencyAlternativeCodeGroup = 'DAILYVAT' |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CARJRNLENTTXIDET | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| EndUserText.label | Jrnl Entries Tax Itm Dets. for Argentina | view |
Fields (64)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | TaxItem | TaxItem | Tax Item | |
| KEY | Supplier | Supplier | Supplier | |
| KEY | Customer | Customer | Sold-to Party | |
| KEY | TaxType | TaxType | Tax Type | |
| CompanyCodeCountry | CompanyCodeCountry | Reporting Ctry/Reg. | ||
| AccountingDocumentType | P_AR_JournalEntryTaxDetail | AccountingDocumentType | Journal Entry Type | |
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| ExchangeRateDate | ExchangeRateDate | Translatn Date | ||
| ExchangeRate | ExchangeRate | Exchange rate | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| ReportingDate | ReportingDate | |||
| ClearingDate | ClearingDate | Clearing Date | ||
| ClearingAccountingDocument | ClearingAccountingDocument | Clearing Journal Entry | ||
| AR_OfficialDocumentClass | I_CountrySpecificDocumentType | AR_OfficialDocumentClass | Document Class | |
| IsReversal | IsReversal | Reversal doc. | ||
| IsReversed | IsReversed | Reversed? | ||
| ReverseDocument | ReverseDocument | Reversed With | ||
| ReversalReferenceDocument | ReversalReferenceDocument | Reversal Reference Document | ||
| OriginalReferenceDocument | OriginalReferenceDocument | Reference Key | ||
| ReferenceDocumentType | ReferenceDocumentType | Reference Document Type | ||
| DocumentReferenceID | DocumentReferenceID | Reference | ||
| AR_Branch | AR_Branch | |||
| AR_PrintCharacter | AR_PrintCharacter | |||
| AR_OfficialDocumentNumber | AR_OfficialDocumentNumber | |||
| AR_IsSelfIssuedDocument | AR_IsSelfIssuedDocument | Self-issued doc. | ||
| TaxCalculationProcedure | TaxCalculationProcedure | Tax Procedure | ||
| TaxCode | TaxCode | Tax Code | ||
| TaxCodeName | TaxCodeName | Tax Code Name | ||
| TransactionTypeDetermination | TransactionTypeDetermination | Transaction Key | ||
| TaxRate | TaxRate | Tax Rate | ||
| StRpTaxClassification | StRpTaxClassification | |||
| ZeroVATRsn | ZeroVATRsn | Reason for Zero VAT | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| AmountInTransactionCurrency | AmountInTransactionCurrency | Pt Crcy Amt | ||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| TaxBaseAmountInCoCodeCrcy | TaxBaseAmountInCoCodeCrcy | TxBaseAmt CoCodeCrcy | ||
| TaxAmountInCoCodeCrcy | TaxAmountInCoCodeCrcy | Tax Amount in Company Code Currency | ||
| TaxedAmountInCoCoCrcy | TaxedAmountInCoCoCrcy | |||
| NotTaxedAmount | NotTaxedAmount | |||
| TaxExemptionAmount | TaxExemptionAmount | Tax Exemption | ||
| ExportOperationTaxAmount | ExportOperationTaxAmount | |||
| ImportAmountInCompanyCodeCrcy | ImportAmountInCompanyCodeCrcy | |||
| _AccountingDocumentType | _AccountingDocumentType | |||
| _CompanyCode | _CompanyCode | |||
| _CompanyCodeCountry | _CompanyCodeCountry | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _Customer | _Customer | |||
| _FinancialAccountType | _FinancialAccountType | |||
| _FiscalPeriod | _FiscalPeriod | |||
| _FiscalYear | _FiscalYear | |||
| _ReferenceDocumentType | _ReferenceDocumentType | |||
| _Supplier | _Supplier | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _OneTimeAccountBP | _OneTimeAccountBP | |||
| _StRpJournalEntryLog | _StRpJournalEntryLog | |||
| _AltvCurrency | _AltvCurrency | |||
| _AR_OfficialDocumentTypeDetn | _AR_OfficialDocumentTypeDetn | |||
| _TaxType | _TaxType |
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 C_AR_JournalEntryTaxItemDetail.
-- 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: CARJRNLENTTXIDET
CREATE VIEW C_AR_JournalEntryTaxItemDetail AS
SELECT
CompanyCode,
FiscalYear,
AccountingDocument,
TaxItem,
Supplier,
Customer,
TaxType,
CompanyCodeCountry,
AR_JournalEntryTaxDetail.AccountingDocumentType AS AccountingDocumentType,
FinancialAccountType,
ExchangeRateDate,
ExchangeRate,
FiscalPeriod,
PostingDate,
DocumentDate,
ReportingDate,
ClearingDate,
ClearingAccountingDocument,
CountrySpecificDocumentType.AR_OfficialDocumentClass AS AR_OfficialDocumentClass,
IsReversal,
IsReversed,
ReverseDocument,
ReversalReferenceDocument,
OriginalReferenceDocument,
ReferenceDocumentType,
DocumentReferenceID,
AR_Branch,
AR_PrintCharacter,
AR_OfficialDocumentNumber,
AR_IsSelfIssuedDocument,
TaxCalculationProcedure,
TaxCode,
TaxCodeName,
TransactionTypeDetermination,
TaxRate,
StRpTaxClassification,
ZeroVATRsn,
TransactionCurrency,
CompanyCodeCurrency,
AmountInTransactionCurrency,
AmountInCompanyCodeCurrency,
TaxBaseAmountInCoCodeCrcy,
TaxAmountInCoCodeCrcy,
TaxedAmountInCoCoCrcy,
NotTaxedAmount,
TaxExemptionAmount,
ExportOperationTaxAmount,
ImportAmountInCompanyCodeCrcy
FROM P_AR_JournalEntryTaxDetail AS AR_JournalEntryTaxDetail
LEFT OUTER JOIN I_CountrySpecificDocumentType AS CountrySpecificDocumentType ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_AR_OfficialDocumentTypeDetn AS _AR_OfficialDocumentTypeDetn ON _AR_OfficialDocumentTypeDetn.Country = CompanyCodeCountry AND _AR_OfficialDocumentTypeDetn.AR_OfficialDocumentClass = CountrySpecificDocumentType.AR_OfficialDocumentClass AND _AR_OfficialDocumentTypeDetn.AR_PrintCharacter = AR_PrintCharacter AND _AR_OfficialDocumentTypeDetn.AR_Report = 'RPFIGLAR_TAXREPORTING' -- association [1..1]
LEFT OUTER JOIN I_OneTimeAccountBP AS _OneTimeAccountBP ON CompanyCode = _OneTimeAccountBP.CompanyCode AND AccountingDocument = _OneTimeAccountBP.AccountingDocument AND FiscalYear = _OneTimeAccountBP.FiscalYear -- association [0..*]
LEFT OUTER JOIN I_StRpJournalEntryLog AS _StRpJournalEntryLog ON CompanyCode = _StRpJournalEntryLog.CompanyCode AND AccountingDocument = _StRpJournalEntryLog.AccountingDocument AND FiscalYear = _StRpJournalEntryLog.FiscalYear -- association [0..*]
LEFT OUTER JOIN I_Altvcurrency AS _AltvCurrency ON _AltvCurrency.Currency = CompanyCodeCurrency AND _AltvCurrency.CurrencyAlternativeCodeGroup = 'DAILYVAT' -- association [1..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