SAP Knowledge Base Article - Public

2825374 - You are unable to Update an old item and Create a new item Simultaneously in Purchasing Contract via Web Service

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

  1. Open SOAP UI
  2. Run the web service request to create Purchasing contract with one item and release it
  3. Now, run the  request XML to create new item and update old item in Purchasing contract simultaneously
  4. 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

Product

SAP Business ByDesign all versions