I_FixedAssetTaxItem

DDL: I_FIXEDASSETTAXITEM SQL: IFATAXITEM Type: view COMPOSITE

Tax Items for Fixed Asset

I_FixedAssetTaxItem is a Composite CDS View that provides data about "Tax Items for Fixed Asset" in SAP S/4HANA. It reads from 4 data sources (I_OperationalAcctgDocItem, I_Currency, I_FixedAsset, P_TW_TaxItem) and exposes 27 fields with key fields AccountingDocument, CompanyCode, FiscalYear, AccountingDocumentItem, TaxGroup.

Data Sources (4)

SourceAliasJoin Type
I_OperationalAcctgDocItem AcctgDocItem inner
I_Currency cur left_outer
I_FixedAsset fixedAsset left_outer
P_TW_TaxItem P_TW_TaxItem from

Parameters (5)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id
P_StatryRptRunType srf_report_run_type
P_StatryRptRefNmbrPrefixValue idtw_ref_num_prefix

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IFATAXITEM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
EndUserText.label Tax Items for Fixed Asset view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY AccountingDocument I_OperationalAcctgDocItem AccountingDocument Journal Entry
KEY CompanyCode I_OperationalAcctgDocItem CompanyCode Receiver Company Code
KEY FiscalYear I_OperationalAcctgDocItem FiscalYear G/L Fiscal Year
KEY AccountingDocumentItem I_OperationalAcctgDocItem AccountingDocumentItem Posting View Item
KEY TaxGroup taxItem TaxGroup Tax Group
DocumentReferenceID
Quantity I_OperationalAcctgDocItem Quantity Value
CompanyCodeCurrency I_OperationalAcctgDocItem CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency
CE2005
DocumentDate
PostingDate I_OperationalAcctgDocItem PostingDate Posting Date for GR
ReportingDate taxItem ReportingDate
FiscalPeriod
TaxAmount taxItem TaxAmount Tax Amt in Rptg Crcy
TaxItemGroup taxItem TaxItemGroup Tax doc. item number
BusinessPlace taxItem BusinessPlace Business place
TaxCode taxItem TaxCode Tax Code
TaxRate taxItem TaxRate Tax Rate
TaxRateValidityStartDate taxItem TaxRateValidityStartDate Tax Rate Validity Start Date
Supplier taxItem Supplier Supplier
Customer taxItem Customer Sold-to Party
CustomerCountry taxItem CustomerCountry
SupplierCountry taxItem SupplierCountry
AccountingDocumentClass taxItem FormatCode
FixedAssetDescription I_FixedAsset FixedAssetDescription Description
AssetAdditionalDescription I_FixedAsset AssetAdditionalDescription

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_FixedAssetTaxItem.
-- 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: IFATAXITEM
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id, P_StatryRptRunType : srf_report_run_type, P_StatryRptRefNmbrPrefixValue : idtw_ref_num_prefix

CREATE VIEW I_FixedAssetTaxItem AS
SELECT
  AcctgDocItem.AccountingDocument AS AccountingDocument,
  AcctgDocItem.CompanyCode AS CompanyCode,
  AcctgDocItem.FiscalYear AS FiscalYear,
  AcctgDocItem.AccountingDocumentItem AS AccountingDocumentItem,
  taxItem.TaxGroup AS TaxGroup,
  AcctgDocItem._JournalEntry.DocumentReferenceID AS DocumentReferenceID,
  AcctgDocItem.Quantity AS Quantity,
  AcctgDocItem.CompanyCodeCurrency AS CompanyCodeCurrency,
  cast( AcctgDocItem.AmountInCompanyCodeCurrency as abap.curr(10, 2)) AS AmountInCompanyCodeCurrency,
  remove decimal_shift function AcctgDocItem.DocumentDate AS DocumentDate,
  AcctgDocItem.PostingDate AS PostingDate,
  taxItem.ReportingDate AS ReportingDate,
  substring(cast(AcctgDocItem.DocumentDate as sstring),5, 2) AS FiscalPeriod,
  taxItem.TaxAmount AS TaxAmount,
  taxItem.TaxItemGroup AS TaxItemGroup,
  taxItem.BusinessPlace AS BusinessPlace,
  taxItem.TaxCode AS TaxCode,
  taxItem.TaxRate AS TaxRate,
  taxItem.TaxRateValidityStartDate AS TaxRateValidityStartDate,
  taxItem.Supplier AS Supplier,
  taxItem.Customer AS Customer,
  taxItem.CustomerCountry AS CustomerCountry,
  taxItem.SupplierCountry AS SupplierCountry,
  taxItem.FormatCode AS AccountingDocumentClass,
  fixedAsset.FixedAssetDescription AS FixedAssetDescription,
  fixedAsset.AssetAdditionalDescription AS AssetAdditionalDescription
FROM P_TW_TaxItem
INNER JOIN I_OperationalAcctgDocItem AS AcctgDocItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_FixedAsset AS fixedAsset ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Currency AS cur ON /* join condition not captured in parsed metadata */
;