C_TR_StRpInputVATQuery

DDL: C_TR_STRPINPUTVATQUERY Type: view CONSUMPTION

Turkey Input VAT Declaration - Query

C_TR_StRpInputVATQuery is a Consumption CDS View that provides data about "Turkey Input VAT Declaration - Query" in SAP S/4HANA. It reads from 1 data source (I_TR_StRpInputVATCube) and exposes 21 fields with key fields CompanyCode, AccountingDocument, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
I_TR_StRpInputVATCube I_TR_StRpInputVATCube from

Parameters (3)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CTRINPTXITMQ view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
Analytics.query true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Turkey Input VAT Declaration - Query view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
DocumentDate DocumentDate Journal Entry Date
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
Quantity Quantity Value
BaseUnit BaseUnit Unit of Measure
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 C_TR_StRpInputVATQuery.
-- 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 C_TR_StRpInputVATQuery AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  DocumentDate,
  TR_InvoiceSeries,
  TR_InvoiceSeqNumber,
  BusinessPartner,
  BusinessPartnerName,
  TaxNumber2,
  Product,
  ProductName,
  Quantity,
  BaseUnit,
  TaxBaseAmountInRptgCrcy,
  TaxAmountInRptgCrcy,
  TR_NonWhldgDcblTxAmtInRptgCrcy,
  TR_PaidTaxAmtInRptgCrcy,
  TR_DeductibleTaxAmtInRptgCrcy,
  TR_ImportDeclnRegnNumber,
  ReportingCurrency,
  YearMonth
FROM I_TR_StRpInputVATCube
;