Symptom
You are trying to post the supplier invoice via Web Service API - ManageSupplierInvoiceIn with more than one cost distribution assignment. However system creates only one cost assignment with 100% distribution.
Environment
SAP Business ByDesign
Reproducing the Issue
- Open the SOAP UI and load the Payload Request
- Call the Web Service API - ManageSupplierInvoiceIn
- Login and execute the web service
- In the Payload you can see two Cost Distributions with Percentage assignment
- After execution, system creates Supplier Invoice with one Cost Distribution and 100% assignment
Cause
In the current release, we do not support multiple account assignment distribution when creating supplier invoices through web service.
Resolution
This can be taken as a new requirement and kindly post the idea in influence forum- https://influence.sap.com/SAPByDesign.
Create multiple account assignments for a single item is possible in Purchase Order and not in Supplier Invoice.
In Supplier invoiceCost Distribution items are those items which refer to multiple Goods and Service Receipts items created for a single Purchase Order item where the ordered quantity is split to multiple deliveries. So action Add Assignment does not support the action parameters of adding percentage and amount.
However it is PSM released and hence it can be used to create new cost distribution items.So ask your Partners to achive this.
Actions partners can consider is:
""As action parameters the * ID, Type code = '127', Item ID needs to be passed. Once the cost distribution item is created, you can retrieve the items and then update the information of amount and percentage. (Cost distribution items have item numbers say 1.1, 1.2, 2.1,2.2 etc. ) where 1 & 2 refers to the item number in the items tab.
Kindly test from your end ""
Keywords
Supplier Invoice Cost Distribution; Supplier Invoice Cost Distribution via web service; Distribution of costs in Supplier invoice , KBA , SRD-SRM-SI , Supplier Invoicing , Problem