Symptom
How to correctly fill in the ARAP relevant items in APIs, for example, Journal Entry - Post (Synchronous), Journal Entry - Post (Asynchronous), or Journal Entry - Change (Asynchronous)?
Environment
SAP S/4HANA Cloud
Resolution
Avoid use <JournalEntryGLItem> for APAR items.
In API Journal Entry - Post (Synchronous), Journal Entry - Post (Asynchronous)
For line item on a customer account: <CreditorItem> </CreditorItem> node should be used in payload
For line item on a vendor account: <DebtorItem> </DebtorItem> node should be used in payload
See Payload examples in SAP Help Portal: Journal Entry - Post (Synchronous) Journal Entry - Post (Asynchronous)
In API Journal Entry - Change (Asynchronous), for AR/AP relevant items
Keywords
APAR, GL, Journal Entry - Post (Synchronous), Journal Entry - Post (Asynchronous), or Journal Entry - Change (Asynchronous), <CreditorItem>, <DebtorItem>, <JournalEntryDebtorCreditorItem> , KBA , AC-INT-2CL , Accounting Interface (Public Cloud) , How To