C_SK_StRpCtrlStmntQuery
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)
| Source | Alias | Join Type |
|---|---|---|
| I_SK_StRpCtrlStmntCube | I_SK_StRpCtrlStmntCube | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
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