2009 Apr 14 12:09 PM
Hi All,
I had passed amount value as 15,000,000.95, which throws below exception while creating PO:
Unable to interpret "1.500000095E7 " as a number.
Now the variable which holds the amount value is of type currency and lenth 11.How to resolve it?
Thanks
Hi,
you have to remove the comman's while creating the PO
do below
Move that to a character field and use REPLACE keyword.
data: w_menge_po(17).
w_menge = wa_menge_orignal.
REPLACE ALL OCCURRENCES OF ',' IN w_menge_po WITH ''.hope it workds
2009 Apr 14 12:11 PM
2009 Apr 14 12:13 PM
Hi,
remove the comma's and pass the value
instead of '15,000,000.95' pass as '15000000.95'.
Hope it helps!!
Regards,
Pavan
2009 Apr 14 12:23 PM
Hi,
you have to remove the comman's while creating the PO
do below
Move that to a character field and use REPLACE keyword.
data: w_menge_po(17).
w_menge = wa_menge_orignal.
REPLACE ALL OCCURRENCES OF ',' IN w_menge_po WITH ''.hope it workds
2009 Apr 14 12:26 PM
Hi Debabrata ,
* Before passing the variable remove the commas using the syntax.
Replace ',' with space into w_currency.
condence w_currecy no-gaps.
* then pass the currency into varaible.
Regards,
Prabhudas
2009 Apr 14 12:43 PM
Hi,
Try with the Function Module CONVERSION_EXIT_ALPHA_INPUT
Thank you,
Sekhar.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |