C_UA_VATReturnQuery
Ukraine VAT Annex4 Analytical Query
C_UA_VATReturnQuery is a Consumption CDS View that provides data about "Ukraine VAT Annex4 Analytical Query" in SAP S/4HANA. It reads from 1 data source (I_UA_VATReturnCube) and exposes 58 fields. Part of development package GLO_FIN_IS_VAT_UA_RETURN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_UA_VATReturnCube | I_UA_VATReturnCube | from |
Parameters (8)
| Name | Type | Default |
|---|---|---|
| P_TaxIsDeferredRelevant | figen_deferred_check | |
| P_TaxIsMossRelevant | figen_moss_check | |
| P_StatryRptgEntity | srf_reporting_entity | |
| P_StatryRptCategory | srf_rep_cat_id | |
| P_StatryRptRunID | srf_report_run_id | |
| P_ReportingCountry | land1 | |
| P_UA_VATReturnSubmissionDate | fiua_vatret_sub_date | |
| P_TaxBoxConfiguration | figen_tdt_taxbox_config |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CUAVATANX4 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Ukraine VAT Annex4 Analytical Query | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.query | true | view |
Fields (58)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| CompanyCode | CompanyCode | Receiver Company Code | ||
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| ReportingDate | ReportingDate | |||
| ReportingCountry | ReportingCountry | |||
| TaxItem | TaxItem | Tax Item | ||
| TaxCode | TaxCode | Tax Code | ||
| TransactionTypeDetermination | TransactionTypeDetermination | Transaction Key | ||
| TaxBox | TaxBox | Tax.Bs.Gp.No. | ||
| TaxGroup | TaxGroup | Tax Group | ||
| Country | Country | Venue: Ctry/Reg | ||
| TaxDeclnAmountType | TaxDeclnAmountType | |||
| TaxBoxStrucValidityStartDate | TaxBoxStrucValidityStartDate | |||
| UnifiedTaxBoxStructureType | UnifiedTaxBoxStructureType | |||
| StatryRptgEntity | StatryRptgEntity | Reporting Entity | ||
| StatryRptCategory | StatryRptCategory | Report ID | ||
| StatryRptRunID | StatryRptRunID | Report Run ID | ||
| StatryRptRun | StatryRptRun | |||
| TaxBoxStructureType | TaxBoxStructureType | |||
| TaxBoxStrucValidityEndDate | TaxBoxStrucValidityEndDate | |||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| UA_XMLFileIsFound | UA_XMLFileIsFound | Has corresponding XML File | ||
| TaxType | TaxType | Tax Type | ||
| TaxBoxStructure | TaxBoxStructure | |||
| TaxBoxStructureName | TaxBoxStructureName | |||
| UA_CustomerIndividualNumber | UA_CustomerIndividualNumber | Customer Individual Tax Number | ||
| UA_DocumentIsRegistered | UA_DocumentIsRegistered | Document is Registered | ||
| UA_ArticleOfTaxLaw | UA_ArticleOfTaxLaw | Article of Tax Law | ||
| UA_VATExemptionCode | UA_VATExemptionCode | Tax Exemption Сode | ||
| AccountingDocument | AccountingDocument | Document Number | ||
| AccountingDocumentType | AccountingDocumentType | Document Type | ||
| VATIncomingDocumentDate | VATIncomingDocumentDate | Tax Invoice Document Date | ||
| UA_TaxDocumentCategory | UA_TaxDocumentCategory | Tax Document Category | ||
| UA_TaxDocumentNumber | UA_TaxDocumentNumber | Tax Document Number | ||
| AccountingDocumentHeaderText | AccountingDocumentHeaderText | Document Header Text | ||
| UA_AssetIsNotCurrent | UA_AssetIsNotCurrent | Is Non Current Asset (NCA) | ||
| Customer | Customer | Customer Number | ||
| IsReversal | IsReversal | Reversal doc. | ||
| IsReversed | IsReversed | Reversed? | ||
| CompanyCodeCountry | CompanyCodeCountry | Reporting Ctry/Reg. | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| ReportingCurrency | ReportingCurrency | Currency | ||
| TaxBaseAmountInRptgCrcy | TaxBaseAmountInRptgCrcy | Tax Base Amount in Reporting Currency | ||
| TaxAmountInRptgCrcy | TaxAmountInRptgCrcy | Tax Amount in Reporting Currency | ||
| HasNegativeSign | HasNegativeSign | XML has Negative Sign | ||
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| BusinessPartnerName | BusinessPartnerName | Customer Name | ||
| BusinessPartnerCountry | BusinessPartnerCountry | BP Ctry/Reg. | ||
| TaxIsNotDeductible | TaxIsNotDeductible | Non-Deductible | ||
| TaxBoxName | TaxBoxName | |||
| TaxBoxCondition | TaxBoxCondition | |||
| LatestRegistrationDate | LatestRegistrationDate | Tax Document RegistrationDate | ||
| VATCorrectionDocumentDate | VATCorrectionDocumentDate | Correction Tax Invoice Document Date | ||
| UA_BranchNumber | UA_BranchNumber | Customer Branch Number | ||
| UA_VATOperationDescription | UA_VATOperationDescription | Article of Tax Law Description | ||
| UA_VATExemptionCodeText | UA_VATExemptionCodeText | Tax Exemption Code Description | ||
| _TaxTypeText | _TaxTypeText | |||
| _TaxDocumentCategoryText | _TaxDocumentCategoryText |
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_UA_VATReturnQuery.
-- 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: CUAVATANX4
-- Parameters: P_TaxIsDeferredRelevant : figen_deferred_check, P_TaxIsMossRelevant : figen_moss_check, P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id, P_ReportingCountry : land1, P_UA_VATReturnSubmissionDate : fiua_vatret_sub_date, P_TaxBoxConfiguration : figen_tdt_taxbox_config
CREATE VIEW C_UA_VATReturnQuery AS
SELECT
CompanyCode,
FiscalYear,
PostingDate,
ReportingDate,
ReportingCountry,
TaxItem,
TaxCode,
TransactionTypeDetermination,
TaxBox,
TaxGroup,
Country,
TaxDeclnAmountType,
TaxBoxStrucValidityStartDate,
UnifiedTaxBoxStructureType,
StatryRptgEntity,
StatryRptCategory,
StatryRptRunID,
StatryRptRun,
TaxBoxStructureType,
TaxBoxStrucValidityEndDate,
DebitCreditCode,
UA_XMLFileIsFound,
TaxType,
TaxBoxStructure,
TaxBoxStructureName,
UA_CustomerIndividualNumber,
UA_DocumentIsRegistered,
UA_ArticleOfTaxLaw,
UA_VATExemptionCode,
AccountingDocument,
AccountingDocumentType,
VATIncomingDocumentDate,
UA_TaxDocumentCategory,
UA_TaxDocumentNumber,
AccountingDocumentHeaderText,
UA_AssetIsNotCurrent,
Customer,
IsReversal,
IsReversed,
CompanyCodeCountry,
CompanyCodeCurrency,
ReportingCurrency,
TaxBaseAmountInRptgCrcy,
TaxAmountInRptgCrcy,
HasNegativeSign,
BusinessPartner,
BusinessPartnerName,
BusinessPartnerCountry,
TaxIsNotDeductible,
TaxBoxName,
TaxBoxCondition,
LatestRegistrationDate,
VATCorrectionDocumentDate,
UA_BranchNumber,
UA_VATOperationDescription,
UA_VATExemptionCodeText
FROM I_UA_VATReturnCube
;
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