You can create a SAP FI chart of accounts group as per your requirement. To effectively manage and control a large number of G/L accounts, you should use COA groups.
There are two ways you can create a new COA group. The first method is to use the T-code OBD4.
You can also reach to this screen by following the path −
T-code SPRO → SAP Reference IMG → Financial Accounting → General Ledger Accounting → G/L Accounts → Preparations → Define Account Group → Execute → New window will open → New Entries.
Populate the following fields in the COA group: Chart of Account Key, Acct Group, Name, From Acct. and To Account details.
After providing the required details, click the Save Configuration option to create the COA group.