P_MngJrnlEntrPrkdDocTaxItem
Journal Entry Parked Document Tax Item
P_MngJrnlEntrPrkdDocTaxItem is a Composite CDS View that provides data about "Journal Entry Parked Document Tax Item" in SAP S/4HANA. It reads from 1 data source (I_ParkedDocumentTaxItem) and exposes 18 fields with key fields SourceCompanyCode, AccountingDocument, FiscalYear, ParkedAccountingDocumentItem. It has 2 associations to related views. Part of development package ODATA_MANAGE_JOURNAL_ENTRY_V2.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ParkedDocumentTaxItem | I_ParkedDocumentTaxItem | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _CompanyCode | $projection.SourceCompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_JournalEntry | _JournalEntry | $projection.AccountingDocument = _JournalEntry.AccountingDocument and $projection.SourceCompanyCode = _JournalEntry.CompanyCode and $projection.FiscalYear = _JournalEntry.FiscalYear |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourceCompanyCode | SourceCompanyCode | Source CoCode | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | FiscalYear | G/L Fiscal Year | ||
| KEY | ParkedAccountingDocumentItem | ParkedAccountingDocumentItem | Item | |
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| TaxCode | TaxCode | Tax Code | ||
| TaxJurisdiction | TaxJurisdiction | Tax Jurisdiction | ||
| TaxAmountInTransCrcy | TaxAmountInTransCrcy | TaxAmt in Tran. Crcy | ||
| TaxAmountInCoCodeCrcy | TaxAmountInCoCodeCrcy | Tax Amount in Company Code Currency | ||
| TaxAmountInAdditionalCurrency1 | TaxAmountInAdditionalCurrency1 | LC 2 Tax | ||
| TaxAmountInAdditionalCurrency2 | TaxAmountInAdditionalCurrency2 | LC 3 Tax | ||
| CompanyCodeCurrency | ||||
| TransactionCurrency | ||||
| AdditionalCurrency1 | _JournalEntry | AdditionalCurrency1 | Local curr. 2 | |
| AdditionalCurrency2 | _JournalEntry | AdditionalCurrency2 | Local curr. 3 | |
| TaxCountry | TaxCountry | Tax Ctry/Reg. | ||
| TaxDeterminationDate | TaxDeterminationDate | Tx Determination Dte | ||
| TaxRateValidityStartDate | TaxRateValidityStartDate | Tax Rate Validity Start Date |
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_MngJrnlEntrPrkdDocTaxItem.
-- 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_MngJrnlEntrPrkdDocTaxItem AS
SELECT
SourceCompanyCode,
AccountingDocument,
cast( FiscalYear as fis_gjahr_no_conv preserving type ) AS FiscalYear,
ParkedAccountingDocumentItem,
DebitCreditCode,
TaxCode,
TaxJurisdiction,
TaxAmountInTransCrcy,
TaxAmountInCoCodeCrcy,
TaxAmountInAdditionalCurrency1,
TaxAmountInAdditionalCurrency2,
cast( _CompanyCode.Currency as fis_hwaer preserving type ) AS CompanyCodeCurrency,
cast( _JournalEntry.TransactionCurrency as fis_rwcur preserving type ) AS TransactionCurrency,
_JournalEntry.AdditionalCurrency1 AS AdditionalCurrency1,
_JournalEntry.AdditionalCurrency2 AS AdditionalCurrency2,
TaxCountry,
TaxDeterminationDate,
TaxRateValidityStartDate
FROM I_ParkedDocumentTaxItem
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON SourceCompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_JournalEntry AS _JournalEntry ON AccountingDocument = _JournalEntry.AccountingDocument AND SourceCompanyCode = _JournalEntry.CompanyCode AND FiscalYear = _JournalEntry.FiscalYear -- association [0..1]
;
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