Deprecated
This CDS view is deprecated in S/4HANA. Use I_TR_StRpInputVATCube instead. View all deprecated CDS views →

C_TR_StRpInputTaxItemLogCube

DDL: C_TR_STRPINPUTTAXITEMLOGCUBE SQL: CTRINPTXITMLGC Type: view CONSUMPTION

Turkey view displays all input tax items

C_TR_StRpInputTaxItemLogCube is a Consumption CDS View (Cube) that provides data about "Turkey view displays all input tax items" in SAP S/4HANA. It reads from 2 data sources (P_TR_StRpInputTaxItemLog, P_TR_InputVatAggrgDocAttrib) and exposes 29 fields with key fields CompanyCode, AccountingDocument, FiscalYear, StatryRptgEntity, StatryRptCategory.

Data Sources (2)

SourceAliasJoin Type
P_TR_StRpInputTaxItemLog Log from
P_TR_InputVatAggrgDocAttrib P_TR_InputVatAggrgDocAttrib inner

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CTRINPTXITMLGC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Turkey view displays all input tax items view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
Analytics.dataCategory #CUBE view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_TR_StRpInputVATCube view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode P_TR_StRpInputTaxItemLog CompanyCode Receiver Company Code
KEY AccountingDocument P_TR_StRpInputTaxItemLog AccountingDocument Journal Entry
KEY FiscalYear P_TR_StRpInputTaxItemLog FiscalYear G/L Fiscal Year
KEY StatryRptgEntity
KEY StatryRptCategory
KEY StatryRptRunID
TaxType P_TR_StRpInputTaxItemLog TaxType Tax Type
DocumentDate P_TR_StRpInputTaxItemLog DocumentDate Journal Entry Date
PostingDate P_TR_StRpInputTaxItemLog PostingDate Posting Date for GR
ReportingDate P_TR_StRpInputTaxItemLog ReportingDate
FiscalPeriod P_TR_StRpInputTaxItemLog FiscalPeriod Tax period
DocumentReferenceID P_TR_StRpInputTaxItemLog DocumentReferenceID Reference
ReferenceDocumentType P_TR_StRpInputTaxItemLog ReferenceDocumentType Reference Document Type
Supplier P_TR_StRpInputTaxItemLog Supplier Supplier
BusinessPartnerCountry P_TR_StRpInputTaxItemLog BusinessPartnerCountry BP Ctry/Reg.
TaxBaseAmountInCoCodeCrcy P_TR_StRpInputTaxItemLog TaxBaseAmountInCoCodeCrcy TxBaseAmt CoCodeCrcy
TaxAmountInCoCodeCrcy P_TR_StRpInputTaxItemLog TaxAmountInCoCodeCrcy Tax Amount in Company Code Currency
TaxAmountInCountryCrcy P_TR_StRpInputTaxItemLog TaxAmountInCountryCrcy Tax Rept. Crcy
DebitCreditCode P_TR_StRpInputTaxItemLog DebitCreditCode Single-Character Flag
CompanyCodeCurrency P_TR_StRpInputTaxItemLog CompanyCodeCurrency Local Currency
CountryCurrency P_TR_StRpInputTaxItemLog CountryCurrency Currency
Quantity DocAttrib Quantity Value
MaterialName DocAttrib MaterialName Material Description
TaxNumber1 P_TR_StRpInputTaxItemLog TaxNumber1 VAT Reg. No.
BPSupplierName P_TR_StRpInputTaxItemLog BPSupplierName Supplier Name
BPSupplierFullName P_TR_StRpInputTaxItemLog BPSupplierFullName
BusinessPartnerName P_TR_StRpInputTaxItemLog BusinessPartnerName Extracted Customer Name
SerialNumber DocAttrib SerialNumber Serial Number
SequenceNumber DocAttrib SequenceNumber Sort sequence

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_TR_StRpInputTaxItemLogCube.
-- 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: CTRINPTXITMLGC

CREATE VIEW C_TR_StRpInputTaxItemLogCube AS
SELECT
  Log.CompanyCode AS CompanyCode,
  Log.AccountingDocument AS AccountingDocument,
  Log.FiscalYear AS FiscalYear,
  Log._ReportedItemsLog.StatryRptgEntity AS StatryRptgEntity,
  Log._ReportedItemsLog.StatryRptCategory AS StatryRptCategory,
  Log._ReportedItemsLog.StatryRptRunID AS StatryRptRunID,
  Log.TaxType AS TaxType,
  Log.DocumentDate AS DocumentDate,
  Log.PostingDate AS PostingDate,
  Log.ReportingDate AS ReportingDate,
  Log.FiscalPeriod AS FiscalPeriod,
  Log.DocumentReferenceID AS DocumentReferenceID,
  Log.ReferenceDocumentType AS ReferenceDocumentType,
  Log.Supplier AS Supplier,
  Log.BusinessPartnerCountry AS BusinessPartnerCountry,
  Log.TaxBaseAmountInCoCodeCrcy AS TaxBaseAmountInCoCodeCrcy,
  Log.TaxAmountInCoCodeCrcy AS TaxAmountInCoCodeCrcy,
  Log.TaxAmountInCountryCrcy AS TaxAmountInCountryCrcy,
  Log.DebitCreditCode AS DebitCreditCode,
  Log.CompanyCodeCurrency AS CompanyCodeCurrency,
  Log.CountryCurrency AS CountryCurrency,
  DocAttrib.Quantity AS Quantity,
  DocAttrib.MaterialName AS MaterialName,
  Log.TaxNumber1 AS TaxNumber1,
  Log.BPSupplierName AS BPSupplierName,
  Log.BPSupplierFullName AS BPSupplierFullName,
  Log.BusinessPartnerName AS BusinessPartnerName,
  DocAttrib.SerialNumber AS SerialNumber,
  DocAttrib.SequenceNumber AS SequenceNumber
FROM P_TR_StRpInputTaxItemLog AS Log
INNER JOIN P_TR_InputVatAggrgDocAttrib ON /* join condition not captured in parsed metadata */
;