Symptom
It is required to change the length of account numbers for a Chart of Accounts (COA). For example only 8 digits are needed instead of 10 and the leading 0's are unwanted.
Environment
SAP S/4HANA Cloud
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 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 number from 10 to 8, for example, will remove the 2 leading 0's for each account number in 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 , KBA , FI-FIO-GL-MD-2CL , Master Data Apps (Public Cloud) , How To