SAP Knowledge Base Article - Public

3413273 - Unexpected Error When Creating Custom Price List with Extension Fields via Webservice

Symptom

You are trying to create a Custom Price List with Extension Fields via Webservice, however, the Price List is not created due to an error.

Environment

SAP Business ByDesign 

Reproducing the Issue

In SOAP UI or any other API testing tool, when trying to create a Custom Price List with Extension Fields, you receive the following error: 

<Note>Base Price List ABC with same validity already exists</Note>

(Where ABC Represents the ID of the Price List).

However, they are not trying to create a Base Price List, but rather a Custom Price List. 

Cause

In this scenario, the error happens when the Extension Field in question is being used in the request payload to create the Custom Price List, but it has not yet been properly added to 'Manage Sales Price Lists' Service via further usage.

Resolution

In order to add the Extension Field to the 'Manage Sales Price Lists' Service, follow these steps:

  1. Navigate to a screen where you have added the field.
  2. Go into Adaptation Mode.
  3. In the side bar, scroll down until you see a plus ('+') sign.
  4. Click on it and select Extension Fields.
  5. Highlight the extension field that you wish to extend.
  6. Click on Further Usage.
  7. Go to the tab Services.
  8. Highlight Service 'Manage Sales Price Lists'.
  9. Click on 'Add Field'.

Once the field is added to the Webservice, it can be properly used in the creation request payload.

Keywords

Web Service, Webservice, Manage Sales Price Lists, Custom, Extension Field, Pricing, Price List, ManageSalesPriceListIn, Cannot, Unable, Impossible, Not Possible, Error, Erroneous, Request, Response, XML, Payload. , KBA , AP-PRC-PC , Calculation , How To

Product

SAP Business ByDesign all versions