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

C_TR_StRpInputTaxItemLogQuery

DDL: C_TR_STRPINPUTTAXITEMLOGQUERY SQL: CTRINPTXITMLGQ Type: view CONSUMPTION

Analytical query Turkey input tax items

C_TR_StRpInputTaxItemLogQuery is a Consumption CDS View that provides data about "Analytical query Turkey input tax items" in SAP S/4HANA. It reads from 1 data source (C_TR_StRpInputTaxItemLogCube) and exposes 27 fields with key fields CompanyCode, AccountingDocument, FiscalYear, StatryRptgEntity, StatryRptCategory.

Data Sources (1)

SourceAliasJoin Type
C_TR_StRpInputTaxItemLogCube C_TR_StRpInputTaxItemLogCube from

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CTRINPTXITMLGQ view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
Analytics.query true view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
EndUserText.label Analytical query Turkey input tax items view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor C_TR_StRpInputVATQuery view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY StatryRptgEntity StatryRptgEntity Reporting Entity
KEY StatryRptCategory StatryRptCategory Report ID
KEY StatryRptRunID StatryRptRunID Report Run ID
DocumentReferenceID DocumentReferenceID Reference
DocumentDate DocumentDate Journal Entry Date
PostingDate PostingDate Posting Date for GR
FiscalPeriod FiscalPeriod Tax period
ReportingDate ReportingDate
TaxBaseAmountInCoCodeCrcy TaxBaseAmountInCoCodeCrcy TxBaseAmt CoCodeCrcy
TaxAmountInCountryCrcy TaxAmountInCountryCrcy Tax Rept. Crcy
TaxAmountInCoCodeCrcy TaxAmountInCoCodeCrcy Tax Amount in Company Code Currency
TaxType TaxType Tax Type
CompanyCodeCurrency CompanyCodeCurrency Local Currency
CountryCurrency CountryCurrency Currency
DebitCreditCode DebitCreditCode Single-Character Flag
Quantity Value
MaterialName Material Description
TaxNumber1 TaxNumber1 VAT Reg. No.
TaxNumber2 TaxNumber2 Tax Number 2
BPSupplierName BPSupplierName Supplier Name
BPSupplierFullName BPSupplierFullName
BusinessPartnerName BusinessPartnerName Extracted Customer Name
SerialNumber SerialNumber Serial Number
SequenceNumber 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_StRpInputTaxItemLogQuery.
-- 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: CTRINPTXITMLGQ

CREATE VIEW C_TR_StRpInputTaxItemLogQuery AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  StatryRptgEntity,
  StatryRptCategory,
  StatryRptRunID,
  DocumentReferenceID,
  DocumentDate,
  PostingDate,
  FiscalPeriod,
  ReportingDate,
  TaxBaseAmountInCoCodeCrcy,
  TaxAmountInCountryCrcy,
  TaxAmountInCoCodeCrcy,
  TaxType,
  CompanyCodeCurrency,
  CountryCurrency,
  DebitCreditCode,
  cast (Quantity as abap.char(250)) AS Quantity,
  cast (MaterialName as abap.char(250)) AS MaterialName,
  TaxNumber1,
  TaxNumber2,
  BPSupplierName,
  BPSupplierFullName,
  BusinessPartnerName,
  SerialNumber,
  SequenceNumber
FROM C_TR_StRpInputTaxItemLogCube
;