SAP Knowledge Base Article - Public

3435606 - Discount List Name is Changed to "Product Discount (%)" When Discount Amount is Changed via Web Service

Symptom

You are using web service to create new sales orders. In the request payload, you give specific <ItemMainDiscount> value. 

There is a  valid discount list in the system and matches the order condition, so you expect that system determines the discount list, and remains the name in the Pricing, but only update the discount amount.

For example, the valid discount list is ABC with discount -30%.

You pass the request payload with discount as -50%. You expect the discount list name remains as ABC, and discount amount as 50%. But actually, system changed the discount list name to "Product Discount (%)".

ABC represents the name of the discount list.

Environment

SAP Business ByDesign

Reproducing the Issue

Prepare the request payload and execute it.

In the payload, you give the following ItemMainDiscount.

<PriceAndTaxCalculationItem actionCode="01">
                  <ItemMainDiscount actionCode="01">
                     <Rate>
                        <DecimalValue>50.0</DecimalValue>
                     </Rate>
                  </ItemMainDiscount>
               </PriceAndTaxCalculationItem>

Cause

In sales order interface, when <ItemMainDiscount> is added. The payload actually removes the determined discount and add it manually. This could be seen in the response message:<Note>Main discount created for Order Item ; determined discounts deleted</Note>.

In the UI, if you remove the determined discount price component on Item Pricing, and add it manually, the description is 'Product Discount (%)' as well.

You can see the behavior is consistent.

Resolution

This is the designed system behavior.

If you want to change the discount list name, you can edit the price component description for the product discount price component in Pricing tab.

See Also

Inbound Service Manage Sales Orders

https://help.sap.com/doc/a2b4c7ef61d64397b2b1d052082a8a08/2402/en-US/PSM_ISI_R_II_SLO_SO_BUNDLE_MBO.html

section: Support for Item Main Discount:

Case 2: In case if there is single discount determined from master data at item level, then determined discount is discarded and discount sent in ItemMainDiscount is set as item discount, and then a warning message is sent in response . Note: ItemMainDiscount takes priority over determined discount from masterdata.

Keywords

ManageSalesOrderIn; discount list name; discount list description; Product Discount (%). , KBA , SRD-CRM-ORD , Orders & Contracts , Problem

Product

SAP Business ByDesign 2402