SAP Knowledge Base Article - Public

3030618 - Errors M8147 and F5846 happen during Actual Costing Run


In Post Closing step of Actual Costing Run, you met errors:

Account determination for entry & not possible

Debit/credit indicator is inconsistent



Reproducing the Issue

  1. Enter App Edit Actual Costing Run
  2. Run steps for the costing run and finish step Post Closing.


The cause for error F5846 is error M8147.
The root cause for error M8147 is due to missing configuration.


You could use SSCUI 100297 (Configuration Activity in CBC - Automatic Account Determination) to complete the configuration.
You could check from the text of error M8147 to understand what is the necessary configuration fields.

With SSCUI 100297 "Automatic Account Determination", choose accordingly:

Example: Account determination for entry YCOA PRM 0001 PNL 3000 not possible

  1. Area: Sourcing and Procurement
  2. Transaction Key => corresponding position of "PRM" in above example
  3. Chart of Accounts => corresponding position of "YCOA" in above example
  4. General modification => corresponding position of "PNL" in above example
  5. Valuation modif. => corresponding position of "0001" in above example
  6. Valuation class => corresponding position of "3000" in above example

P.S. if General modification, Valuation modif. or Valuation class are not available to input, please first select them by clicking the button "Edit Rules" in the upright corner.

See Also

2810095 - Error message M8 147 when you make a closing entry on CKMLCP S/4HANA
2803431 - Account determination error during Material ledger closing -M8147


PPL, PNL, PSL, PRM, PRA, PWP, YCOA, OBYC, general modification, valuation class, transaction, Account Determination, Post Closing     , KBA , CO-PC-ACT , Actual Costing , CO-PC-ACT-2CL , Actual Costing (Public Cloud) , Problem


SAP S/4HANA Cloud all versions