SAP Knowledge Base Article - Public

3455991 - Unexpected Plus or Minus Signs in Credit Memo XML

Symptom

When the Output XML of a Credit Memo is checked, it is noticed that the values of the <CalculatedAmount> tag have inverted positive and negative signs.

Environment

SAP Business ByDesign 

Reproducing the Issue

  1. Go to the Customer Invoicing work center.
  2. Open the Invoice Documents view.
  3. Find and Open Credit Memo ABC (Where ABC Represents the Credit Memo ID).
  4. Click the View All button.
  5. Navigate to the Output History tab .
  6. Highlight one of the outputs and click the View Original XML button.

It will be observed that within the <CalculatedAmount> tag, the negative/positive signs for the values are inverted from what is seen in the Items themselves (The value intended to be positive is now displayed as negative, and the value intended to be negative is now displayed as positive).

Cause

Due to the nature of the Credit Memo functionality being different than a regular Customer Invoice, the values of the <CalculatedAmount> tag have inverted positive and negative signs.

Resolution

This is the expected system behavior.

Keywords

Plus, Minus, Negative, Positive, Sign, Simbol, +, -, XML, Output, Code, Template, Credit Memo. , KBA , AP-CI-CI , Customer Invoice , How To

Product

SAP Business ByDesign all versions