I_RptblTransactionalTaxItem

DDL: I_RPTBLTRANSACTIONALTAXITEM Type: view_entity BASIC Package: FIN_TAXREG_DB

Reportable Transactional Tax Item

I_RptblTransactionalTaxItem is a Basic CDS View that provides data about "Reportable Transactional Tax Item" in SAP S/4HANA. It reads from 1 data source (tax_reg_item) and exposes 54 fields with key field TaxItemUUID. It has 7 associations to related views. Part of development package FIN_TAXREG_DB.

Data Sources (1)

SourceAliasJoin Type
tax_reg_item TransactionalTaxItem from

Associations (7)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_Currency _DocumentCurrency $projection.TransactionCurrency = _DocumentCurrency.Currency
[0..1] I_Currency _CompanyCodeCurrency $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency
[0..1] I_Currency _ReportingCurrency $projection.ReportingCurrency = _ReportingCurrency.Currency
[0..1] I_GLAccount _GLAccount $projection.GLAccount = _GLAccount.GLAccount and $projection.CompanyCode = _GLAccount.CompanyCode
[0..1] I_Country _TaxCountry $projection.TaxCountry = _TaxCountry.Country
[0..1] I_TaxRegisterMigration _TaxRegMigration $projection.TaxRegisterMigrationUUID = _TaxRegMigration.TaxRegisterMigrationUUID

Annotations (8)

NameValueLevelField
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Reportable Transactional Tax Item view

Fields (54)

