2012 Oct 02 7:41 AM
Hi Experts,
I have to validate currency field. Example: amount type dmbtr, dmbtr has length 13 and decimals 2. So i have to check whether amount has length of 13 and decimals 2. Is there any function module to validate??
Thanks in Advance!
Hi Experts,
I have to validate currency field. Example: amount type dmbtr, dmbtr has length 13 and decimals 2. So i have to check whether amount has length of 13 and decimals 2. Is there any function module to validate??
Thanks in Advance!
2012 Oct 02 7:55 AM
2012 Oct 02 8:03 AM
2012 Oct 02 8:05 AM
Use FM CURRENCY_AMOUNT_DISPLAY_TO_SAP else you can directly fire a querry on TCURX table with your currency value as input and you will get the exact decimal values, with this you can validate
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |