I_GLJrnlEntryToBeVerified

DDL: I_GLJRNLENTRYTOBEVERIFIED SQL: IGLJEVER Type: view COMPOSITE Package: ODATA_GL_JOURNALENTRY_VER

Interface View of GL JE to be verified

I_GLJrnlEntryToBeVerified is a Composite CDS View that provides data about "Interface View of GL JE to be verified" in SAP S/4HANA. It reads from 1 data source (I_JournalEntry) and exposes 24 fields with key fields CompanyCode, AccountingDocument, FiscalYear. It has 1 association to related views. Part of development package ODATA_GL_JOURNALENTRY_VER.

Data Sources (1)

SourceAliasJoin Type
I_JournalEntry _Header from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_DocSingleWorkflowInfo _Status _Header.CompanyCode = _Status.CompanyCode and _Header.AccountingDocument = _Status.AccountingDocument and _Header.FiscalYear = _Status.FiscalYear

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IGLJEVER view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
EndUserText.label Interface View of GL JE to be verified view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
WorkItem _Status WorkItem Work Item ID
Workflow _Status Workflow Workflow Template
TaskProcessingStatus _Status TaskProcessingStatus
OriginalReferenceDocument
ObjectKey I_JournalEntry OriginalReferenceDocument Reference Key
DocumentReferenceID DocumentReferenceID Reference
AccountingDocumentHeaderText AccountingDocumentHeaderText Doc.Header Text
CompanyCodeCurrency CompanyCodeCurrency Local Currency
TransactionCurrency I_JournalEntry TransactionCurrency Transaction Currency
AccountingDocumentType AccountingDocumentType Journal Entry Type
LedgerGroup LedgerGroup Ledger Group
DocumentDate DocumentDate Journal Entry Date
PostingDate PostingDate Posting Date for GR
AccountingDocumentCreationDate AccountingDocumentCreationDate Journal Entry Date
AccountingDocumentCategory AccountingDocumentCategory Journal Entry Category
ParkedByUser _Status ParkedByUser JE Parked By
CreatedByUser _Status CreatedByUser User Name
AccountingDocumentStatus _Status AccountingDocumentStatus
ReversalReason I_JournalEntry ReversalReason Reversal Reason
PlannedReversalDate I_JournalEntry PlannedReversalDate Reversal Date
_Status _Status

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_GLJrnlEntryToBeVerified.
-- 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: IGLJEVER

CREATE VIEW I_GLJrnlEntryToBeVerified AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  _Status.WorkItem AS WorkItem,
  _Status.Workflow AS Workflow,
  _Status.TaskProcessingStatus AS TaskProcessingStatus,
  concat( CompanyCode, concat (lpad(AccountingDocument, 10, '0'), FiscalYear )) AS OriginalReferenceDocument,
  _Header.OriginalReferenceDocument AS ObjectKey,
  DocumentReferenceID,
  AccountingDocumentHeaderText,
  CompanyCodeCurrency,
  _Header.TransactionCurrency AS TransactionCurrency,
  AccountingDocumentType,
  LedgerGroup,
  DocumentDate,
  PostingDate,
  AccountingDocumentCreationDate,
  AccountingDocumentCategory,
  _Status.ParkedByUser AS ParkedByUser,
  _Status.CreatedByUser AS CreatedByUser,
  _Status.AccountingDocumentStatus AS AccountingDocumentStatus,
  _Header.ReversalReason AS ReversalReason,
  _Header.PlannedReversalDate AS PlannedReversalDate
FROM I_JournalEntry AS _Header
LEFT OUTER JOIN I_DocSingleWorkflowInfo AS _Status ON _Header.CompanyCode = _Status.CompanyCode AND _Header.AccountingDocument = _Status.AccountingDocument AND _Header.FiscalYear = _Status.FiscalYear  -- association [0..1]
;