on 04-03-2009 1:42 PM
Hello everyone,
in our application, user has the possibility to enter the exchange rate on the screen directly which is then used to convert value between different currencies.
The input field is in text format, so the value has to be converted into internal format (a number). There is a function module for this 'CONVERT_RATE_INPUT' which works in SAP GUI.
Now, if I use this module in WD, there is a dump if user enters the rate in wrong format because this module uses statement "MESSAGE" which is prohibited in WD.
Does anyone know if there is any standard module which works in WD?
It seems to me a bit silly just to rewrite the code of the FM 'CONVERT_RATE_INPUT' so it works in WD...
Thank you in advance for any advice.
Kind regards,
Tomas
Hi,
Also check this CL_WDR_CONVERSION_UTILS for the conversions in webdynpro.
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did not notice that the FM 'CONVERT_RATE_INPUT' raises also exception input_error. By catching this exception and checking sy-msg, I can solve my problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.