SAP Knowledge Base Article - Public

3476534 - How to correctly fill in the ARAP relevant items in API payload? - SAP/S/4HANA CLOUD

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

<JournalEntryDebtorCreditorItem>  </JournalEntryDebtorCreditorItem> node should be used in payload
See Payload examples in SAP Help Portal: Journal Entry - Change (Asynchronous)

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

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions