I_SK_StRpCtrlStmntCube
SK VAT Control Statement
I_SK_StRpCtrlStmntCube is a Composite CDS View (Cube) that provides data about "SK VAT Control Statement" in SAP S/4HANA. It reads from 2 data sources (P_SK_StRpCtrlStmntTxItm, P_T007B_GLO) and exposes 32 fields with key fields StatryRptgEntity, StatryRptCategory, StatryRptRunID, CompanyCode, AccountingDocument.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_SK_StRpCtrlStmntTxItm | LogItem | from |
| P_T007B_GLO | T007B | left_outer |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | ISKSTRPCSC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | SK VAT Control Statement | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StatryRptgEntity | P_SK_StRpCtrlStmntTxItm | StatryRptgEntity | Reporting Entity |
| KEY | StatryRptCategory | P_SK_StRpCtrlStmntTxItm | StatryRptCategory | Report ID |
| KEY | StatryRptRunID | P_SK_StRpCtrlStmntTxItm | StatryRptRunID | Report Run ID |
| KEY | CompanyCode | P_SK_StRpCtrlStmntTxItm | CompanyCode | Receiver Company Code |
| KEY | AccountingDocument | P_SK_StRpCtrlStmntTxItm | AccountingDocument | Journal Entry |
| KEY | FiscalYear | P_SK_StRpCtrlStmntTxItm | FiscalYear | G/L Fiscal Year |
| KEY | TaxItem | P_SK_StRpCtrlStmntTxItm | TaxItem | Tax Item |
| KEY | BillingDocumentItem | P_SK_StRpCtrlStmntTxItm | BillingDocumentItem | Item |
| TaxGroupendasfot_atr_tax_groupasTaxGroup | ||||
| VATRegistration | P_SK_StRpCtrlStmntTxItm | VATRegistration | VAT Registration No. | |
| InvoiceNumber | P_SK_StRpCtrlStmntTxItm | InvoiceNumber | Invoice Number | |
| OriginalInvoiceNumber | P_SK_StRpCtrlStmntTxItm | OriginalInvoiceNumber | ||
| TaxReportingDate | P_SK_StRpCtrlStmntTxItm | TaxReportingDate | Tax Reporting Date | |
| TaxFulfillmentDate | P_SK_StRpCtrlStmntTxItm | TaxFulfillmentDate | Tax Settlement Date | |
| TaxRate | P_SK_StRpCtrlStmntTxItm | TaxRate | Tax Rate | |
| TaxBaseAmountInRptgCrcy | P_SK_StRpCtrlStmntTxItm | TaxBaseAmountInRptgCrcy | Base Amount | |
| TaxAmountInRptgCrcy | P_SK_StRpCtrlStmntTxItm | TaxAmountInRptgCrcy | Tax Rept. Crcy | |
| DeductibleInputTaxAmount | P_SK_StRpCtrlStmntTxItm | DeductibleInputTaxAmount | ||
| ReportingCurrency | P_SK_StRpCtrlStmntTxItm | ReportingCurrency | Currency | |
| ConsumptionTaxCtrlCode | P_SK_StRpCtrlStmntTxItm | ConsumptionTaxCtrlCode | Taxes F.Trade | |
| BillingQuantityInBaseUnit | P_SK_StRpCtrlStmntTxItm | BillingQuantityInBaseUnit | Bill.Qty in SKU | |
| BaseUnit | P_SK_StRpCtrlStmntTxItm | BaseUnit | Unit of Measure | |
| SK_CtrlStmntUnitOfMeasure | P_SK_StRpCtrlStmntTxItm | SK_CtrlStmntUnitOfMeasure | ||
| SK_CtrlStmntDocIsBadDebtRelief | P_SK_StRpCtrlStmntTxItm | SK_CtrlStmntDocIsBadDebtRelief | ||
| AccountingDocumentType | P_SK_StRpCtrlStmntTxItm | AccountingDocumentType | Journal Entry Type | |
| TaxCode | P_SK_StRpCtrlStmntTxItm | TaxCode | Tax Code | |
| TransactionTypeDetermination | P_SK_StRpCtrlStmntTxItm | TransactionTypeDetermination | Transaction Key | |
| TransactionTaxType | P_T007B_GLO | stgrp | Tax Type | |
| SK_CtrlStmntCorrectionCode | ||||
| DownPaymentStatus | P_SK_StRpCtrlStmntTxItm | DownPaymentStatus | DP Status | |
| IsReversal | P_SK_StRpCtrlStmntTxItm | IsReversal | Reversal doc. | |
| IsReversed | P_SK_StRpCtrlStmntTxItm | IsReversed | Reversed? |
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_SK_StRpCtrlStmntCube.
-- 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: ISKSTRPCSC
CREATE VIEW I_SK_StRpCtrlStmntCube AS
SELECT
LogItem.StatryRptgEntity AS StatryRptgEntity,
LogItem.StatryRptCategory AS StatryRptCategory,
LogItem.StatryRptRunID AS StatryRptRunID,
LogItem.CompanyCode AS CompanyCode,
LogItem.AccountingDocument AS AccountingDocument,
LogItem.FiscalYear AS FiscalYear,
LogItem.TaxItem AS TaxItem,
LogItem.BillingDocumentItem AS BillingDocumentItem,
cast(case when LogItem.IsReversed = 'X' then '' when LogItem.IsReversal = 'X' then '' else LogItem.TaxGroup end as fot_atr_tax_group) as TaxGroup AS TaxGroupendasfot_atr_tax_groupasTaxGroup,
LogItem.VATRegistration AS VATRegistration,
LogItem.InvoiceNumber AS InvoiceNumber,
LogItem.OriginalInvoiceNumber AS OriginalInvoiceNumber,
LogItem.TaxReportingDate AS TaxReportingDate,
LogItem.TaxFulfillmentDate AS TaxFulfillmentDate,
LogItem.TaxRate AS TaxRate,
LogItem.TaxBaseAmountInRptgCrcy AS TaxBaseAmountInRptgCrcy,
LogItem.TaxAmountInRptgCrcy AS TaxAmountInRptgCrcy,
LogItem.DeductibleInputTaxAmount AS DeductibleInputTaxAmount,
LogItem.ReportingCurrency AS ReportingCurrency,
LogItem.ConsumptionTaxCtrlCode AS ConsumptionTaxCtrlCode,
LogItem.BillingQuantityInBaseUnit AS BillingQuantityInBaseUnit,
LogItem.BaseUnit AS BaseUnit,
LogItem.SK_CtrlStmntUnitOfMeasure AS SK_CtrlStmntUnitOfMeasure,
LogItem.SK_CtrlStmntDocIsBadDebtRelief AS SK_CtrlStmntDocIsBadDebtRelief,
LogItem.AccountingDocumentType AS AccountingDocumentType,
LogItem.TaxCode AS TaxCode,
LogItem.TransactionTypeDetermination AS TransactionTypeDetermination,
T007B.stgrp AS TransactionTaxType,
cast('' as fisk_corr_code) AS SK_CtrlStmntCorrectionCode,
LogItem.DownPaymentStatus AS DownPaymentStatus,
LogItem.IsReversal AS IsReversal,
LogItem.IsReversed AS IsReversed
FROM P_SK_StRpCtrlStmntTxItm AS LogItem
LEFT OUTER JOIN P_T007B_GLO AS T007B ON /* join condition not captured in parsed metadata */
;
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