2005 Jun 09 1:10 PM
In a self created dynpro we use a currency field for both JPY and aother currencies. When the currency is JPY we wannt to supress the decimals . Ho can we realise it, The field is used as INPUT/OUTPUT field.
When using other currencies we need all the checks for the right sytax of the input data.
In a self created dynpro we use a currency field for both JPY and aother currencies. When the currency is JPY we wannt to supress the decimals . Ho can we realise it, The field is used as INPUT/OUTPUT field.
When using other currencies we need all the checks for the right sytax of the input data.
2005 Jun 09 1:26 PM
Hi,
First of all, I have to say that the number of decimal digits depends on customizing for each currency.
But if you want to work without decimals in a determined Dynpro only for JPY, without affecting other currencies, I think that you should change the format of the I/O field.
Maybe, by setting this field as type CHAR, but if you do this you have to check that user's inputs are correct (no ALPHANUMERICAL data, etc... )
Function Module
CATS_ITS_MAKE_STRING_NUMERICALcould be usefull.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |