Question: how to calculate retained earnings in sap?
Answer: Go to SAP Reference IMG → Financial Accounting → General Ledger Accounting → G/L Accounts → Preparations → Define Retained Earnings Account → Execute. Enter the Chart of Accounts to define the Retained Earning Account for COA and press Enter.