C_TR_StRpInputTaxItemLogCube
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)
| Source | Alias | Join Type |
|---|---|---|
| P_TR_StRpInputTaxItemLog | Log | from |
| P_TR_InputVatAggrgDocAttrib | P_TR_InputVatAggrgDocAttrib | inner |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
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