Maintaining General Ledger (G/L) Accounts

Objectives

After completing this lesson, you will be able to:
  • Identify the basic settings of a chart of accounts
  • Outline the structure of general ledger accounts
  • Outline the balance carryforward
  • Create account groups to maintain general ledger accounts
  • Configure the field status of general ledger accounts
  • Describe the functionality of reconciliation accounts
  • Manage general ledger accounts
  • Manage currencies in general ledger accounting
  • Maintain general ledger accounts using collective processing
  • Maintain group chart of accounts and country chart of accounts

Chart of Accounts

The three steps to create and use a chart of accounts: Define the chart of accounts. Define the properties of the chart of accounts. Assign the chart of accounts to company codes.

The chart of accounts is a variant that contains the structure and basic information of a general ledger account.

A chart of accounts is defined with a four-character ID and has the following components:

  • Chart of accounts key
  • Name of the chart of accounts
  • Maintenance language
  • Length of the G/L account number
  • Group chart of accounts (Consolidation)
  • Block indicator

The chart of accounts (for example, YCOA, IKR, CAUS, or any other chart of account applicable for a country) must be assigned to every company code that needs to maintain the accounts based on the structure of the chart of accounts concerned.

How to Display a Chart of Accounts

How to Display a Chart of Accounts

Basic Settings of a Chart of Accounts

Definition of a Chart of Accounts

On the SAP Easy Access screen, enter transaction code OB13.Scroll down to Chart of AcctsYCOA.Double-click YCOA.Double-click YCOA.

The maintenance language is the language in which account descriptions are maintained.

The account number of a G/L account can range from 1 to 10 digits in length.

You can assign a group account number to each G/L account. This account number is used for cross-company code reporting if the company codes use different charts of accounts. To enter a group account in the G/L account, you have to enter a group account number in the corresponding field in the G/L account definition (required entry field). The system then checks whether the group account number exists in the group chart of accounts.

An incomplete chart of accounts can be blocked. In the blocked state, no company code can use the chart of accounts.

Assigning the Chart of Accounts

Diagram showing YCOA and CAUS linked to three labeled buildings: CC1000, CC2000, and CC3000, via arrows representing connections or data flow between them.

Every company code must be assigned a chart of accounts. In accordance with the variant principle, it is possible to assign one chart of accounts to several company codes.

The Controlling (CO) component and the Financial Accounting (FI) component use the same chart of accounts. If company codes use cross-company code controlling, then the company must use the same chart of accounts. In the example shown in the preceding figure, the company codes CC1000 and CC2000 can perform cross-company code controlling, but company codes CC2000 and CC3000 can not.

How to Display the Basic Settings of a Chart of Accounts and Assign Company Codes

How to Display the Basic Settings of a Chart of Accounts and Assign Company Codes

Chart of Accounts Segments

Diagram showing chart of accounts segments. Each segment includes fields for number, name, control, and consolidation, with dotted arrows pointing to a label: Chart of accounts segments.

The chart of accounts contains basic information about accounts. This information is summarized in a chart of accounts segment.

The chart of accounts segment of a G/L account contains the following information:

  • Account number
  • Name of the account (as short and as long text)
  • Control fields
  • Consolidation fields

You can translate the chart of accounts into other languages. The translation allows you to display the account name in the appropriate logon language when displaying master data and posting it. If you do not translate the chart of accounts into the logon language, the account name appears in the chart of accounts maintenance language.

Text with different information can be assigned to each chart of accounts segment.

Fields in a Chart of Accounts Segment

Diagram explaining the Chart of Accounts segment, showing field groups: Type/Description, Keyword/Translation, and Information. Includes examples like account type, keywords, and group charts.

The information that you enter in the chart of accounts segment for a G/L account applies to all company codes. You need to enter this information only once.

Keywords are used to search for account numbers.

Company Code Segment

A diagram showing account segmentation and linkage to company code segments, highlighting that account 000002 is not used by the company code. Arrows and plus signs indicate relationships.

