How to Define Retained Earnings Account in SAP

โšก Smart Summary

Retained earnings accounts in SAP carry forward the net profit or loss from the profit and loss statement into the new fiscal year, defined with transaction code OB53 and linked to each P&L statement account type.

  • ๐Ÿ’ฐ Retained Earnings: The account carries the net profit or loss forward into the next fiscal year.
  • ๐Ÿ”ง Transaction OB53: OB53 defines the retained earnings account under the G/L master data preparation step.
  • ๐Ÿ”— P&L Account Type: Each P&L statement account type maps to one retained earnings account.
  • ๐Ÿ—‚๏ธ Chart of Accounts: The retained earnings account is maintained per chart of accounts.
  • โœ… Customizing Request: Saving the entry requires a customizing request to transport the change.
  • ๐Ÿค– AI Assistance: SAP Joule and intelligent automation support year-end carryforward and closing configuration.

How to Define Retained Earnings Account in SAP

What is a Retained Earnings Account in SAP?

A retained earnings account is a special general ledger account that carries the net profit or loss forward into the next fiscal year. At year-end, SAP transfers the balance of every profit and loss (P&L) account to the retained earnings account during the balance carryforward.

The account is defined with transaction code OB53 and linked to a P&L statement account type, so every P&L account knows where its closing balance should be carried.

Why Define a Retained Earnings Account?

Without a retained earnings account, SAP cannot close the P&L accounts at year-end or start the new year with zero balances. Defining it is a mandatory preparation step before P&L accounts can be created and before the first year-end close.

Steps to Define a Retained Earnings Account in SAP

The following steps define a retained earnings account using the SPRO customizing path (transaction OB53).

Step 1) Enter Transaction code SPRO in the command field.

Define Retained Earnings Account in SAP

Step 2) In the next screen, select SAP Reference IMG.

Define Retained Earnings Account in SAP

Step 3) In the next screen, “Display IMG”, navigate the following menu path: SAP Customizing Implementation Guide -> Financial Accounting -> General Ledger Accounting -> G/L Accounts -> Master Data -> Preparations -> Define Retained Earnings Account.

Define Retained Earnings Account in SAP

Step 4) In the next screen, enter the Chart of Accounts to maintain the retained earnings account.

Define Retained Earnings Account in SAP

Step 5) In the next screen, select New Entries from the Application Menu.

Define Retained Earnings Account in SAP

Step 6) In the next screen, enter the following information:

  1. Enter the P&L statement account type to determine the retained earnings account for each P&L account. If you are creating a P&L account, you must make an entry here.
  2. Enter the G/L account that will be considered as the retained earnings account.

Define Retained Earnings Account in SAP

Step 7) You can maintain the posting key for this account by selecting Posting Key in the Application Menu.

Define Retained Earnings Account in SAP

Step 8) After this, you can assign the posting key for Debit and Credit.

Define Retained Earnings Account in SAP

Step 9) After maintaining all required information, press save Define Retained Earnings Account in SAP and enter your change request number.

Define Retained Earnings Account in SAP

You have successfully created a Retained Earnings Account.

FAQs

Transaction OB53 defines the retained earnings account. It is reached in SPRO under Financial Accounting, General Ledger Accounting, G/L Accounts, Master Data, Preparations, Define Retained Earnings Account, and is maintained per chart of accounts.

Each P&L account carries a P&L statement account type, usually X. That type points to a retained earnings account, so at year-end SAP knows which retained earnings account receives the closing balance of each P&L account.

During the balance carryforward (transaction F.16 or FAGLGVTR in the new G/L), SAP transfers each P&L account balance to the retained earnings account and carries balance sheet account balances forward, starting the new year correctly.

Yes. SAP Advanced Financial Closing and intelligent automation schedule and run the balance carryforward, while the SAP Joule AI copilot answers status questions, reducing manual effort and errors during the year-end close.

SAP Joule, the generative AI copilot in S/4HANA Cloud, explains the retained earnings setup, locates the OB53 step, and answers natural-language questions about year-end carryforward, giving consultants intelligent, context-aware guidance.

Summarize this post with: