C_TR_StRpInputTaxItemLogQuery
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)
| Source | Alias | Join Type |
|---|---|---|
| C_TR_StRpInputTaxItemLogCube | C_TR_StRpInputTaxItemLogCube | from |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA