Reply from Juan_Tamad on Jul 27 at 10:47 AM Use the FM below, just pass the username then you will get the user defaults. If DCPFM is initial, then format is 1.234.567,89 If DCPFM is X, then format is 1,234,567.89 If DCPFM is Y, then format is 1 234 567,89 DATA: user_name TYPE usr02-bname, user_defaults TYPE usdefaults. CALL FUNCTION 'SUSR_USER_DEFAULTS_GET' EXPORTING user_name = user_name IMPORTING user_defaults = user_defaults EXCEPTIONS user_name_not_exist = 1 OTHERS = 2. IF sy-subrc <> 0. * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. ENDIF.
| | | ---------------Original Message--------------- From: Mayank Tyagi Sent: Sunday, August 01, 2010 4:10 PM Subject: Thousand separator conversion Hi All, i want to display amount field (20000.00) with thousand separator as (20,000.00). i defined amount field as character data type for my requirement. user want to see this value with thousand separator. Thanks to one who will solve it first. | | Reply to this email to post your response. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |
No comments:
Post a Comment