P_IMPORTJOURNALENTRIES
Import Journal Entries
P_IMPORTJOURNALENTRIES is a Basic CDS View that provides data about "Import Journal Entries" in SAP S/4HANA. It reads from 4 data sources (fincsjrnlentrh_d, I_CnsldtnJrnlEntryHeader, fincs_ije_wl, fincs_ije_wl) and exposes 51 fields. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F3073). Part of development package ODATA_CS_JRNLENTR_UPLOAD.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| fincsjrnlentrh_d | _Entry | inner |
| I_CnsldtnJrnlEntryHeader | _Entry | inner |
| fincs_ije_wl | _Worklist | from |
| fincs_ije_wl | _Worklist | union |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_CNSLDTN_STATUS | _Status | _Worklist.status = _Status.status |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PIMPORTJE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #AUTOMATED | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F3073 | ASQL_F3073 | C2 | NOT_RELEASED |
Fields (51)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| createdate | fincs_ije_wl | createdate | Time Stamp | |
| status | fincs_ije_wl | status | Workflow Status | |
| statust | ||||
| ConsolidationDocumentNumber | fincs_ije_wl | belnr | SD Document | |
| ConsolidationLedger | fincs_ije_wl | cnsldtnledger | Ledger | |
| fiscalyear | fincs_ije_wl | gjahr | Settlement Year | |
| draft_key | fincs_ije_wl | draft_key | UUID | |
| temporaryid | fincs_ije_wl | temporaryid | Temporary ID | |
| entryid | fincs_ije_wl | entryid | Entry ID | |
| check_result | fincs_ije_wl | check_result | Result Code | |
| CnsldtnJrnlEntrValdtnRsltUUID | fincs_ije_wl | je_bv_result_uuid | ||
| ConsolidationDocumentNumber1 | I_CnsldtnJrnlEntryHeader | consolidationdocumentnumber | Document Number | |
| ConsolidationLedger1 | I_CnsldtnJrnlEntryHeader | consolidationledger | Ledger | |
| fiscalperiod | I_CnsldtnJrnlEntryHeader | fiscalperiod | Tax period | |
| postinglevel | I_CnsldtnJrnlEntryHeader | postinglevel | Posting Level | |
| postingdate | I_CnsldtnJrnlEntryHeader | postingdate | Posting Date for GR | |
| creationdate | I_CnsldtnJrnlEntryHeader | creationdate | Time Stamp | |
| creationtime | I_CnsldtnJrnlEntryHeader | creationtime | Time of Change | |
| userid | I_CnsldtnJrnlEntryHeader | userid | User Name | |
| createdate | fincs_ije_wl | createdate | Time Stamp | |
| status | fincs_ije_wl | status | Workflow Status | |
| statust | ||||
| ConsolidationDocumentNumber | fincs_ije_wl | belnr | SD Document | |
| fiscalyear | fincs_ije_wl | gjahr | Settlement Year | |
| draft_key | fincs_ije_wl | draft_key | UUID | |
| temporaryid | fincs_ije_wl | temporaryid | Temporary ID | |
| entryid | fincs_ije_wl | entryid | Entry ID | |
| check_result | fincs_ije_wl | check_result | Result Code | |
| CnsldtnJrnlEntrValdtnRsltUUID | fincs_ije_wl | je_bv_result_uuid | ||
| ConsolidationDocumentNumber1 | I_CnsldtnJrnlEntryHeader | ConsolidationDocumentNumber | Document Number | |
| ConsolidationLedger1 | I_CnsldtnJrnlEntryHeader | ConsolidationLedger | Ledger | |
| FiscalYearForEdit | I_CnsldtnJrnlEntryHeader | FiscalYear | G/L Fiscal Year | |
| ConsolidationDimension | I_CnsldtnJrnlEntryHeader | ConsolidationDimension | Dimension | |
| ConsolidationVersion | I_CnsldtnJrnlEntryHeader | ConsolidationVersion | Version | |
| ConsolidationUnit | I_CnsldtnJrnlEntryHeader | ConsolidationUnit | Consolidation Unit | |
| FiscalPeriod | I_CnsldtnJrnlEntryHeader | FiscalPeriod | Tax period | |
| ConsolidationChartOfAccounts | I_CnsldtnJrnlEntryHeader | ConsolidationChartOfAccounts | Cons. COA | |
| PostingLevel | I_CnsldtnJrnlEntryHeader | PostingLevel | Posting Level | |
| ConsolidationGroup | I_CnsldtnJrnlEntryHeader | ConsolidationGroup | Cons. Group | |
| ConsolidationDocumentType | I_CnsldtnJrnlEntryHeader | ConsolidationDocumentType | Document Type | |
| PostingDate | I_CnsldtnJrnlEntryHeader | PostingDate | Posting Date for GR | |
| CreationDate | I_CnsldtnJrnlEntryHeader | CreationDate | Time Stamp | |
| CreationTime | I_CnsldtnJrnlEntryHeader | CreationTime | Time of Change | |
| UserID | I_CnsldtnJrnlEntryHeader | UserID | User Name | |
| ConsolidationUnit1 | I_CnsldtnJrnlEntryHeader | ConsolidationUnit1 | Cons Unit 1 | |
| ConsolidationUnit2 | I_CnsldtnJrnlEntryHeader | ConsolidationUnit2 | Cons Unit 2 | |
| InvesteeConsolidationUnit | I_CnsldtnJrnlEntryHeader | InvesteeConsolidationUnit | Investee Unit | |
| InvestmentActivityType | I_CnsldtnJrnlEntryHeader | InvestmentActivityType | C/I Activity | |
| InvestmentActivity | I_CnsldtnJrnlEntryHeader | InvestmentActivity | Activity Number | |
| RefConsolidationDocumentNumber | I_CnsldtnJrnlEntryHeader | RefConsolidationDocumentNumber | Document Number | |
| CnsldtnGroupJrnlEntryBundle | I_CnsldtnJrnlEntryHeader | CnsldtnGroupJrnlEntryBundle | Document Bundle No. |
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_IMPORTJOURNALENTRIES.
-- 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: PIMPORTJE
CREATE VIEW P_IMPORTJOURNALENTRIES AS
SELECT
_Worklist.createdate AS createdate,
_Worklist.status AS status,
_Status[1: Language = $session.system_language].statust AS statust,
_Worklist.belnr AS ConsolidationDocumentNumber,
_Worklist.cnsldtnledger AS ConsolidationLedger,
_Worklist.gjahr AS fiscalyear,
_Worklist.draft_key AS draft_key,
_Worklist.temporaryid AS temporaryid,
_Worklist.entryid AS entryid,
_Worklist.check_result AS check_result,
_Worklist.je_bv_result_uuid AS CnsldtnJrnlEntrValdtnRsltUUID,
_Entry.consolidationdocumentnumber AS ConsolidationDocumentNumber1,
_Entry.consolidationledger AS ConsolidationLedger1,
_Entry.fiscalperiod AS fiscalperiod,
_Entry.postinglevel AS postinglevel,
_Entry.postingdate AS postingdate,
_Entry.creationdate AS creationdate,
_Entry.creationtime AS creationtime,
_Entry.userid AS userid,
_Entry.FiscalYear AS FiscalYearForEdit,
_Entry.ConsolidationDimension AS ConsolidationDimension,
_Entry.ConsolidationVersion AS ConsolidationVersion,
_Entry.ConsolidationUnit AS ConsolidationUnit,
_Entry.ConsolidationChartOfAccounts AS ConsolidationChartOfAccounts,
_Entry.ConsolidationGroup AS ConsolidationGroup,
_Entry.ConsolidationDocumentType AS ConsolidationDocumentType,
_Entry.ConsolidationUnit1 AS ConsolidationUnit1,
_Entry.ConsolidationUnit2 AS ConsolidationUnit2,
_Entry.InvesteeConsolidationUnit AS InvesteeConsolidationUnit,
_Entry.InvestmentActivityType AS InvestmentActivityType,
_Entry.InvestmentActivity AS InvestmentActivity,
_Entry.RefConsolidationDocumentNumber AS RefConsolidationDocumentNumber,
_Entry.CnsldtnGroupJrnlEntryBundle AS CnsldtnGroupJrnlEntryBundle
FROM fincs_ije_wl AS _Worklist
INNER JOIN fincsjrnlentrh_d AS _Entry ON /* join condition not captured in parsed metadata */
INNER JOIN I_CnsldtnJrnlEntryHeader AS _Entry ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_CNSLDTN_STATUS AS _Status ON _Worklist.status = _Status.status -- association [0..1]
-- UNION with additional select branch(es): fincs_ije_wl
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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