I_StRpTaxItemLog

DDL: I_STRPTAXITEMLOG SQL: ISRTAXITEMLOG Type: view COMPOSITE

Tax Items log for Statutory Reporting

I_StRpTaxItemLog is a Composite CDS View (Cube) that provides data about "Tax Items log for Statutory Reporting" in SAP S/4HANA. It reads from 1 data source (I_StRpTaxItemBoxCube) and exposes 100 fields with key fields CompanyCode, AccountingDocument, FiscalYear, TaxItem, StatryRptgEntity. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_StRpTaxItemBoxCube I_StRpTaxItemBoxCube from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Currency _ReportingCurrency $projection.ReportingCurrency = _ReportingCurrency.Currency

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ISRTAXITEMLOG view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Tax Items log for Statutory Reporting view
VDM.viewType #COMPOSITE view
Analytics.dataCategory #CUBE view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.allowExtensions true view
AbapCatalog.preserveKey true view

Fields (100)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY TaxItem TaxItem Tax Item
KEY StatryRptgEntity
KEY StatryRptCategory
KEY StatryRptRunID
KEY TaxCode TaxCode Tax Code
KEY TransactionTypeDetermination TransactionTypeDetermination Transaction Key
KEY TaxBox TaxBox Tax.Bs.Gp.No.
KEY TaxDeclnAmountType TaxDeclnAmountType
KEY TaxItemGroupingVersion TaxItemGroupingVersion Tax Grping Ver.
KEY ValidFrom ValidFrom Vers.Valid From
KEY TaxBoxStructureType TaxBoxStructureType
KEY TaxGroup TaxGroup Tax Group
TaxBoxStructure TaxBoxStructure
TaxBoxStructureName TaxBoxStructureName
TaxBoxName TaxBoxName
TaxBoxCondition TaxBoxCondition
SupplierAccountGroup SupplierAccountGroup Account group
TaxBoxAggregationOperation TaxBoxAggregationOperation
TaxGroupOperation TaxGroupOperation
PostingDate PostingDate Posting Date for GR
DocumentDate DocumentDate Journal Entry Date
TaxReportingDate TaxReportingDate Tax Reporting Date
TaxReportingDocumentDate TaxReportingDocumentDate
TaxItemGroup TaxItemGroup Tax doc. item number
FiscalPeriod FiscalPeriod Tax period
AccountingDocumentType AccountingDocumentType Journal Entry Type
AccountingDocumentHeaderText AccountingDocumentHeaderText Doc.Header Text
DocumentReferenceID DocumentReferenceID Reference
CompanyCodeCountry CompanyCodeCountry Reporting Ctry/Reg.
ReportingCountry ReportingCountry
TaxReturnCountry TaxReturnCountry Reporting C/R
TaxCountry TaxCountry Tax Ctry/Reg.
ReportingDate I_StRpTaxItemBoxCube ReportingDate
ExchangeRate ExchangeRate Exchange rate
TaxRate TaxRate Tax Rate
GLAccount GLAccount General Ledger
BusinessPlace BusinessPlace Business place
TaxJurisdiction TaxJurisdiction Tax Jurisdiction
LowestLevelTaxJurisdiction LowestLevelTaxJurisdiction Jurisdict. Code
ReferenceDocumentType ReferenceDocumentType Reference Document Type
TaxCalculationProcedure TaxCalculationProcedure Tax Procedure
TargetTaxCode TargetTaxCode
TaxNumber1 TaxNumber1 VAT Reg. No.
TaxNumber2 TaxNumber2 Tax Number 2
TaxNumber3 TaxNumber3
BusinessPartner BusinessPartner Issuing Authority
BusinessPartnerCountry BusinessPartnerCountry BP Ctry/Reg.
BusinessPartnerName BusinessPartnerName Extracted Customer Name
CustomerSupplierAddress CustomerSupplierAddress
DebitCreditCode DebitCreditCode Single-Character Flag
ReverseDocument ReverseDocument Reversed With
ReverseDocumentFiscalYear ReverseDocumentFiscalYear Year
Ledger Ledger Ledger
LedgerGroup LedgerGroup Ledger Group
IsReversal IsReversal Reversal doc.
IsReversed IsReversed Reversed?
TaxBaseAmountInCountryCrcy TaxBaseAmountInCountryCrcy Base Amount
TaxAmountInCountryCrcy TaxAmountInCountryCrcy Tax Rept. Crcy
ConditionType ConditionType Condition type
EUTaxClassification EUTaxClassification
TaxType TaxType Tax Type
CompanyCodeCurrency CompanyCodeCurrency Local Currency
CountryCurrency CountryCurrency Currency
DocumentCurrency DocumentCurrency Document Currency
ReportingCurrency ReportingCurrency Currency
AdditionalCurrency1 AdditionalCurrency1 Local curr. 2
AdditionalCurrency2 AdditionalCurrency2 Local curr. 3
AmountInReportingCurrency AmountInReportingCurrency
AmountInTransactionCurrency AmountInTransactionCurrency Pt Crcy Amt
TaxBaseAmountInCoCodeCrcy TaxBaseAmountInCoCodeCrcy TxBaseAmt CoCodeCrcy
TaxAmountInCoCodeCrcy TaxAmountInCoCodeCrcy Tax Amount in Company Code Currency
TaxBaseAmountInTransCrcy TaxBaseAmountInTransCrcy Value-Added Tax
TaxAmount TaxAmount Tax Amt in Rptg Crcy
TaxBaseAmountInRptgCrcy TaxBaseAmountInRptgCrcy Base Amount
TaxAmountInRptgCrcy TaxAmountInRptgCrcy Tax Rept. Crcy
AmountInAdditionalCurrency1 AmountInAdditionalCurrency1 Amount in Additional Currency 1
AmountInAdditionalCurrency2 AmountInAdditionalCurrency2 LC2 Amount
TaxBaseAmtInAdditionalCrcy1 TaxBaseAmtInAdditionalCrcy1 LC 2 Base
TaxBaseAmtInAdditionalCrcy2 TaxBaseAmtInAdditionalCrcy2 LC 3 Base
TaxAmountInAdditionalCurrency1 TaxAmountInAdditionalCurrency1 LC 2 Tax
TaxAmountInAdditionalCurrency2 TaxAmountInAdditionalCurrency2 LC 3 Tax
CAReconciliationKey CAReconciliationKey Reconcil. Key
TaxIsNotDeductible TaxIsNotDeductible Non-Deductible
MiniOneStopShopTxRptgCntry MiniOneStopShopTxRptgCntry
SenderCompanyCode SenderCompanyCode Sender Company Code
SenderAccountingDocument SenderAccountingDocument Sender Journal Entry
SenderFiscalYear SenderFiscalYear Sender FiscalYr
TaxBoxConfiguration TaxBoxConfiguration
_ReportingCurrency _ReportingCurrency
_AccountingDocument _AccountingDocument
_GLAccount _GLAccount
_TaxJurisdiction _TaxJurisdiction
_DebtorCreditorRblsPyblsItem _DebtorCreditorRblsPyblsItem
_ReceivablesPayablesItem _ReceivablesPayablesItem
_TaxReceivablesPayablesItem _TaxReceivablesPayablesItem
_TaxTypeText _TaxTypeText
_TaxCodeText _TaxCodeText

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_StRpTaxItemLog.
-- 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: ISRTAXITEMLOG

CREATE VIEW I_StRpTaxItemLog AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  TaxItem,
  I_StRpTaxItemBoxCube._ReportedItemsLog.StatryRptgEntity AS StatryRptgEntity,
  I_StRpTaxItemBoxCube._ReportedItemsLog.StatryRptCategory AS StatryRptCategory,
  I_StRpTaxItemBoxCube._ReportedItemsLog.StatryRptRunID AS StatryRptRunID,
  TaxCode,
  TransactionTypeDetermination,
  TaxBox,
  TaxDeclnAmountType,
  TaxItemGroupingVersion,
  ValidFrom,
  TaxBoxStructureType,
  TaxGroup,
  TaxBoxStructure,
  TaxBoxStructureName,
  TaxBoxName,
  TaxBoxCondition,
  SupplierAccountGroup,
  TaxBoxAggregationOperation,
  TaxGroupOperation,
  PostingDate,
  DocumentDate,
  TaxReportingDate,
  TaxReportingDocumentDate,
  TaxItemGroup,
  FiscalPeriod,
  AccountingDocumentType,
  AccountingDocumentHeaderText,
  DocumentReferenceID,
  CompanyCodeCountry,
  ReportingCountry,
  TaxReturnCountry,
  TaxCountry,
  I_StRpTaxItemBoxCube.ReportingDate AS ReportingDate,
  ExchangeRate,
  TaxRate,
  GLAccount,
  BusinessPlace,
  TaxJurisdiction,
  LowestLevelTaxJurisdiction,
  ReferenceDocumentType,
  TaxCalculationProcedure,
  TargetTaxCode,
  TaxNumber1,
  TaxNumber2,
  TaxNumber3,
  BusinessPartner,
  BusinessPartnerCountry,
  BusinessPartnerName,
  CustomerSupplierAddress,
  DebitCreditCode,
  ReverseDocument,
  ReverseDocumentFiscalYear,
  Ledger,
  LedgerGroup,
  IsReversal,
  IsReversed,
  TaxBaseAmountInCountryCrcy,
  TaxAmountInCountryCrcy,
  ConditionType,
  EUTaxClassification,
  TaxType,
  CompanyCodeCurrency,
  CountryCurrency,
  DocumentCurrency,
  ReportingCurrency,
  AdditionalCurrency1,
  AdditionalCurrency2,
  AmountInReportingCurrency,
  AmountInTransactionCurrency,
  TaxBaseAmountInCoCodeCrcy,
  TaxAmountInCoCodeCrcy,
  TaxBaseAmountInTransCrcy,
  TaxAmount,
  TaxBaseAmountInRptgCrcy,
  TaxAmountInRptgCrcy,
  AmountInAdditionalCurrency1,
  AmountInAdditionalCurrency2,
  TaxBaseAmtInAdditionalCrcy1,
  TaxBaseAmtInAdditionalCrcy2,
  TaxAmountInAdditionalCurrency1,
  TaxAmountInAdditionalCurrency2,
  CAReconciliationKey,
  TaxIsNotDeductible,
  MiniOneStopShopTxRptgCntry,
  SenderCompanyCode,
  SenderAccountingDocument,
  SenderFiscalYear,
  TaxBoxConfiguration
FROM I_StRpTaxItemBoxCube
LEFT OUTER JOIN I_Currency AS _ReportingCurrency ON ReportingCurrency = _ReportingCurrency.Currency  -- association [0..1]
;