I_VN_VATReturnGroupCube
Vietnam VAT Declaration Form - Cube
I_VN_VATReturnGroupCube is a Composite CDS View (Cube) that provides data about "Vietnam VAT Declaration Form - Cube" in SAP S/4HANA. It reads from 1 data source (I_StRpTaxReturnBoxCube) and exposes 84 fields with key fields CompanyCode, AccountingDocument, FiscalYear, TaxItem, TaxCode. Part of development package GLO_FIN_IS_VN_VAT_DECLARATION.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_StRpTaxReturnBoxCube | I_StRpTaxReturnBoxCube | from |
Parameters (7)
| 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_TaxBoxConfiguration | figen_tdt_taxbox_config |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IVNVATRETGRPC | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Vietnam VAT Declaration Form - Cube | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #CUBE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.allowExtensions | true | view | |
| Analytics.internalName | #LOCAL | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view |
Fields (84)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | FiscalYear | G/L Fiscal Year | ||
| keyFiscalYear | ||||
| KEY | TaxItem | TaxItem | Tax Item | |
| KEY | TaxCode | TaxCode | Tax Code | |
| KEY | TransactionTypeDetermination | TransactionTypeDetermination | Transaction Key | |
| KEY | TaxBox | TaxBox | Tax.Bs.Gp.No. | |
| KEY | TaxGroup | TaxGroup | Tax Group | |
| KEY | Country | Country | Venue: Ctry/Reg | |
| KEY | TaxDeclnAmountType | TaxDeclnAmountType | ||
| KEY | TaxBoxStrucValidityStartDate | TaxBoxStrucValidityStartDate | ||
| KEY | UnifiedTaxBoxStructureType | UnifiedTaxBoxStructureType | ||
| KEY | StatryRptgEntity | StatryRptgEntity | Reporting Entity | |
| KEY | StatryRptCategory | StatryRptCategory | Report ID | |
| KEY | StatryRptRunID | StatryRptRunID | Report Run ID | |
| StatryRptRun | StatryRptRun | |||
| TaxBoxStructureType | TaxBoxStructureType | |||
| TaxItemGroupingVersion | TaxItemGroupingVersion | Tax Grping Ver. | ||
| TaxBoxStrucValidityEndDate | TaxBoxStrucValidityEndDate | |||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| TaxCalculationProcedure | TaxCalculationProcedure | Tax Procedure | ||
| TaxRate | TaxRate | Tax Rate | ||
| Customer | Customer | Sold-to Party | ||
| GLAccount | GLAccount | General Ledger | ||
| BusinessPlace | BusinessPlace | Business place | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| ReferenceDocumentType | ReferenceDocumentType | Reference Document Type | ||
| DocumentReferenceID | DocumentReferenceID | Reference | ||
| Ledger | Ledger | Ledger | ||
| LedgerGroup | LedgerGroup | Ledger Group | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| TaxReportingDate | TaxReportingDate | Tax Reporting Date | ||
| ReportingDate | ReportingDate | |||
| TaxReportingDocumentDate | TaxReportingDocumentDate | |||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| IsReversal | IsReversal | Reversal doc. | ||
| IsReversed | IsReversed | Reversed? | ||
| AccountingDocumentHeaderText | AccountingDocumentHeaderText | Doc.Header Text | ||
| CompanyCodeCountry | CompanyCodeCountry | Reporting Ctry/Reg. | ||
| ReportingCountry | ReportingCountry | |||
| TaxReturnCountry | TaxReturnCountry | Reporting C/R | ||
| TaxCountry | TaxCountry | Tax Ctry/Reg. | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| CountryCurrency | CountryCurrency | Currency | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| ReportingCurrency | ReportingCurrency | Currency | ||
| TaxBaseAmountInRptgCrcy | TaxBaseAmountInRptgCrcy | Tax Base Amount in Reporting Currency | ||
| AmountInReportingCurrency | AmountInReportingCurrency | Amount in Reporting Currency | ||
| TaxAmountInRptgCrcy | TaxAmountInRptgCrcy | Tax Rept. Crcy | ||
| TaxBaseAmountInCoCodeCrcy | TaxBaseAmountInCoCodeCrcy | TxBaseAmt CoCodeCrcy | ||
| TaxAmountInCoCodeCrcy | TaxAmountInCoCodeCrcy | Tax Amount in Company Code Currency | ||
| TaxBaseAmountInTransCrcy | TaxBaseAmountInTransCrcy | Value-Added Tax | ||
| TaxAmount | TaxAmount | Tax Amt in Rptg Crcy | ||
| TotalGrossAmountInCoCodeCrcy | TotalGrossAmountInCoCodeCrcy | Total Gross Amt In Comp. Code Currency | ||
| TotalGrossAmountInTransCrcy | TotalGrossAmountInTransCrcy | Total Gross Amount In Trans. Currency | ||
| TaxBaseAmountInCountryCrcy | TaxBaseAmountInCountryCrcy | Base Amount | ||
| TaxAmountInCountryCrcy | TaxAmountInCountryCrcy | Tax Rept. Crcy | ||
| TaxType | TaxType | Tax Type | ||
| BPTaxNumber | BPTaxNumber | Tax Number | ||
| ReportingVATRegistration | Reporting VAT Number | |||
| TaxNumber1 | TaxNumber1 | VAT Reg. No. | ||
| TaxNumber2 | TaxNumber2 | Tax Number 2 | ||
| TaxNumber3 | TaxNumber3 | |||
| TaxTypeName | TaxTypeName | |||
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| BusinessPartnerName | BusinessPartnerName | Extracted Customer Name | ||
| BusinessPartnerCountry | BusinessPartnerCountry | BP Ctry/Reg. | ||
| CustomerSupplierAddress | ||||
| TaxIsNotDeductible | TaxIsNotDeductible | Non-Deductible | ||
| IsVATRelevant | IsVATRelevant | VAT on int.mat. | ||
| TaxIsDeferredRelevant | TaxIsDeferredRelevant | |||
| TaxIsMossRelevant | TaxIsMossRelevant | |||
| TaxBoxStructure | TaxBoxStructure | |||
| TaxBoxStructureName | TaxBoxStructureName | |||
| TaxBoxName | TaxBoxName | |||
| TaxBoxCondition | TaxBoxCondition | |||
| SupplierAccountGroup | SupplierAccountGroup | Account group | ||
| TaxBoxAggregationOperation | TaxBoxAggregationOperation | |||
| IsNegativePosting | IsNegativePosting | Negative Posting | ||
| TaxGroupOperation | ||||
| TaxCntryOrCompanyCodeCntry | TaxCntryOrCompanyCodeCntry | |||
| _TaxTypeText | _TaxTypeText |
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_VN_VATReturnGroupCube.
-- 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: IVNVATRETGRPC
-- 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_TaxBoxConfiguration : figen_tdt_taxbox_config
CREATE VIEW I_VN_VATReturnGroupCube AS
SELECT
CompanyCode,
AccountingDocument,
cast (FiscalYear as numc4 ) AS FiscalYear,
TaxItem,
TaxCode,
TransactionTypeDetermination,
TaxBox,
TaxGroup,
Country,
TaxDeclnAmountType,
TaxBoxStrucValidityStartDate,
UnifiedTaxBoxStructureType,
StatryRptgEntity,
StatryRptCategory,
StatryRptRunID,
StatryRptRun,
TaxBoxStructureType,
TaxItemGroupingVersion,
TaxBoxStrucValidityEndDate,
DebitCreditCode,
TaxCalculationProcedure,
TaxRate,
Customer,
GLAccount,
BusinessPlace,
AccountingDocumentType,
ReferenceDocumentType,
DocumentReferenceID,
Ledger,
LedgerGroup,
PostingDate,
DocumentDate,
TaxReportingDate,
ReportingDate,
TaxReportingDocumentDate,
FiscalPeriod,
IsReversal,
IsReversed,
AccountingDocumentHeaderText,
CompanyCodeCountry,
ReportingCountry,
TaxReturnCountry,
TaxCountry,
CompanyCodeCurrency,
CountryCurrency,
DocumentCurrency,
ReportingCurrency,
TaxBaseAmountInRptgCrcy,
AmountInReportingCurrency,
TaxAmountInRptgCrcy,
TaxBaseAmountInCoCodeCrcy,
TaxAmountInCoCodeCrcy,
TaxBaseAmountInTransCrcy,
TaxAmount,
TotalGrossAmountInCoCodeCrcy,
TotalGrossAmountInTransCrcy,
TaxBaseAmountInCountryCrcy,
TaxAmountInCountryCrcy,
TaxType,
BPTaxNumber,
cast (ReportingVATRegistration as stceg) AS ReportingVATRegistration,
TaxNumber1,
TaxNumber2,
TaxNumber3,
TaxTypeName,
BusinessPartner,
BusinessPartnerName,
BusinessPartnerCountry,
TaxIsNotDeductible,
IsVATRelevant,
TaxIsDeferredRelevant,
TaxIsMossRelevant,
TaxBoxStructure,
TaxBoxStructureName,
TaxBoxName,
TaxBoxCondition,
SupplierAccountGroup,
TaxBoxAggregationOperation,
IsNegativePosting,
TaxCntryOrCompanyCodeCntry
FROM I_StRpTaxReturnBoxCube
;
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