SAP Knowledge Base Article - Public

2959745 - Account determination error when releasing billing document to accounting

Symptom

When releasing a billing document to accounting, the error message VF051 occurs:

Document & saved (error in account determination)

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. Go to app "Change Billing Document".
  2. Enter billing document number.
  3. Release  the billing document to accounting.
  4. 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.

  1. Mark the condition type as "Statistical".
  2. Maintain only field "Account key" for the condition type. Leave field "Accurals" as empty.
  3. 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 - S/4HANA CLOUD: Posting of statistical SD conditions to CO-PA during billing

See Also

2711984 - S/4HANA CLOUD: 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 , Problem

Product

SAP S/4HANA Cloud all versions