Symptom
Getting error "Make sure the chart of accounts consistent across all account attributes" in app Manage G/L Account Master Data when trying to assign company code to a G/L account assigned to alternative chart of accounts.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Go to app Manage G/L Account Master Data.
- Select the entry and click on edit.
- Under company code data, click on create and assign a company code to the G/L account assigned to alternative chart of accounts.
- Click on save.
- Error "Make sure the chart of accounts consistent across all account attributes" is raised.
Resolution
In Cloud, we only have the operative chart of accounts YCOA. Adding company code assignments can only be done with operative chart of accounts (YCOA). It makes no sense to add company codes to alternative chart of accounts. The assignment must be to an operational G/L account in YCOA if the company code is linked to YCOA.
However, the accounts can be assigned indirectly. This connection works by first mapping the G/L accounts from the alternative chart of accounts to those in the operative chart of accounts (meant for the company code). Once mapped, whenever transactions are posted using the G/L accounts of the operative chart of accounts, the resulting updates also reflect on the corresponding G/L accounts in the alternative chart of accounts. This is how the assigned accounts from the alternative chart of accounts are updated.
Keywords
Make sure the chart of accounts consistent across all account attributes, Manage G/L Account Master Data, assign company code to a G/L account assigned to alternative chart of accounts, S4_PC, S4_1C, Alternative Chart of Account, Company Code Assignment. , KBA , FI-FIO-GL-MD-2CL , Master Data Apps (Public Cloud) , Problem