To show account code totals on the Balance Sheet, follow these steps: 
1. In General Ledger, go to Reports, Financial Reports, Balance Sheet and click New (or open the existing Balance Sheet parameter you would like to use)
2. Click on the Format tab
3. Highlight Sort
4. In the Sort by field, select Account Code
5. In the Action field, select Subtotal
6. Click Preview

To show account code totals on an Income Statement, follow these steps:
1. In General Ledger, go to Reports, Financial Reports, Income Statement and click New (or open the existing Income statement parameter you would like to use)
2. Click on the Format tab
3. Highlight Sort
4. In the Statement body format field, select Show detail by account for statement 
5. In the Change in fund balance section format, select Show summary of change in net assets
5. In the Sort by field, select Account Code
6. In the Action field, select Subtotal 
7. Click Preview

Note: You may want to add the additional segments of your account string under the Account Code with the Action set to Mask for a cleaner report.