Symptom
Post with API Journal Entry - Post (Synchronous), error "Minor difference & & & cannot be allocated across company codes" (Message no: F5A400) occurs.
Environment
SAP S/4HANA Cloud
Cause
This error F5A400 is normally caused by different currency settings between company codes which are involved in the cross-company code posting. Check the currency settings in configuration activity Define Currency Settings for Ledgers and Company Codes (SSCUI ID 103379).
Resolution
Transfer the amounts in Group currency to the API payload by adding <AmountInGroupCurrency currencyCode="USD"> </AmountInGroupCurrency> to each line items.
Such like:
See Also
KBA3359263 - Error F5A400 "Minor difference & & & cannot be allocated across company codes" in BAPI posting
Keywords
F5A 400,F5A400, F5735, F5 735; intercompany; Inter-company, Journal Entry - Post (Synchronous), API , KBA , AC-INT-2CL , Accounting Interface (Public Cloud) , Problem