P_KZ_VATRetDeductDoc

DDL: P_KZ_VATRETDEDUCTDOC SQL: PKZVATRETDEDUCT Type: view COMPOSITE Package: GLO_FIN_IS_VAT_KZ_RETURN

Selection for section 9

P_KZ_VATRetDeductDoc is a Composite CDS View that provides data about "Selection for section 9" in SAP S/4HANA. It reads from 1 data source (P_KZ_VATReturnSection3) and exposes 22 fields. Part of development package GLO_FIN_IS_VAT_KZ_RETURN.

Data Sources (1)

SourceAliasJoin Type
P_KZ_VATReturnSection3 P_KZ_VATReturnSection3 from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PKZVATRETDEDUCT view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
AbapCatalog.compiler.compareFilter true view

Fields (22)

KeyFieldSource TableSource FieldDescription
CompanyCode CompanyCode Receiver Company Code
AccountingDocument AccountingDocument Journal Entry
FiscalYear FiscalYear G/L Fiscal Year
TaxCode TaxCode Tax Code
TaxRate TaxRate Tax Rate
AmountSign AmountSign
TaxBaseAmountInCoCodeCrcy TaxBaseAmountInCoCodeCrcy TxBaseAmt CoCodeCrcy
TransactionTypeDetermination TransactionTypeDetermination Transaction Key
PostingDate PostingDate Posting Date for GR
TaxReportingDate TaxReportingDate Tax Reporting Date
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
CompanyCodeCurrency CompanyCodeCurrency Local Currency
Currency Currency Valuation Crcy
KZ_VATReturnSectionType KZ_VATReturnSectionType

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 P_KZ_VATRetDeductDoc.
-- 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: PKZVATRETDEDUCT

CREATE VIEW P_KZ_VATRetDeductDoc AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  TaxCode,
  TaxRate,
  AmountSign,
  TaxBaseAmountInCoCodeCrcy,
  TransactionTypeDetermination,
  PostingDate,
  TaxReportingDate,
  DocumentDate,
  AccountingDocumentType,
  IsReversal,
  IsReversed,
  OriginalReferenceDocument,
  ReferenceDocumentType,
  DocumentReferenceID,
  BusinessTransactionType,
  SenderLogicalSystem,
  CompanyCodeCurrency,
  Currency,
  KZ_VATReturnSectionType
FROM P_KZ_VATReturnSection3
;