P_PSMMatDocJournalEntry
P_PSMMatDocJournalEntry is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (acdoca) and exposes 16 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| acdoca | _Journal_item | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPSMMATDOCJE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourceLedger | acdoca | rldnr | Ledger (Compat.) |
| KEY | CompanyCode | acdoca | rbukrs | Company Code |
| KEY | FiscalYear | acdoca | gjahr | Settlement Year |
| KEY | AccountingDocument | acdoca | belnr | SD Document |
| KEY | LedgerGLLineItem | acdoca | docln | Matching Document Line Item |
| ReferenceDocumentType | acdoca | awtyp | Reference Document Type | |
| ReferenceDocument | acdoca | awref | Reference Doc. | |
| ReferenceDocumentItem | acdoca | awitem | Ref. Doc. Line Item | |
| ReferenceDocumentUnits | acdoca | aworg | Refer. Org.Unit | |
| FinancialManagementArea | acdoca | fikrs | FM Area | |
| Fund | acdoca | rfund | Fund | |
| GrantID | acdoca | rgrant_nbr | Grant | |
| BudgetPeriod | acdoca | rbudget_pd | Rec BudPer | |
| FunctionalArea | acdoca | rfarea | R FuncArea | |
| FundsCenter | acdoca | fistl | Funds Center | |
| FundedProgram | acdoca | measure | obsolete |
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_PSMMatDocJournalEntry.
-- 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: PPSMMATDOCJE
CREATE VIEW P_PSMMatDocJournalEntry AS
SELECT
_Journal_item.rldnr AS SourceLedger,
_Journal_item.rbukrs AS CompanyCode,
_Journal_item.gjahr AS FiscalYear,
_Journal_item.belnr AS AccountingDocument,
_Journal_item.docln AS LedgerGLLineItem,
_Journal_item.awtyp AS ReferenceDocumentType,
_Journal_item.awref AS ReferenceDocument,
_Journal_item.awitem AS ReferenceDocumentItem,
_Journal_item.aworg AS ReferenceDocumentUnits,
_Journal_item.fikrs AS FinancialManagementArea,
_Journal_item.rfund AS Fund,
_Journal_item.rgrant_nbr AS GrantID,
_Journal_item.rbudget_pd AS BudgetPeriod,
_Journal_item.rfarea AS FunctionalArea,
_Journal_item.fistl AS FundsCenter,
_Journal_item.measure AS FundedProgram
FROM acdoca AS _Journal_item
;
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