To use an account from the assigned chart of accounts in your company code, you must create a company code segment for the account. This company code segment combined with the chart of accounts segment form an account.

This information in the company code segment controls the entry of accounting documents and the management of accounting data.

The company code in the preceding figure does not use account 000002, however this account is free for use by other company codes. For example, a foreign currency balance sheet account is managed in the currency of a country in which the company code does not have any business partners. However, another company code in the group may have a business partner in that country.

Fields in the Company Code Segment

Diagram explaining the Company Code Segment's fields: Control Data, Create/Bank/Interest for transactions, and Information. Highlights details like account control, bank info, and financial texts.

A G/L account can have several company code segments. For example, you can set the Tax Category indicator for a specific company code to include taxes when expense accounts are used. For other company codes, you may choose not to set this indicator.

You can define the following information for a company code:

  • Currency
  • Taxes
  • Reconciliation account
  • Sort key
  • Field status group
  • House bank
  • Interest calculation information

As mentioned in the figure for the chart of accounts segment, you can manage text using the text ID and language functions.

One Chart of Accounts and Several Company Codes Using It

Diagram illustrating a chart of accounts (YCOA) linked to two company code segments, 1000 and 2000, with account 000001 assigned separately to each segment.

Every company code, which needs to use accounts from the assigned chart of accounts, has to have its own company code segment. The numbers and names of accounts are maintained in the chart of accounts segment. Therefore, accounts retain the same names and numbers in all assigned company codes. 

SAP Fiori: Manage G/L Account Master Data

Screenshot highlighting the Company Code Data tab and the General menu.

G/L Account Type and Balance Carryforward

G/L Account Type

Diagram showing the relationship between a G/L account type, company code-specific settings, and controlling area-specific settings, resulting in different account configurations.

G/L accounts are classified into the following G/L account types:

Balance Sheet*

Account that is posted from business transactions. The balance of a balance sheet account is carried forward at the fiscal year-end.

Cash Account (Bank Reconciliation Account)

A G/L account that can be assigned to more than one house bank account. For each house bank account, a G/L account is required, to which payment transactions are posted. With the cash account the number of such G/L accounts can be significantly reduced.

Non-operating Expense or Income

Income statement account that records expenses or gains from activities that are not part of the main purpose of the company, such as gains realized from financial investments by a manufacturing company.

Primary Costs or Revenue

Income statement account that functions as a cost element for primary costs or revenue. Primary costs reflect operating expenses such as payroll, selling expenses, or administration costs.

Secondary Costs

Income statement account that functions as a cost element for secondary costs. Secondary costs result from value flows within the organization, such as internal activity cost allocations, overhead allocations, and settlement transactions.

The controlling area-specific data is only needed for Secondary Costs and Primary Costs or Revenue accounts. In the controlling area-specific data, you assign a Cost Element category. This category determines which account can be used for which business transaction in CO.

For example: The cost element category 21 (Internal Settlement) is assigned to a secondary cost account master record. This secondary cost account can only be used to settle order costs or project costs to objects in CO.

*Asset and material balance sheet accounts can, optionally, be integrated in Controlling if a) Asset accounts are defined as "reconciliation account" and b) include in the corresponding account determination of asset accounting or materials management in customizing.

Account Settings on Controlling Area

Screenshot of the Controlling Data tab.

Balance Carryforward

Diagram showing a balance carryforward process for two accounts, 000001 and 000002. The transfer moves data and a value of 330000 from account 000002 to another section for carryforward.

In the chart of accounts segment, you specify whether an account is a balance sheet or not (G/L Account Type).

Accounts in Closing Procedure

Accounts in Closing Procedure

The accounts are treated differently in the closing procedure as follows:

Type of AccountDescription
Balance sheetThe balance is carried forward to the same account.
P&L statementThe balance is carried forward to a retained earnings account, and the P&L statement account is set to zero. A key X is assigned to the account to which the balance is carried forward. You have to enter this key in the field P&L Statement Account Type in the chart of accounts segment.

