SAP Knowledge Base Article - Public

3407806 - How to Change the Length of Account Numbers for a Chart of Accounts

Symptom

It is required to change the length of the account numbers for the Chart of Accounts (COA). For example, only 6 or 8 digits are needed instead of 10, and the leading 0's are unwanted.

Environment

SAP S/4HANA Cloud Public Edition

Cause

G/L Account Number Length

A G/L account number may have a maximum of 10 digits. If you select a shorter account number, the system supplements the account numbers as follows:

  • For numeric account numbers, the system inserts leading zeroes. For example, the account number 1234 becomes 0000001234.
  • For alphanumeric account numbers, the system adds zeroes after the account number. For example, the account number 1131DB becomes 1131DB0000.

Resolution

The value in the field 'Length of G/L Account Number' can be edited in SSCUI 102422, 'Edit Chart of Accounts List,' for this purpose. The maximum value for this field is 10. Reducing the length from 10 to 8 or 6, for example, will remove 2 leading 0's for 8 digits and 4 leading 0's for 6 digits in each account number within the given COA

Keywords

Leading, zeroes, zero, prefix, account number, length, SSCUI, 102422, edit chart of accounts list, Zeros in the left of G/L Account, 6 characters, renumber G/L Accounts, 6 or 8 digits, account number, change the length, S4_PC, S4_1C, SAP S/4HANA Cloud Public Edition. , KBA , FI-FIO-GL-MD-2CL , Master Data Apps (Public Cloud) , How To

Product

SAP S/4HANA Cloud Public Edition all versions