Symptom
Unable to change Cost Center while creating Supplier Invoice with reference to Purchase Order via web service.
Environment
SAP Business ByDesign
Reproducing the Issue
Note : Purchase Order ABC (ABC refers to Purchase Order ID) line items have the Cost Center as 111 (111- refers to Cost Center ID)
- Open SOAP UI (or equivalent).
- Create a empty project.
- Add the WSDL for Supplier Invoice creation.
- Prepare a Supplier Invoice payload that references the Purchase Order and contains an AccountingCodingBlockDistribution with a Cost Center as 222 (222 refers to Cost Center ID) which is different from the Cost Center on the Purchase Order ABC.
- Authenticate with a Technical User.
- Run the payload.
In the created Supplier Invoice: Cost Center remains as same as the Cost Center(111) on Purchase Order ABC instead of the Cost Center (222) sent in the payload.
Cause
Currently, When a Supplier Invoice with Purchase Order reference is created via webservice, system will automatically reference the Cost Center details from the Purchase Order.
Resolution
- This is the expected system behavior.
- If the Cost Center needs to be different from the Purchase Order Item's Cost Center. System allows to manually change the Cost Center in UI only if the Purchase Order ABC item's Goods and Service Receipt expected field is unchecked.
Currently, it is not possible to create or update a Supplier Invoice Item's Cost Center when a Purchase Order is referenced. Turn to SAP BYD Influence Forum for new requirement proposals: https://influence.sap.com/sap/ino/#/campaign/8968
Keywords
Supplier Invoice Web Service; ManageSupplierInvoiceIn; Cost Center; Account Assignment; Purchase Order Reference; Not Updated , KBA , SRD-SRM-SI , Supplier Invoicing , Problem
SAP Knowledge Base Article - Public