P_MX_DueDeferredTaxItem
Mexico Due Deferred Tax Item
P_MX_DueDeferredTaxItem is a Composite CDS View that provides data about "Mexico Due Deferred Tax Item" in SAP S/4HANA. It reads from 4 data sources (P_MX_DefTaxDocSupplierDetails, I_StRpTaxItemBoxConfiguration, P_StRpTaxItem, I_TaxCode) and exposes 26 fields with key fields CompanyCode, AccountingDocument, FiscalYear, TaxItem, TaxBoxStrucValidityEndDate. Part of development package GLO_FIN_IS_VAT_MX.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| P_MX_DefTaxDocSupplierDetails | DefTaxTransfer | inner |
| I_StRpTaxItemBoxConfiguration | I_StRpTaxItemBoxConfiguration | inner |
| P_StRpTaxItem | StRpTaxItem | from |
| I_TaxCode | TaxCode | inner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | PMXDUEDEFTXITM | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | P_StRpTaxItem | CompanyCode | Receiver Company Code |
| KEY | AccountingDocument | P_StRpTaxItem | AccountingDocument | Journal Entry |
| KEY | FiscalYear | |||
| KEY | TaxItem | P_StRpTaxItem | TaxItem | Tax Item |
| KEY | TaxBoxStrucValidityEndDate | StRpTaxItemBox | TaxBoxStrucValidityEndDate | |
| ReportingDate | P_StRpTaxItem | ReportingDate | ||
| PostingDate | P_StRpTaxItem | PostingDate | Posting Date for GR | |
| DocumentDate | P_StRpTaxItem | DocumentDate | Journal Entry Date | |
| TaxReportingDate | P_StRpTaxItem | TaxReportingDate | Tax Reporting Date | |
| TaxReportingDocumentDate | P_StRpTaxItem | TaxReportingDocumentDate | ||
| DocumentReferenceID | P_StRpTaxItem | DocumentReferenceID | Reference | |
| AccountingDocumentType | P_StRpTaxItem | AccountingDocumentType | Journal Entry Type | |
| TransactionTypeDetermination | P_StRpTaxItem | TransactionTypeDetermination | Transaction Key | |
| GLAccount | P_StRpTaxItem | GLAccount | General Ledger | |
| BusinessPlace | P_StRpTaxItem | BusinessPlace | Business place | |
| TaxJurisdiction | P_StRpTaxItem | TaxJurisdiction | Tax Jurisdiction | |
| LowestLevelTaxJurisdiction | P_StRpTaxItem | LowestLevelTaxJurisdiction | Jurisdict. Code | |
| ReportingCountry | P_StRpTaxItem | ReportingCountry | ||
| SenderCompanyCode | P_StRpTaxItem | SenderCompanyCode | Sender Company Code | |
| SenderAccountingDocument | P_StRpTaxItem | SenderAccountingDocument | Sender Journal Entry | |
| SenderFiscalYear | ||||
| TaxCode | P_StRpTaxItem | TaxCode | Tax Code | |
| TaxDeclnAmountType | StRpTaxItemBox | TaxDeclnAmountType | ||
| TaxBoxStrucValidityStartDate | StRpTaxItemBox | TaxBoxStrucValidityStartDate | ||
| TaxBoxStructureTypeasTaxBoxStructureType | ||||
| BusinessType | P_MX_DefTaxDocSupplierDetails | BusinessType | Type of Business |
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_MX_DueDeferredTaxItem.
-- 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.
CREATE VIEW P_MX_DueDeferredTaxItem AS
SELECT
StRpTaxItem.CompanyCode AS CompanyCode,
StRpTaxItem.AccountingDocument AS AccountingDocument,
cast( StRpTaxItem.FiscalYear as fis_gjahr_no_conv preserving type ) AS FiscalYear,
StRpTaxItem.TaxItem AS TaxItem,
StRpTaxItemBox.TaxBoxStrucValidityEndDate AS TaxBoxStrucValidityEndDate,
StRpTaxItem.ReportingDate AS ReportingDate,
StRpTaxItem.PostingDate AS PostingDate,
StRpTaxItem.DocumentDate AS DocumentDate,
StRpTaxItem.TaxReportingDate AS TaxReportingDate,
StRpTaxItem.TaxReportingDocumentDate AS TaxReportingDocumentDate,
StRpTaxItem.DocumentReferenceID AS DocumentReferenceID,
StRpTaxItem.AccountingDocumentType AS AccountingDocumentType,
StRpTaxItem.TransactionTypeDetermination AS TransactionTypeDetermination,
StRpTaxItem.GLAccount AS GLAccount,
StRpTaxItem.BusinessPlace AS BusinessPlace,
StRpTaxItem.TaxJurisdiction AS TaxJurisdiction,
StRpTaxItem.LowestLevelTaxJurisdiction AS LowestLevelTaxJurisdiction,
StRpTaxItem.ReportingCountry AS ReportingCountry,
StRpTaxItem.SenderCompanyCode AS SenderCompanyCode,
StRpTaxItem.SenderAccountingDocument AS SenderAccountingDocument,
cast( StRpTaxItem.SenderFiscalYear as fis_gjahr_no_conv preserving type ) AS SenderFiscalYear,
StRpTaxItem.TaxCode AS TaxCode,
StRpTaxItemBox.TaxDeclnAmountType AS TaxDeclnAmountType,
StRpTaxItemBox.TaxBoxStrucValidityStartDate AS TaxBoxStrucValidityStartDate,
DefTaxTransfer.BusinessType AS BusinessType
FROM P_StRpTaxItem AS StRpTaxItem
INNER JOIN P_MX_DefTaxDocSupplierDetails AS DefTaxTransfer ON /* join condition not captured in parsed metadata */
INNER JOIN I_TaxCode AS TaxCode ON /* join condition not captured in parsed metadata */
INNER JOIN I_StRpTaxItemBoxConfiguration ON /* join condition not captured in parsed metadata */
;
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