I_TR_StRpInputVATCube
Turkey Input VAT Declaration - Cube
I_TR_StRpInputVATCube is a Composite CDS View (Cube) that provides data about "Turkey Input VAT Declaration - Cube" in SAP S/4HANA. It reads from 1 data source (P_TR_StRpInputVAT) and exposes 26 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem, PurchasingDocument.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_TR_StRpInputVAT | P_TR_StRpInputVAT | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_StatryRptgEntity | srf_reporting_entity | |
| P_StatryRptCategory | srf_rep_cat_id | |
| P_StatryRptRunID | srf_report_run_id |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| EndUserText.label | Turkey Input VAT Declaration - Cube | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | false | view |
Fields (26)
| 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 | AccountingDocumentItem | AccountingDocumentItem | Posting View Item | |
| KEY | PurchasingDocument | PurchasingDocument | Purchasing Document | |
| KEY | PurchasingDocumentItem | PurchasingDocumentItem | Purchasing Doc. Item | |
| DocumentDate | DocumentDate | Journal Entry Date | ||
| DocumentDateAsText | DocumentDateAsText | |||
| TR_InvoiceSeries | TR_InvoiceSeries | |||
| TR_InvoiceSeqNumber | TR_InvoiceSeqNumber | |||
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| BusinessPartnerName | BusinessPartnerName | Extracted Customer Name | ||
| TaxNumber2 | TaxNumber2 | Tax Number 2 | ||
| Product | Product | Product Sold | ||
| ProductName | ProductName | Description | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| Quantity | Quantity | Value | ||
| TR_QuantityWithUnitAsText | TR_QuantityWithUnitAsText | |||
| TaxBaseAmountInRptgCrcy | TaxBaseAmountInRptgCrcy | Base Amount | ||
| TaxAmountInRptgCrcy | TaxAmountInRptgCrcy | Tax Rept. Crcy | ||
| TR_NonWhldgDcblTxAmtInRptgCrcy | TR_NonWhldgDcblTxAmtInRptgCrcy | |||
| TR_PaidTaxAmtInRptgCrcy | TR_PaidTaxAmtInRptgCrcy | |||
| TR_DeductibleTaxAmtInRptgCrcy | TR_DeductibleTaxAmtInRptgCrcy | |||
| TR_ImportDeclnRegnNumber | TR_ImportDeclnRegnNumber | |||
| ReportingCurrency | ReportingCurrency | Currency | ||
| YearMonth | YearMonth | Year Month |
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_TR_StRpInputVATCube.
-- 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.
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id
CREATE VIEW I_TR_StRpInputVATCube AS
SELECT
CompanyCode,
AccountingDocument,
FiscalYear,
AccountingDocumentItem,
PurchasingDocument,
PurchasingDocumentItem,
DocumentDate,
DocumentDateAsText,
TR_InvoiceSeries,
TR_InvoiceSeqNumber,
BusinessPartner,
BusinessPartnerName,
TaxNumber2,
Product,
ProductName,
BaseUnit,
Quantity,
TR_QuantityWithUnitAsText,
TaxBaseAmountInRptgCrcy,
TaxAmountInRptgCrcy,
TR_NonWhldgDcblTxAmtInRptgCrcy,
TR_PaidTaxAmtInRptgCrcy,
TR_DeductibleTaxAmtInRptgCrcy,
TR_ImportDeclnRegnNumber,
ReportingCurrency,
YearMonth
FROM P_TR_StRpInputVAT
;
Learn More
- 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
- S/4HANA CDS View Deprecation: What You Need to Know
- 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