on 2022 Mar 16 9:16 AM
body-supplier-invoice-with-reference-to-po-without.txtHi,
we are trying to create a supplier invoice with reference to a Purchase Order with multi account assignment via API. The Purchase Order has no GR based Invoice verification check. The error we are getting from Postman (when calling the API) is M8/416 (please see the attached documents, one with the error snapshot, another with the Body of the message to call the API to create the supplier invoice)
Would really appreciate your help, because we have only seen this error when the Purchase Order has check GR based Inv verification unflagged.
KR,
Jose
SOLUTION PROVIDED:
Hello,
I am a colleague of Jose Antonio Nestares and we have found a solution to the error.
First of all, SAP found a bug in the API due to the error that occurred when sending all the cost allocation information in the section "to_SupplierInvoiceItmAcctAssgmt". This fix will be available from Release 2208.
Alternatively, to be able to create an invoice from a purchase order that has a cost allocation in the items and also has Goods Receipt, simply not reporting the fields referring to the cost objects will post. I.e. the following fields in the section "to_SupplierInvoiceItmAcctAssgmt" would have to be sent empty:
<CostCenter/>
<ControllingArea/>
<ProfitCenter/>
<FunctionalArea/>
<GLAccount/>
<WBSElement/>
This works both for orders with a single account assignment (a single Cost Centre or WBS Element) and for orders with multiple account assignment (various assignment to Cost Centre or WBS Element).
If the purchase order does not have Goods Receipt, you would have to send the information in these fields. In these cases, the API does not give error.
I hope this helps.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
106 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.