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
There is no ledger element in SOAP API. API “Journal Entry by Ledger - Post (Asynchronous)” cannot post journal entries to only one specific ledger. So this is the expected behavior. The following is 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) , Problem