Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

JPY in Dynpro

Former Member
0 Likes
447

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.

1 REPLY 1
Read only

Former Member
0 Likes
358

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_NUMERICAL

could be usefull.