SAP Knowledge Base Article - Public

2956858 - Delete Line Item in Sales Quote via Webservice

Symptom

You are not able to delete items in Sales Quote via webservice - ManageCustomerQuoteIn. The following errors appear:

  • "Deletion not possible; existing data for ITEMS not fully specified".
  • "Missing key specification for processing node CUSTOMER_QUOTE ITEM".

Environment

SAP Business ByDesign

Reproducing the Issue

Run the webservice - ManageCustomerQuoteIn using the tag for deletion as below:

<CustomerQuote actionCode="04">
<ID>ABC</ID>
<Items itemScheduleLineListCompleteTransmissionIndicator="true" actionCode="03">
<ItemProduct>
<ProductInternalID>YYY</ProductInternalID>
</ItemProduct>

  • ABC represents the Sales Quote ID
  • YYY represents the Product ID

The response of the payload comes with the errors:

  • "Deletion not possible; existing data for ITEMS not fully specified".
  • "Missing key specification for processing node CUSTOMER_QUOTE ITEM".

Cause

It's necessary to provide the Line Item ID of the Sales Quote while deleting the item via webservice

Resolution

Run the webservice - ManageCustomerQuoteIn using the tag for deletion as below:

<CustomerQuote actionCode="04">
<ID>ABC</ID>
<Items actionCode="03">
<ID>XX</ID>
</Items>
</CustomerQuote>

  • XX represents the Line Item ID of Sales Quote ABC.

Keywords

Sales Quote, Customer Quote, Webservice, Delete, Items , KBA , AP-CQP-CQ , Customer Quote , How To

Product

SAP Business ByDesign all versions