Symptom
When querying Customer Invoice information via webservice QueryCustomerInvoiceIn, in the response, the 'Product Discount (%)' Price Component is shown twice.
Environment
SAP Business ByDesign.
Reproducing the Issue
- Execute the QueryCustomerInvoiceIn request XML.
- In the response, two very similar entries for the 'Product Discount (%)' Price Component are displayed:
<Description languageCode="EN">Product Discount (%)</Description>
<MajorLevelOrdinalNumberValue>941</MajorLevelOrdinalNumberValue>
<MinorLevelOrdinalNumberValue>14</MinorLevelOrdinalNumberValue>
And
<Description languageCode="EN">Product Discount (%)</Description>
<MajorLevelOrdinalNumberValue>11</MajorLevelOrdinalNumberValue>
<MinorLevelOrdinalNumberValue>1</MinorLevelOrdinalNumberValue>
Cause
The response of the QueryCustomerInvoiceIn webservice will always return the Pricing Components with Step number 011 and step number 941, irrespective of effective indicator. This is why two entries are displayed.
Resolution
This is the expected system behavior.
Keywords
Webservice, web service, QueryCustomerInvoiceIn, payload, response, duplicate, twice, query customer invoice, query invoices, discount. , KBA , AP-CI-CI , Customer Invoice , How To