SAP Knowledge Base Article - Public

3070365 - Inconsistent display of Currency on Discount Price Component.

Symptom

When checking the Price Components of a Sales Order, you notice that for some documents the Currency is not shown in the "Product Discount(%)" Price Component.

Environment

 SAP Business ByDesign.

Reproducing the Issue

  1. Go to the Sales Orders work center.
  2. Open the Sales Orders view.
  3. Find Sales Order ABC (Where ABC Represents the Sales Order ID).
  4. Open it and click the View All button.
  5. Navigate to the Pricing and Invoicing tab.
  6. Click on Expand All under the Pricing section.
  7. Check the Price Component "Product Discount(%)"

 You will see that under "Amount", the currency is not displayed to the right of the monetary value.

Cause

This happens when the Discount List is updated in the document via Web Service but the <CurrencyCode> tag is sent along. In cases where the Discount List is operating in a Percent basis, this tag is not needed on updates and might lead into issues such as this one.

Resolution

The following is a .xml payload snippet sample which avoids the issue: (All mandatory values have been changed to "XXXX")

 <SalesPriceList>
    <ObjectNodeSenderTechnicalID>PriceList</ObjectNodeSenderTechnicalID>
    <TypeCode>7PL1</TypeCode>
    <ID>XXXX</ID>
    <Description languageCode="XXXX">XXXX</Description>
    <StartDate>XXXX</StartDate>
    <EndDate>XXXX</EndDate>
    <PriceSpecification>
       <TypeCode>7PR6</TypeCode>
       <Percent>XXXX</Percent>
    </PriceSpecification>
</SalesPriceList>

Keywords

Webservice, Web Service, Price Component, CurrencyCode, Currency, Display, Show, Shown, Missing , KBA , AP-SLO-SO , Sales Order , How To

Product

SAP Business ByDesign all versions