C_SK_StRpCtrlStmntQuery

DDL: C_SK_STRPCTRLSTMNTQUERY SQL: CSKSTRPCSQ Type: view CONSUMPTION

SK VAT Control Statement

C_SK_StRpCtrlStmntQuery is a Consumption CDS View that provides data about "SK VAT Control Statement" in SAP S/4HANA. It reads from 1 data source (I_SK_StRpCtrlStmntCube) and exposes 32 fields with key fields StatryRptgEntity, StatryRptCategory, StatryRptRunID, CompanyCode, AccountingDocument.

Data Sources (1)

SourceAliasJoin Type
I_SK_StRpCtrlStmntCube I_SK_StRpCtrlStmntCube from

Annotations (10)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName CSKSTRPCSQ view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
Analytics.query true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label SK VAT Control Statement view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY StatryRptgEntity StatryRptgEntity Reporting Entity
KEY StatryRptCategory StatryRptCategory Report ID
KEY StatryRptRunID StatryRptRunID Report Run ID
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY TaxItem TaxItem Tax Item
KEY BillingDocumentItem BillingDocumentItem Item
TaxGroup TaxGroup Tax Group
AccountingDocumentType AccountingDocumentType Journal Entry Type
TaxReportingDate TaxReportingDate Tax Reporting Date
TaxFulfillmentDate TaxFulfillmentDate Tax Settlement Date
InvoiceNumber InvoiceNumber Invoice Number
OriginalInvoiceNumber OriginalInvoiceNumber
VATRegistration VATRegistration VAT Registration No.
TaxRate TaxRate Tax Rate
TaxCode TaxCode Tax Code
TransactionTypeDetermination TransactionTypeDetermination Transaction Key
TaxType TaxType Tax Type
TransactionTaxType TransactionTaxType Tax Type
ConsumptionTaxCtrlCode ConsumptionTaxCtrlCode Taxes F.Trade
SK_CtrlStmntDocIsBadDebtRelief SK_CtrlStmntDocIsBadDebtRelief
ReportingCurrency ReportingCurrency Currency
BaseUnit BaseUnit Unit of Measure
SK_CtrlStmntUnitOfMeasure SK_CtrlStmntUnitOfMeasure
DownPaymentStatus DownPaymentStatus DP Status
IsReversal IsReversal Reversal doc.
IsReversed IsReversed Reversed?
TaxBaseAmountInRptgCrcy TaxBaseAmountInRptgCrcy Base Amount
TaxAmountInRptgCrcy TaxAmountInRptgCrcy Tax Rept. Crcy
DeductibleInputTaxAmount DeductibleInputTaxAmount
BillingQuantityInBaseUnit BillingQuantityInBaseUnit Bill.Qty in SKU

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_SK_StRpCtrlStmntQuery.
-- 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: CSKSTRPCSQ

CREATE VIEW C_SK_StRpCtrlStmntQuery AS
SELECT
  StatryRptgEntity,
  StatryRptCategory,
  StatryRptRunID,
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  TaxItem,
  BillingDocumentItem,
  TaxGroup,
  AccountingDocumentType,
  TaxReportingDate,
  TaxFulfillmentDate,
  InvoiceNumber,
  OriginalInvoiceNumber,
  VATRegistration,
  TaxRate,
  TaxCode,
  TransactionTypeDetermination,
  TaxType,
  TransactionTaxType,
  ConsumptionTaxCtrlCode,
  SK_CtrlStmntDocIsBadDebtRelief,
  ReportingCurrency,
  BaseUnit,
  SK_CtrlStmntUnitOfMeasure,
  DownPaymentStatus,
  IsReversal,
  IsReversed,
  TaxBaseAmountInRptgCrcy,
  TaxAmountInRptgCrcy,
  DeductibleInputTaxAmount,
  BillingQuantityInBaseUnit
FROM I_SK_StRpCtrlStmntCube
;