on 05-15-2008 5:02 PM
Hi All,
How to format the weight as per the Language.
For example if weight is 83.260(It means eight three kilo and two hundered sixy gram), which is when you see on the screen field. I need to display it in desired format.
How can I format it for example for DE and Other language like
83.260,00
and for EN it should be
83,260.00
Is there a function module for this.
I have tried using SET COUNTRY 'DE' or SET COUNTRY 'EN'
Thanks,
Mark
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try like this.
DATA: v_lang TYPE tcp0c-langu,
v_cntry TYPE tcp0c-country,
v_mod TYPE tcp0c-modifier.
GET LOCALE LANGUAGE v_lang COUNTRY v_cntry MODIFIER v_mod.
SET LOCALE LANGUAGE 'E' COUNTRY V_cntry.
"do the formating for weight here."
SET LOCALE LANGUAGE v_lang COUNTRY V_cntry.
Use same logic for DE also.
Regards
Sandeep Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.