SAP Knowledge Base Article - Public

3488098 - Default cost center not filled automatically when editing supplier invoice created with API_SUPPLIERINVOICE_PROCESS_SRV in held status

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

  1. Create supplier invoice with held status with API_SUPPLIERINVOICE_PROCESS_SRV
  2. Open supplier invoice from 'Supplier Invoices List' and click on Edit
  3. 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

API_SUPPLIERINVOICE_PROCESS_SRV Help Portal

 

 

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

Product

SAP S/4HANA Cloud Public Edition all versions