SAP Knowledge Base Article - Public

3809129 - Accrual job posts periodic accruals for Draft or Hold purchase orders - SAP S/4HANA Cloud Public Edition

Symptom

The periodic accrual job (Post Periodic Accruals for Purchase Orders) generates accrual postings for purchase orders that are not approved and show Draft status in the UI.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Create a Purchase Order and save as Hold status.
  2. Ensure the purchase order document type and item category are configured as accrual-relevant.
  3. Run the periodic job Post Periodic Accruals for Purchase Orders.
  4. Observe that accrual postings are generated for the purchase order despite not being approved.

Cause

By design, Purchase Orders that are On Hold and Purchase Orders that are approved are in scope for accrual conversion and posting by default.

Resolution

If needed, it is possible to adjust the selection criteria of the Accrual Engine by implementing Custom Logic for the Accrual-related BAdI like POAC_PO_SELECTION_FROM_DB and adding a filter condition for Draft Status (EKKO-PROCSTAT = 02).

For a sample implementation, please check the Sample Code in the Code Editor within the Custom Logic app.

See Also

Refer to:

Keywords

purchase order accrual, draft purchase order, on hold purchase order, periodic accruals, accrual engine, approval status, release status, ekko-procstat, active status 02, poac_po_selection_from_db, custom logic, exclude draft, manage purchase orders, public cloud, s/4hana cloud , KBA , FI-GL-GL-POA-2CL , Purchase Order Accruals (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions