SAP Knowledge Base Article - Public

3543435 - Journal entries are posted to all ledgers instead of one ledger in API Journal Entry by Ledger - Post (Asynchronous) - SAP S/4HANA Cloud Public Edition

Symptom

The requirement is to post journal entries to one single ledger by using API, but the journal entries are posted to all ledgers.

Environment

SAP S/4HANA Cloud Public Edition

Cause

There is no ledger element in SOAP API.

Resolution

API “Journal Entry by Ledger - Post (Asynchronous)” cannot post journal entries to only one specific ledger.

Below steps provide a workaround.

1. Create a ledger group which only includes the specific ledger.

2. Then post the journal entries to the ledger group.

In this way, the journal entries will only be posted to one single ledger.

Keywords

Journal Entry by Ledger, journal entries, ledger, API , KBA , AC-INT-2CL , Accounting Interface (Public Cloud) , How To

Product

SAP S/4HANA Cloud Public Edition all versions