KeyFieldSource TableSource FieldDescription
KEY TaxItemUUID taxitem_uuid Tax Item UUID
CompanyCode bukrs Value
AccountingDocument SD Document
FiscalYear gjahr Settlement Year
TaxCountry Tax Ctry/Rgn
TaxationType taxation_type Taxation Type
SourceReferenceDocumentType Reference Document Type
SourceLogicalSystem Logical System
SourceReferenceDocumentCntxt Refer. Org.Unit
SourceReferenceDocument awref Reference Doc.
RvsdReferenceDocumentType ReversalRefTran
ReversalReferenceDocument Reversal Ref.
ReversalReferenceDocumentCntxt Reversal Org.
TransactionTypeDetermination ktosl Transaction
AccountingDocumentType blart Rep. rec. doc. type
TaxDueCategory due_category Due Category
GLAccount tax_recon_account Tax GL Account Number
ConditionType condition_type RAI Condition Type
TaxRateInPercent tax_rate WithholdingRate
TaxRegisterPercentageUnit
PostingDate budat Posting Date
DocumentDate Journal Entry Date
TaxFulfillmentDate fulfilldate Tax Settlement Date
TaxReportingDate tax_reporting_date Tax Reporting Date
TaxRateValidityStartDate txdat_from Tax Rate Valid-From
TaxItemGroup tax_group Tax Grouping
TaxLineItemStatus line_item_status Line Item Status
IsReversal xreversing Reversal doc.
IsReversed xreversed Reversed
TaxPayableDocument tax_pybl_doc_nmbr Tax Payable Document Number
TaxPayableDocumentYear tax_pybl_doc_year Tax Payable Document Year
TaxAmountInCoCodeCrcy tax_amt_co_crcy Tax Amount in Company Code Currency
CompanyCodeCurrency company_code_currency Currency
TaxAmountInTransCrcy tax_amt_trans_crcy Tax Amount in Transaction Currency
TransactionCurrency transaction_currency Transaction Currency
TaxAmountInRptgCrcy tax_amt_rptg_crcy Tax Amount in Reporting Currency
ReportingCurrency reporting_currency Reporting Currency
TaxLineItemPayableStatus tax_line_payable_status Status
TaxCode mwskz Tax Code
TaxDeductibility tax_deductibility Deductibility
DebitCreditCode shkzg Returns
TaxItemIsReportingRelevant xreportable Is Reportable
TaxRegisterMigrationUUID migration_uuid UUID
CreationDateTime created_at Uploaded On
CreatedByUser created_by Version Created By
LastChangeDateTime lastchangedat Time Stamp
LastChangedByUser lastchangedby User Name
_CompanyCode _CompanyCode
_DocumentCurrency _DocumentCurrency
_CompanyCodeCurrency _CompanyCodeCurrency
_ReportingCurrency _ReportingCurrency
_GLAccount _GLAccount
_TaxCountry _TaxCountry
_TaxRegMigration _TaxRegMigration

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_RptblTransactionalTaxItem.
-- 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 I_RptblTransactionalTaxItem AS
SELECT
  taxitem_uuid AS TaxItemUUID,
  bukrs AS CompanyCode,
  cast( belnr as farp_belnr_d preserving type ) AS AccountingDocument,
  gjahr AS FiscalYear,
  cast( tax_country as txrg_tax_ctry preserving type ) AS TaxCountry,
  taxation_type AS TaxationType,
  cast( awtyp as fis_awtyp preserving type ) AS SourceReferenceDocumentType,
  cast( awsys as txrg_srce_doc_lgcl_syst preserving type ) AS SourceLogicalSystem,
  cast( aworg as fis_aworg preserving type ) AS SourceReferenceDocumentCntxt,
  awref AS SourceReferenceDocument,
  cast( awtyp_rev as txrg_rvsl_ref_doc_type preserving type ) AS RvsdReferenceDocumentType,
  cast( awref_rev as fis_awref_rev preserving type ) AS ReversalReferenceDocument,
  cast( aworg_rev as fis_aworg_rev preserving type ) AS ReversalReferenceDocumentCntxt,
  ktosl AS TransactionTypeDetermination,
  blart AS AccountingDocumentType,
  due_category AS TaxDueCategory,
  tax_recon_account AS GLAccount,
  condition_type AS ConditionType,
  tax_rate AS TaxRateInPercent,
  cast('%' as msehi) AS TaxRegisterPercentageUnit,
  budat AS PostingDate,
  cast( bldat as fis_bldat preserving type ) AS DocumentDate,
  fulfilldate AS TaxFulfillmentDate,
  tax_reporting_date AS TaxReportingDate,
  txdat_from AS TaxRateValidityStartDate,
  tax_group AS TaxItemGroup,
  line_item_status AS TaxLineItemStatus,
  xreversing AS IsReversal,
  xreversed AS IsReversed,
  tax_pybl_doc_nmbr AS TaxPayableDocument,
  tax_pybl_doc_year AS TaxPayableDocumentYear,
  tax_amt_co_crcy AS TaxAmountInCoCodeCrcy,
  company_code_currency AS CompanyCodeCurrency,
  tax_amt_trans_crcy AS TaxAmountInTransCrcy,
  transaction_currency AS TransactionCurrency,
  tax_amt_rptg_crcy AS TaxAmountInRptgCrcy,
  reporting_currency AS ReportingCurrency,
  tax_line_payable_status AS TaxLineItemPayableStatus,
  mwskz AS TaxCode,
  tax_deductibility AS TaxDeductibility,
  shkzg AS DebitCreditCode,
  xreportable AS TaxItemIsReportingRelevant,
  migration_uuid AS TaxRegisterMigrationUUID,
  created_at AS CreationDateTime,
  created_by AS CreatedByUser,
  lastchangedat AS LastChangeDateTime,
  lastchangedby AS LastChangedByUser
FROM tax_reg_item AS TransactionalTaxItem
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _DocumentCurrency ON TransactionCurrency = _DocumentCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _ReportingCurrency ON ReportingCurrency = _ReportingCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_GLAccount AS _GLAccount ON GLAccount = _GLAccount.GLAccount AND CompanyCode = _GLAccount.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_Country AS _TaxCountry ON TaxCountry = _TaxCountry.Country  -- association [0..1]
LEFT OUTER JOIN I_TaxRegisterMigration AS _TaxRegMigration ON TaxRegisterMigrationUUID = _TaxRegMigration.TaxRegisterMigrationUUID  -- association [0..1]
;