C_KZ_VATRetOffsetItemQuery

DDL: C_KZ_VATRETOFFSETITEMQUERY SQL: CKZVATRETOFSET Type: view CONSUMPTION Package: GLO_FIN_IS_VAT_KZ_RETURN

Section 4 Query

C_KZ_VATRetOffsetItemQuery is a Consumption CDS View that provides data about "Section 4 Query" in SAP S/4HANA. It reads from 1 data source (C_KZ_VATReturnMainSectionCube) and exposes 44 fields with key fields CompanyCode, FiscalYear, AccountingDocument, KZ_VATLineItem, KZ_VATOperationCode. Part of development package GLO_FIN_IS_VAT_KZ_RETURN.

Data Sources (1)

SourceAliasJoin Type
C_KZ_VATReturnMainSectionCube C_KZ_VATReturnMainSectionCube from

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CKZVATRETOFSET view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
VDM.viewType #CONSUMPTION view
Analytics.query true view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
Metadata.allowExtensions true view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
EndUserText.label Section 4 Query view

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY KZ_VATLineItem KZ_VATLineItem
KEY KZ_VATOperationCode KZ_VATOperationCode Operation Code
KEY TaxCode TaxCode Tax Code
TaxBaseAmountInCoCodeCrcy TaxBaseAmountInCoCodeCrcy TxBaseAmt CoCodeCrcy
TaxBaseAmountInTransCrcy TaxBaseAmountInTransCrcy Value-Added Tax
TaxAmountInCoCodeCrcy TaxAmountInCoCodeCrcy Tax Amount in Company Code Currency
TaxAmount TaxAmount Tax Amt in Rptg Crcy
TransactionTypeDetermination TransactionTypeDetermination Transaction Key
PostingDate PostingDate Posting Date for GR
TaxReportingDate TaxReportingDate Tax Reporting Date
Customer Customer Sold-to Party
BPCustomerName BPCustomerName Name of Customer
Supplier Supplier Supplier
BPSupplierName BPSupplierName Supplier Name
BusinessPartnerCountry BusinessPartnerCountry BP Ctry/Reg.
TaxNumber3
DebitCreditCode DebitCreditCode Single-Character Flag
DocumentDate DocumentDate Journal Entry Date
AccountingDocumentType AccountingDocumentType Journal Entry Type
IsReversal IsReversal Reversal doc.
IsReversed IsReversed Reversed?
OriginalReferenceDocument OriginalReferenceDocument Reference Key
ReferenceDocumentType ReferenceDocumentType Reference Document Type
DocumentReferenceID DocumentReferenceID Reference
BusinessTransactionType BusinessTransactionType Bus.transaction
SenderLogicalSystem SenderLogicalSystem Sender Logical System
AccountingDocumentHeaderText AccountingDocumentHeaderText Doc.Header Text
AccountingDocCreatedByUser AccountingDocCreatedByUser User which created overhead document
Reference1InDocumentHeader Reference1InDocumentHeader Reference 1
Reference2InDocumentHeader Reference2InDocumentHeader Reference 2
DocumentItemText DocumentItemText Text
CompanyCodeCurrency CompanyCodeCurrency Local Currency
DocumentCurrency Document Currency
AccountingDocumentItem AccountingDocumentItem Posting View Item
KZ_VATReturnSectionType KZ_VATReturnSectionType
KZ_VATReturnSectionColumn KZ_VATReturnSectionColumn
VATReturnItemDescription VATReturnItemDescription Well Code Des.
KZ_TaxNormID KZ_TaxNormID
StatryRptgEntity StatryRptgEntity Reporting Entity
StatryRptCategory StatryRptCategory Report ID
StatryRptRunID StatryRptRunID Report Run ID

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_KZ_VATRetOffsetItemQuery.
-- 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: CKZVATRETOFSET

CREATE VIEW C_KZ_VATRetOffsetItemQuery AS
SELECT
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  KZ_VATLineItem,
  KZ_VATOperationCode,
  TaxCode,
  TaxBaseAmountInCoCodeCrcy,
  TaxBaseAmountInTransCrcy,
  TaxAmountInCoCodeCrcy,
  TaxAmount,
  TransactionTypeDetermination,
  PostingDate,
  TaxReportingDate,
  Customer,
  BPCustomerName,
  Supplier,
  BPSupplierName,
  BusinessPartnerCountry,
  cast(TaxNumber3 as fikz_bin_vat) AS TaxNumber3,
  DebitCreditCode,
  DocumentDate,
  AccountingDocumentType,
  IsReversal,
  IsReversed,
  OriginalReferenceDocument,
  ReferenceDocumentType,
  DocumentReferenceID,
  BusinessTransactionType,
  SenderLogicalSystem,
  AccountingDocumentHeaderText,
  AccountingDocCreatedByUser,
  Reference1InDocumentHeader,
  Reference2InDocumentHeader,
  DocumentItemText,
  CompanyCodeCurrency,
  cast( DocumentCurrency as /scmtms/doc_currency) AS DocumentCurrency,
  AccountingDocumentItem,
  KZ_VATReturnSectionType,
  KZ_VATReturnSectionColumn,
  VATReturnItemDescription,
  KZ_TaxNormID,
  StatryRptgEntity,
  StatryRptCategory,
  StatryRptRunID
FROM C_KZ_VATReturnMainSectionCube
;