Symptom
You use API Accounting Document – Read (https://api.sap.com/api/API_OPLACCTGDOCITEMCUBE_SRV/resource) to extract Journal Entries. But Journal Entries are not fetched by the API.
Environment
SAP S/4HANA Cloud
Cause
The reason is that API Accounting Document – Read only reads the operational accounting documents in Entry View (Table BSEG).
Resolution
In Finance there are two major storages for documents posted. The table BSEG (Entry View) records postings from other applications and is relevant for operational processes in Finance like clearing of receivables. This is exposed therefore as OperationAcctgDocItem.
In addition, there are valuation and Finance processes specific for General Ledger which are not recorded in BSEG but only in the other major storage ACDOCA (Legal View). This data is exposed as JournalEntryItem.
There is a second exposure as GLAccountLineItem which includes the balance carry forward with the JournalEntryItem. The API available to extract journal entry items is A_JOURNALENTRYITEMBASIC.
See Also
Keywords
KBA , AC-INT-2CL , Accounting Interface (Public Cloud) , FI-GL-IS-2CL , Information System (Public Cloud) , Problem