I_PH_TaxReturnItemGroupCube
Tax Item for Philippline
I_PH_TaxReturnItemGroupCube is a Composite CDS View (Cube) that provides data about "Tax Item for Philippline" in SAP S/4HANA. It reads from 1 data source (I_StRpTaxReturnBoxCube) and exposes 55 fields with key fields CompanyCode, AccountingDocument, FiscalYear, StatryRptgEntity, StatryRptCategory.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_StRpTaxReturnBoxCube | I_StRpTaxReturnBoxCube | from |
Parameters (5)
| Name | Type | Default |
|---|---|---|
| P_StatryRptgEntity | srf_reporting_entity | |
| P_StatryRptCategory | srf_rep_cat_id | |
| P_StatryRptRunID | srf_report_run_id | |
| P_ReportingCountry | land1 | |
| P_Language | sylangu |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPHSPTAXITEMTDT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| EndUserText.label | Tax Item for Philippline | view | |
| Metadata.allowExtensions | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (55)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | TaxItemBox | CompanyCode | Receiver Company Code |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | StatryRptgEntity | StatryRptgEntity | Reporting Entity | |
| KEY | StatryRptCategory | StatryRptCategory | Report ID | |
| KEY | StatryRptRunID | StatryRptRunID | Report Run ID | |
| KEY | TaxCode | TaxItemBox | TaxCode | Tax Code |
| KEY | TransactionTypeDetermination | TransactionTypeDetermination | Transaction Key | |
| KEY | TaxBox | TaxBox | Tax.Bs.Gp.No. | |
| KEY | TaxDeclnAmountType | TaxDeclnAmountType | ||
| KEY | TaxBoxStructureType | TaxBoxStructureType | ||
| KEY | TaxGroup | TaxGroup | Tax Group | |
| KEY | DebitCreditCode | DebitCreditCode | Single-Character Flag | |
| KEY | AccountingDocumentType | AccountingDocumentType | Journal Entry Type | |
| KEY | SupplierAccountGroup | SupplierAccountGroup | Account group | |
| KEY | TaxBoxStrucValidityStartDate | TaxBoxStrucValidityStartDate | ||
| KEY | UnifiedTaxBoxStructureType | UnifiedTaxBoxStructureType | ||
| KEY | TaxItemGrpgDebitCreditCode | TaxItemGrpgDebitCreditCode | ||
| KEY | TaxItemGrpgAcctgDocumentType | TaxItemGrpgAcctgDocumentType | ||
| KEY | TaxItemGrpgSupplierAcctGroup | TaxItemGrpgSupplierAcctGroup | ||
| KEY | TaxItemGrpgSpecialGLCode | TaxItemGrpgSpecialGLCode | ||
| TaxBoxStrucValidityEndDate | TaxBoxStrucValidityEndDate | |||
| TaxRateValidityStartDate | TaxRateValidityStartDate | Tax Rate Validity Start Date | ||
| TaxItemGroupingVersion | TaxItemBox | TaxItemGroupingVersion | Tax Grping Ver. | |
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| TaxReportingDate | TaxReportingDate | Tax Reporting Date | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| ReportingDate | TaxItemBox | ReportingDate | ||
| DocumentReferenceID | DocumentReferenceID | Reference | ||
| CompanyCodeCountry | CompanyCodeCountry | Reporting Ctry/Reg. | ||
| ReportingCountry | ReportingCountry | |||
| TaxReturnCountry | TaxReturnCountry | Reporting C/R | ||
| BusinessPartnerCountry | BusinessPartnerCountry | BP Ctry/Reg. | ||
| ExchangeRate | ExchangeRate | Exchange rate | ||
| TaxRate | Tax Rate | |||
| GLAccount | GLAccount | General Ledger | ||
| AccountingDocumentHeaderText | AccountingDocumentHeaderText | Doc.Header Text | ||
| BusinessPlace | TaxItemBox | BusinessPlace | Business place | |
| TaxJurisdiction | TaxJurisdiction | Tax Jurisdiction | ||
| LowestLevelTaxJurisdiction | LowestLevelTaxJurisdiction | Jurisdict. Code | ||
| TaxNumber1 | VAT Reg. No. | |||
| TaxNumber2 | Tax Number 2 | |||
| TaxNumber3 | ||||
| BusinessPartner | Issuing Authority | |||
| BusinessPartnerName | Extracted Customer Name | |||
| CustomerSupplierAddress | ||||
| TaxType | TaxType | Tax Type | ||
| TargetTaxCode | TargetTaxCode | |||
| ReportingCurrency | ReportingCurrency | Currency | ||
| AmountInReportingCurrency | ||||
| TaxBaseAmountInRptgCrcy | Base Amount | |||
| TaxAmountInRptgCrcy | Tax Rept. Crcy | |||
| AlphanumericTaxCode | I_PH_TaxBalanceGroupByIndustry | AlphanumericTaxCode | ||
| IndustryKeyText |
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_PH_TaxReturnItemGroupCube.
-- 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: IPHSPTAXITEMTDT
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id, P_ReportingCountry : land1, P_Language : sylangu
CREATE VIEW I_PH_TaxReturnItemGroupCube AS
SELECT
TaxItemBox.CompanyCode AS CompanyCode,
AccountingDocument,
FiscalYear,
StatryRptgEntity,
StatryRptCategory,
StatryRptRunID,
TaxItemBox.TaxCode AS TaxCode,
TransactionTypeDetermination,
TaxBox,
TaxDeclnAmountType,
TaxBoxStructureType,
TaxGroup,
DebitCreditCode,
AccountingDocumentType,
SupplierAccountGroup,
TaxBoxStrucValidityStartDate,
UnifiedTaxBoxStructureType,
TaxItemGrpgDebitCreditCode,
TaxItemGrpgAcctgDocumentType,
TaxItemGrpgSupplierAcctGroup,
TaxItemGrpgSpecialGLCode,
TaxBoxStrucValidityEndDate,
TaxRateValidityStartDate,
TaxItemBox.TaxItemGroupingVersion AS TaxItemGroupingVersion,
PostingDate,
DocumentDate,
TaxReportingDate,
FiscalPeriod,
TaxItemBox.ReportingDate AS ReportingDate,
DocumentReferenceID,
CompanyCodeCountry,
ReportingCountry,
TaxReturnCountry,
BusinessPartnerCountry,
ExchangeRate,
cast( TaxRate as btaux ) AS TaxRate,
GLAccount,
AccountingDocumentHeaderText,
TaxItemBox.BusinessPlace AS BusinessPlace,
TaxJurisdiction,
LowestLevelTaxJurisdiction,
cast(TaxNumber1 as stcd1) AS TaxNumber1,
cast(TaxNumber2 as stcd2) AS TaxNumber2,
cast(TaxNumber3 as stcd3) AS TaxNumber3,
cast(BusinessPartner as abi_bprtnr) AS BusinessPartner,
cast(BusinessPartnerName as glo_partner) AS BusinessPartnerName,
cast(CustomerSupplierAddress as business_partner_address) AS CustomerSupplierAddress,
TaxType,
TargetTaxCode,
ReportingCurrency,
cast(AmountInReportingCurrency as glo_amount_rptg_crcy ) AS AmountInReportingCurrency,
cast( TaxBaseAmountInRptgCrcy as glo_taxbase_amount_rptg_crcy ) AS TaxBaseAmountInRptgCrcy,
cast( TaxAmountInRptgCrcy as glo_tax_amount_rptg_crcy) AS TaxAmountInRptgCrcy,
I_PH_TaxBalanceGroupByIndustry.AlphanumericTaxCode AS AlphanumericTaxCode,
I_PH_TaxBalanceGroupByIndustry._AlphanumericTxCodeText[1:Language = $parameters.P_Language].IndustryKeyText AS IndustryKeyText
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