I_TR_StRpInputVATCube

DDL: I_TR_STRPINPUTVATCUBE Type: view_entity COMPOSITE

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)

SourceAliasJoin Type
P_TR_StRpInputVAT P_TR_StRpInputVAT from

Parameters (3)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;