2010 Jul 22 1:12 PM
Dear Experts
In the Bapi BAPI_SALESORDER_SIMULATE the structure BAPIITEMIN contains a field Req_qty that has the data element WMENGC which is taking the input with 3 decimal points even though the domain doesnt contains any decimals, because of this im facing the problem while giving the input.
Is there any functional requirement to avoid that quantity field taking those 3 decimals
eg: Original Value: 1000
Input Value(Converted Value) : 1.000
Kindly suggest me a solution to sort out the issue.
Regards
Arun.P
Dear Experts
In the Bapi BAPI_SALESORDER_SIMULATE the structure BAPIITEMIN contains a field Req_qty that has the data element WMENGC which is taking the input with 3 decimal points even though the domain doesnt contains any decimals, because of this im facing the problem while giving the input.
Is there any functional requirement to avoid that quantity field taking those 3 decimals
eg: Original Value: 1000
Input Value(Converted Value) : 1.000
Kindly suggest me a solution to sort out the issue.
Regards
Arun.P
2010 Jul 22 1:16 PM
multiply your original value with 1000 before giving it to the bapi?
Yeah sure i know understanding would help you more, but still even this scrapband-method should help out.
2010 Jul 22 1:34 PM
Hi Florian
Thank you for the reply
i tried it already, but is there any standard way to handle this?
Regards
Arun.P
2010 Jul 22 1:36 PM
well i suspect that this bapi also has a currency field, which you should fill.
If he knows the currency he should be able to find out how much decimals there are customized for this currency, and then probably he will do it right.
oh lol you are talking of quantities and not values... sorry forget about my comment...
Edited by: Florian Kemmer on Jul 22, 2010 2:37 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |