Symptom
When releasing a billing document, the error message "G/L account is not defined in chart of accounts" occurs and the billing document fails to post to FI side.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the app "Change Billing Document" and enter the affected billing document number.
- Click on button 'Release to Accounting'.
- Observe that posting fails with the error "G/L account is not defined in chart of accounts YCOA."
Cause
A possible cause is that there is no account key assigned to the relevant condition type in the affected pricing procedure.
As a result, the GL account is not determined and when this condition line is posted to FI side, an error is raised.
Resolution
Maintain the correct account key for the relevant condition type in the configuration activity "Set Pricing Procedure". Ensure the appropriate account key is assigned so that the G/L account can be determined correctly during billing document release.
Keywords
G/L account is not defined, Chart of Accounts YCOA, Account Determination, Pricing Procedure, Account Key, SD billing, VF02, Revenue Account, Condition Type. , KBA , SD-BIL-CA-2CL , Release of Billing Documents to Accounting (Public Cloud) , Problem
SAP Knowledge Base Article - Public