Users can define the retained earnings account in Customizing. You can then assign this account to expense accounts during the creation of the master record of the general ledger account.

Account Use Cases

Account Use Cases

Depending on the number of retained earnings accounts, the following cases apply:

Number of Retained Earning Account(s)Use
OneThe system automatically assigns this account as the retained earnings account when creating P&L accounts.
More than oneYou need to select the retained earnings account for each P&L statement account.

You can use the Automatic Account Determination app to configure G/L account assignments, for example Define Retained Earnings Accounts.

How to Maintain Retained Earnings Accounts

How to Maintain Retained Earnings Accounts

Account Groups for G/L Accounts

Diagram showing the relationship between general ledger accounts, account group control, chart of accounts segment, and company code segment, with notes on account number ranges and field status.

A chart of accounts contains different types of accounts and you can arrange these accounts into different account groups.

For example, multiple accounts can be grouped in the following ways:

  • Cash accounts
  • Material accounts
  • Asset accounts
  • P&L statement accounts

By assigning a number range to an account group, you can ensure that accounts of the same type are within the same number range. The numbers of the account group intervals can overlap.

You must enter the account group in the chart of accounts segment of the G/L account master data. The account group controls the appearance of the company code segment of a G/L account. For example, to make sure to manage open items for all of your cash clearing accounts, in Customizing, change the field status to open item management to a required entry for the Cash Clearing Accounts account group.

Create Account Groups for G/L Accounts and install some new G/L Accounts

Create Account Groups for G/L Accounts and Install some New G/L Accounts

Business Example

The accounting department requires additional G/L accounts to handle authorized travel expenses and disbursements. An authorized travel expense is an expense over 10000 units of local currency approved by the Accounting Manager.

The expense account numbers must fall within the range of AE000000 to AE999999. The disbursement account numbers must be within the range CD000000 to CD999999.

Note

This exercise requires you to use the company code, GR##, that you created in the exercise Create a Company Code.

In this exercise, when the values include ##, replace the characters with the number that your instructor assigned to you.

Field Status of the G/L Accounts

Field Status

Diagram illustrating the relationship between Chart of Accounts and Company Code segments in a G/L account, highlighting fields like Account Group, Account Control, and their properties (hidden, display, etc.).

The field status enables you to control the display and maintenance of the master data of an account.

You can set any one of the following as the status of a field:

StatusChart of Accounts Assignment
SuppressFor fields that you do not use
DisplayFor fields whose values must not be changed
Required EntryFor fields in which you must enter a value
Optional EntryFor fields that can contain an entry, but are not required

Fields are grouped by SAP S/4HANA. You can set a common field status for all fields of a group. For example, you can set a status for the interest calculation indicator, interest cycle, and last interest calculation key date fields.

The Account currency and Field status group fields are always the required entry fields. The status for these fields cannot be changed.

Hint

Even suppressed fields may contain values that still take effect.

Field Status for G/L Master Data

Diagram showing the flow of CC Segment Field usage across master data, transactions, account group-dependent field status, and transaction-dependent field status with labeled relationships.

The field status is generally controlled by the account group. You usually only use transaction-specific controls to specify what can be edited when changing master data.

There may be instances when you do not want specific fields to be modified by anyone after the master record has been created. For example, you set the currency of your cash account to GBP, and you do not want anyone to be able to modify it. In this case, in Customizing for G/L Accounting, under Define Screen Layout for Each TransactionChange assign the status Display to the relevant field.

For each field, SAP S/4HANA takes the field status definitions from the account group and the transaction into consideration and uses the one with a higher priority.

The following order applies in SAP S/4HANA, with decreasing priority:

  • Suppress
  • Display
  • Required Entry
  • Optional Entry

Fields accessed through the transaction Display Master Data can be either displayed or hidden because you cannot make an entry in a Display transaction. If you do not want to use the transaction-specific control, then you can set the field status for all fields to Optional. The Optional field status has the lowest priority, so the account group-specific control is always used to define the field status.

How to Maintain an Account Group-Specific Field Status

How to Maintain an Account Group-Specific Field Status

How to Maintain a Transaction-Specific Field Status

How to Maintain a Transaction-Specific Field Status

Reconciliation Accounts

Diagram illustrating the relationship between a general ledger and subledgers for trade receivables and payables, showing reconciliation accounts connecting customers and vendors to the main ledger.

Reconciliation accounts are G/L accounts that receive postings from subsidiary ledgers.

All postings to the subledger accounts are automatically posted to the assigned reconciliation accounts. This ensures that the general ledger is always updated.

You need to enter the account type in the field Reconciliation Account for Account Type in the company code segment section of the G/L account master data.

The reconciliation account is only valid for the account type specified.

The following are typical reconciliation account types:

  • Receivables
  • Payables

Note

Amounts cannot be posted directly to reconciliation accounts.

How to Display Reconciliation Accounts

How to Display Reconciliation Accounts

Open Items in G/L Accounting

Comparison of accounts without and with open item management, showing transaction figures for debit and credit. Open item management adds checkboxes for each document item.

When the Open Item Management indicator is set in the master record for a general ledger account, the items posted to this account can be in one of the following states:

  • Open
  • Cleared

Open item management is a prerequisite for checking whether a given business transaction has an offsetting posting. Open items and cleared items can be displayed separately, so it is easy to identify the business transactions that still need to be cleared.

Use open item management for the following accounts:

  • Bank clearing accounts
  • Clearing accounts for a goods receipt or an invoice receipt
  • Salary clearing accounts

You can activate or deactivate open item management only when the account has a zero balance.

If Open Item management has been set up per ledger, the functionality Ledger Group-Specific Clearing (Open Item management per ledger) is available.

How to Use Open Item Management

How to Use Open Item Management

Accounts in Local Currency

Diagram showing debit transactions linked to local currency accounts. Columns labeled for transaction figures, transferred amounts, and posted amounts in three currencies, with red arrows indicating flows.

When you define a company code, you also need to define the company code currency.

You can select one of the following currencies as account currency:

  • Local currency
  • Foreign currency

As a standard, when you create a G/L account, SAP S/4HANA takes the local currency as the default account currency.

If you select the local currency, you can post to this G/L account in any currency. Other currencies are converted into the local currency for each line item.

Posting of items in different currencies is possible irrespective of whether line item display is activated or not.

Accounts in Foreign Currency

Table showing debit transactions with local currency amounts converted and posted to an account in foreign currency. Arrows indicate transferred and posted amounts. Labels clarify currency types.

When you set accounts with a foreign currency, the account can only be posted to in the currency specified.

How to Post Accounts in Foreign Currency

How to Post Accounts in Foreign Currency

G/L Accounts

You can use the following methods to create the G/L account, chart of accounts segment, and company code segment:

  • One-step: Create both segments simultaneously (centrally).
  • Two-step: Create a chart of accounts segment followed by the company code segment.
  • Copy: Copy the following components:
    • Copy an individual G/L account: Copy it with reference to another G/L account.
    • Copy the company code segment: Copy the entire company code segment.
    • Copy the chart of accounts segment: Copy the entire chart of accounts segment.
  • Create G/L accounts by copying: Copy an existing account to create a new account with the same properties. You also need to change the name of the account. The new account inherits all the properties of the source account. You may need all G/L accounts of a company code in another company code. In this case, you can copy the entire company code segment to the new company code. In addition, you can copy the entire chart of accounts, including account determination, to a new chart of accounts. You can also copy the financial statement version.
  • Transfer data: For example the S/4HANA Migration Cockpit.

Collective Processing

Diagram displaying editable General Ledger account data fields, such as descriptions, chart of accounts data, company code data, and controlling data, with an arrow indicating collective updates.

SAP S/4HANA provides collective processing functions for the G/L account master records.

You can make changes to the master data of several G/L accounts simultaneously.

To change G/L account master data in collective processing, you can use the following options:

  • Change chart of accounts data
  • Change company code data
  • Change account descriptions
  • Change controlling data (only with the App Manage G/L Account Master Data)

You can make the following changes to the G/L accounts (for example using the App Edit Multiple G/L Accounts —Company Code View):

  • Select the fields to be changed.
  • Change the values of the fields displayed. Enter the new values in the column New Values to replace the existing values. For all G/L accounts selected, replace the old value with the new value.

Mass Change with the App Manage G/L Account Master Data

Screenshot of the Manage G/L Account Master Data screen highlighting the change options.

You can make the following changes to the G/L accounts (using the App Manage G/L Account Master Data; up to 50 accounts each time):

  • Select the accounts to be changed.
  • Mark the relevant ones.

  • Choose Mass Change and then Other Attributes.

  • If you like to change fields, that are not shown, choose Settings.

  • Insert values witch you like to change (Replace). Enter the new values in the column By to replace the existing values.

  • Choose Apply.

  • Choose Save to change the data on the database.

Note

Changes to existing G/L accounts become effective after they have been saved and can have extensive consequences. You should therefore check your changes before saving them.

How to Maintain G/L Accounts Using Collective Processing

How to Maintain G/L Accounts Using Collective Processing

Group Chart of Accounts

Flowchart showing internal reporting from CAUS and CAFR operational charts through the YCOA group chart, leading to external reporting for entities CC1000 (US) and CC2000 (FR).

In many cases, corporate groups are required to issue consolidated financial statements, including all companies of the group. Some of the company codes of the group may have to use special charts of accounts to meet legal requirements. This is especially true for multinational corporations.

Note

No inter-company code controlling can be performed because the company codes use different operational charts of accounts.

How to Assign a Group Chart of Accounts to an Operational Chart of Accounts

How to Assign a Group Chart of Accounts to an Operational Chart of Accounts

How to Link Operational to Group G/L Accounts

How to Link Operational to Group G/L Accounts

Country Chart of Accounts

Flowchart showing the mapping of country-specific charts of accounts and company code segments to an operational chart of accounts for internal and external reporting.

In addition to the group chart of accounts, SAP S/4HANA offers the possibility of assigning a country chart of accounts. With a local chart of accounts you can, for example, assign the same operating chart of accounts to all company codes without the need for a separate group chart of accounts.

Company codes that require a special chart of accounts for external reporting have the following settings:

  • A country chart of accounts is assigned.
  • The account number of the country chart of accounts (an alternative account number) is entered in every operational G/L account company code segment. This account number can only be assigned once.

Note

Cross-company code controlling is possible because all company codes post to the same operational chart of accounts.

A disadvantage of using the local chart of accounts as the operational chart of accounts, is that accounting clerks familiar with the country charts of accounts will have to get used to the operational chart of accounts.

Charts of Accounts for a Group

A diagram showing a group chart of accounts linked to operating charts for several countries, each with corresponding country-specific charts of accounts.

For the international groups shown in the preceding figure, cross-company code cost accounting is possible for European company codes. This is possible because company codes in Spain, Germany, and the UK use the same operational chart of accounts. The European company codes use chart of accounts YCOA as their operational chart of accounts.

Company codes in the US and Canada use chart of accounts CAUS as their operational chart of accounts. Cross-company code controlling is therefore also possible in North America.

To create reports using the country chart of accounts, the board of the international group has decided to define country-specific charts of accounts for the company codes.

The board has also decided that the group does not need controlling for Europe and North America combined, but that they would like consolidation to take place. Therefore, a group chart of accounts (CONS) has been set up for the operating charts of accounts YCOA and CAUS.

How to Assign a Country Chart of Accounts

How to Assign a Country Chart of Accounts

How to Link Operational to Country G/L Accounts

How to Link Operational to Country G/L Accounts

Summary

  • The Chart of accounts defines the structure and basic information of G/L accounts.
  • G/L accounts are composed of a chart of accounts segment and a company code segment.
  • Balance sheet accounts carry forward balances at fiscal year-end.
  • Account groups organize G/L accounts and control field status.
  • Use collective processing to change multiple G/L accounts simultaneously.