Symptom
When releasing a billing document to accounting, the error message VF051 occurs:
Document & saved (error in account determination)
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Go to app "Change Billing Document".
- Enter billing document number.
- Release the billing document to accounting.
- The error VF051 appears.
Cause
Please check which pricing procedure is used in billing document header. Then check whether any condition type is marked as "Relevant for Acount Determination" in the pricing procedure. If it is, necessary settings are required. See the Resolution part.
Resolution
If some condition type is marked as "Relevant for Acount Determination" in the pricing procedure, the following settings have to be maintained to make account determination work correctly.
- Mark the condition type as "Statistical".
- Maintain only field "Account key" for the condition type. Leave field "Accurals" as empty.
- In configuration step "Automatic Account Determination" (step id 100297), for the account key combination, maintain both a G/L account and accruals account.
See the following KBA which explains how it works in CO-PA:
2711984 - SAP S/4HANA Cloud Public Edition: Posting of statistical SD conditions to CO-PA during billing
See Also
2711984 - SAP S/4HANA Cloud Public Edition: Posting of statistical SD conditions to CO-PA during billing
Keywords
relevant for account determination, VF051, VF 051, statistical, CO-PA, accruals , KBA , SD-BF-ACT , Account Determination , SD-BIL-IV , Processing Billing Documents , SD-BF-ACT-2CL , Account Determination (Public Cloud) , Problem