Enter Transaction code SPRO in the command field

In the next screen Select SAP reference IMG

In 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

In the next screen, Enter the Chart of Accounts to maintain the Retained Earnings Account

In the next screen, select New Entries from the Application Menu

In the next screen, Enter the following information

	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.

	Enter the G/L Account which will be considered as Retained Earnings account

You can maintain the posting key for this account by selecting posting key in the Application Menu

After this you can assign posting key for Debit and Credit

After maintaining all required information , press saveand Enter your change request number

You have successfully created a Retained Earnings Account.