Symptom
You have created a new Purchasing Contract with one item and released it via web service. Then you try to update the first item and add a new item at the same time.Response fails.
Environment
SAP Business ByDesign
Reproducing the Issue
-
Open SOAP UI
- Run the web service request to create Purchasing contract with one item and release it
- Now, run the request XML to create new item and update old item in Purchasing contract simultaneously
- Response is not successful
Cause
The current behavior of the system doesn't permit simultaneous update and create of items as a part of payload.
Resolution
So, you can make separate calls for creation of item and update for items.
Also, use Action Code as per the use case. Eg - 01 for create and 02 for update; Don't specify the attributes which are uneditable or read only.
Keywords
Purchasing Contract, web service, create , update , KBA , purchasing contract , web service , create item , update item , AP-PCP , Purchasing Contract Processing , Problem