I_ManageTaxItemCube
Manage Tax Items Analytics - Cube
I_ManageTaxItemCube is a Composite CDS View (Cube) that provides data about "Manage Tax Items Analytics - Cube" in SAP S/4HANA. Part of development package GLO_FIN_MTI.
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_TaxReportingFromDate | vatdate | |
| P_TaxReportingToDate | vatdate |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| Analytics.internalName | #LOCAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Analytics.dataCategory | #CUBE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_CUBE | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| Metadata.allowExtensions | true | view | |
| EndUserText.label | Manage Tax Items Analytics - Cube | view |
Fields (58)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | MngTaxSTRpTaxItem | CompanyCode | Receiver Company Code |
| KEY | AccountingDocument | MngTaxSTRpTaxItem | AccountingDocument | Journal Entry |
| KEY | FiscalYear | |||
| KEY | ChangedOnDateTime | |||
| KEY | TaxItem | MngTaxSTRpTaxItem | TaxItem | Tax Item |
| KEY | TaxBox | I_StRpTaxItemGrpg | TaxBox | Tax.Bs.Gp.No. |
| LastChangedByUser | TaxRptgdate | LastChangedByUser | User Name | |
| ReportingDate | MngTaxSTRpTaxItem | ReportingDate | ||
| PostingDate | MngTaxSTRpTaxItem | PostingDate | Posting Date for GR | |
| DocumentDate | MngTaxSTRpTaxItem | DocumentDate | Journal Entry Date | |
| TaxReportingDate | MngTaxSTRpTaxItem | TaxReportingDate | Tax Reporting Date | |
| TaxFulfillmentDate | MngTaxSTRpTaxItem | TaxFulfillmentDate | Tax Settlement Date | |
| OldTaxReportingDate | TaxRptgdate | OldTaxReportingDate | ||
| OriginalTaxReportingDate | ||||
| AccountingDocumentType | MngTaxSTRpTaxItem | AccountingDocumentType | Journal Entry Type | |
| TaxCode | MngTaxSTRpTaxItem | TaxCode | Tax Code | |
| TaxCodeName | MngTaxSTRpTaxItem | TaxCodeName | Tax Code Name | |
| OneStopShopScheme | MngTaxSTRpTaxItem | OneStopShopScheme | ||
| OneStopShopTaxReportingCountry | MngTaxSTRpTaxItem | OneStopShopTaxReportingCountry | ||
| TransactionTypeDetermination | MngTaxSTRpTaxItem | TransactionTypeDetermination | Transaction Key | |
| GLAccount | MngTaxSTRpTaxItem | GLAccount | General Ledger | |
| TaxJurisdiction | MngTaxSTRpTaxItem | TaxJurisdiction | Tax Jurisdiction | |
| TaxBaseAmountInRptgCrcy | MngTaxSTRpTaxItem | TaxBaseAmountInRptgCrcy | Base Amount | |
| TaxAmountInRptgCrcy | MngTaxSTRpTaxItem | TaxAmountInRptgCrcy | Tax Rept. Crcy | |
| TotalGrossAmountInRptgCrcy | ||||
| ReportingCurrency | MngTaxSTRpTaxItem | ReportingCurrency | Currency | |
| BusinessPartner | MngTaxSTRpTaxItem | BusinessPartner | Issuing Authority | |
| BusinessPartnerName | MngTaxSTRpTaxItem | BusinessPartnerName | Extracted Customer Name | |
| ReportingCountry | ||||
| BusinessPlace | MngTaxSTRpTaxItem | BusinessPlace | Business place | |
| ReverseDocument | MngTaxSTRpTaxItem | ReverseDocument | Reversed With | |
| IsReversal | MngTaxSTRpTaxItem | IsReversal | Reversal doc. | |
| IsReversed | MngTaxSTRpTaxItem | IsReversed | Reversed? | |
| DocumentReferenceID | MngTaxSTRpTaxItem | DocumentReferenceID | Reference | |
| AccountingReferenceKey | MngTaxSTRpTaxItem | AccountingReferenceKey | ||
| TaxNumber1 | MngTaxSTRpTaxItem | TaxNumber1 | VAT Reg. No. | |
| TaxNumber2 | MngTaxSTRpTaxItem | TaxNumber2 | Tax Number 2 | |
| TaxNumber3 | MngTaxSTRpTaxItem | TaxNumber3 | ||
| TaxNumber4 | MngTaxSTRpTaxItem | TaxNumber4 | ||
| VATRegistration | MngTaxSTRpTaxItem | VATRegistration | VAT Registration No. | |
| AddressID | MngTaxSTRpTaxItem | AddressID | Ship-to address | |
| HouseNumber | _Address | HouseNumber | House Number | |
| StreetName | _Address | StreetName | Text | |
| CityName | _Address | CityName | Name | |
| Country | _Address | Country | Venue: Ctry/Reg | |
| PostalCode | _Address | PostalCode | Postal Code | |
| OrganizationName1 | _Address | OrganizationName1 | Name | |
| OrganizationName2 | _Address | OrganizationName2 | Name 2 | |
| OrganizationName3 | _Address | OrganizationName3 | Name 3 | |
| OrganizationName4 | _Address | OrganizationName4 | Name 4 | |
| SenderCompanyCode | MngTaxSTRpTaxItem | SenderCompanyCode | Sender Company Code | |
| SenderAccountingDocument | MngTaxSTRpTaxItem | SenderAccountingDocument | Sender Journal Entry | |
| SenderFiscalYear | MngTaxSTRpTaxItem | SenderFiscalYear | Sender FiscalYr | |
| SenderLogicalSystem | MngTaxSTRpTaxItem | SenderLogicalSystem | Sender Logical System | |
| DeclarationInformationText | ||||
| TaxCalculationProcedure | MngTaxSTRpTaxItem | TaxCalculationProcedure | Tax Procedure | |
| TaxType | ||||
| _TaxType |
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_ManageTaxItemCube.
-- 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.
-- Parameters: P_TaxReportingFromDate : vatdate, P_TaxReportingToDate : vatdate
CREATE VIEW I_ManageTaxItemCube AS
SELECT
MngTaxSTRpTaxItem.CompanyCode AS CompanyCode,
MngTaxSTRpTaxItem.AccountingDocument AS AccountingDocument,
cast( MngTaxSTRpTaxItem.FiscalYear as fis_gjahr_no_conv preserving type ) AS FiscalYear,
cast( TaxRptgdate.ChangedOnDateTime as srf_changed_on preserving type ) AS ChangedOnDateTime,
MngTaxSTRpTaxItem.TaxItem AS TaxItem,
I_StRpTaxItemGrpg.TaxBox AS TaxBox,
TaxRptgdate.LastChangedByUser AS LastChangedByUser,
MngTaxSTRpTaxItem.ReportingDate AS ReportingDate,
MngTaxSTRpTaxItem.PostingDate AS PostingDate,
MngTaxSTRpTaxItem.DocumentDate AS DocumentDate,
MngTaxSTRpTaxItem.TaxReportingDate AS TaxReportingDate,
MngTaxSTRpTaxItem.TaxFulfillmentDate AS TaxFulfillmentDate,
TaxRptgdate.OldTaxReportingDate AS OldTaxReportingDate,
cast ( case when ( TaxRptgdate.OriginalTaxReportingDate is null ) then '00000000' else TaxRptgdate.OriginalTaxReportingDate end as figen_orig_tax_rptg_dt preserving type ) AS OriginalTaxReportingDate,
MngTaxSTRpTaxItem.AccountingDocumentType AS AccountingDocumentType,
MngTaxSTRpTaxItem.TaxCode AS TaxCode,
MngTaxSTRpTaxItem.TaxCodeName AS TaxCodeName,
MngTaxSTRpTaxItem.OneStopShopScheme AS OneStopShopScheme,
MngTaxSTRpTaxItem.OneStopShopTaxReportingCountry AS OneStopShopTaxReportingCountry,
MngTaxSTRpTaxItem.TransactionTypeDetermination AS TransactionTypeDetermination,
MngTaxSTRpTaxItem.GLAccount AS GLAccount,
MngTaxSTRpTaxItem.TaxJurisdiction AS TaxJurisdiction,
MngTaxSTRpTaxItem.TaxBaseAmountInRptgCrcy AS TaxBaseAmountInRptgCrcy,
MngTaxSTRpTaxItem.TaxAmountInRptgCrcy AS TaxAmountInRptgCrcy,
cast((MngTaxSTRpTaxItem.TaxBaseAmountInRptgCrcy + MngTaxSTRpTaxItem.TaxAmountInRptgCrcy) as figen_total_amt_rptg_crcy ) AS TotalGrossAmountInRptgCrcy,
MngTaxSTRpTaxItem.ReportingCurrency AS ReportingCurrency,
MngTaxSTRpTaxItem.BusinessPartner AS BusinessPartner,
MngTaxSTRpTaxItem.BusinessPartnerName AS BusinessPartnerName,
cast( MngTaxSTRpTaxItem.ReportingCountry as glo_country preserving type ) AS ReportingCountry,
MngTaxSTRpTaxItem.BusinessPlace AS BusinessPlace,
MngTaxSTRpTaxItem.ReverseDocument AS ReverseDocument,
MngTaxSTRpTaxItem.IsReversal AS IsReversal,
MngTaxSTRpTaxItem.IsReversed AS IsReversed,
MngTaxSTRpTaxItem.DocumentReferenceID AS DocumentReferenceID,
MngTaxSTRpTaxItem.AccountingReferenceKey AS AccountingReferenceKey,
MngTaxSTRpTaxItem.TaxNumber1 AS TaxNumber1,
MngTaxSTRpTaxItem.TaxNumber2 AS TaxNumber2,
MngTaxSTRpTaxItem.TaxNumber3 AS TaxNumber3,
MngTaxSTRpTaxItem.TaxNumber4 AS TaxNumber4,
MngTaxSTRpTaxItem.VATRegistration AS VATRegistration,
MngTaxSTRpTaxItem.AddressID AS AddressID,
_Address.HouseNumber AS HouseNumber,
_Address.StreetName AS StreetName,
_Address.CityName AS CityName,
_Address.Country AS Country,
_Address.PostalCode AS PostalCode,
_Address.OrganizationName1 AS OrganizationName1,
_Address.OrganizationName2 AS OrganizationName2,
_Address.OrganizationName3 AS OrganizationName3,
_Address.OrganizationName4 AS OrganizationName4,
MngTaxSTRpTaxItem.SenderCompanyCode AS SenderCompanyCode,
MngTaxSTRpTaxItem.SenderAccountingDocument AS SenderAccountingDocument,
MngTaxSTRpTaxItem.SenderFiscalYear AS SenderFiscalYear,
MngTaxSTRpTaxItem.SenderLogicalSystem AS SenderLogicalSystem,
_Taxdeclarationinfo( P_SAPClient:$session.client ).DeclarationInformationText AS DeclarationInformationText,
MngTaxSTRpTaxItem.TaxCalculationProcedure AS TaxCalculationProcedure,
MngTaxSTRpTaxItem._TaxCode.TaxType AS TaxType,
MngTaxSTRpTaxItem._TaxCode._TaxType AS _TaxType
;
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