Symptom
Supplier invoice is created with held status with API_SUPPLIERINVOICE_PROCESS_SRV, where cost center is not added within the payload file. Invoice is opened and edited through 'Supplier Invoices List' but when click on 'Edit', the cost center is not filled automatically, despite default account assignment has been configured in SSCUI 102639 for the G/L account.
When same invoice is created with 'Create Supplier Invoice' or 'Create Supplier Invoice Advanced', after adding the G/L account, the cost center is filled.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create supplier invoice with held status with API_SUPPLIERINVOICE_PROCESS_SRV
- Open supplier invoice from 'Supplier Invoices List' and click on Edit
- Go to G/L account item details: the cost center is blank
Cause
This is standard system behaviour.
Function module for account assignment derivation is called only when a change is made in the held invoice item.
Same behaviour is valid for parked/save as completed document.
If the invoice is entered manually, adding the G/L account is a change in the document, so cost center will be filled automatically.
Resolution
Held supplier invoice has to be edited.
See Also
Keywords
API_SUPPLIERINVOICE_PROCESS_SRV, Create Supplier Invoice, Create Supplier Invoice advanced, cost center, held, parked, save as completed, Default account assignment, SSCUI 102639 , KBA , MM-FIO-IV-2CL , Fiori UI for Invoice Verification (Public Cloud) , Problem
SAP Knowledge Base Article - Public