2007 Apr 17 5:28 AM
HI,
I was going through a couple of items. During this process, I noticed that the default decimal notation for my user data is set to: 1.234.567,89. Is this deliberate? Can I switch this to the default decimal notation to be 1,234,567.89? The date format is similarly set;
what is the use of decimal notation? Is there any limit or range?
Can we change the Decimal notation, Will it effect the system in anyway.
Regards,
Magham
2007 Apr 17 5:33 AM
Hi Magham,
Check this info.
THIS PROCEDURE IS BY CHANGING SETTINGS :
In your user profile, change the decimal format you are currently using.
System->User Profile->Own data.
Go to defaults tab and then change your decimal notation.
THIS PROCEDURE IS WITHOUT CHANGING DEFAULT SETTINGS:
Check this sample code.
Report YH642_TEST.
TABLES:
mard.
DATA : W_mard_labst type p decimals 3,
w_dt1(18).
data:
W_N TYPE I.
SELECT SINGLE * FROM MARD INTO MARD WHERE LABST = '10000.00'.
WRITE: mard-labst .
W_mard_labst = mard-labst.
WRITE:/ W_mard_labst .
w_dt1 = w_mard_labst .
write W_mard_labst to w_dt1.
W_N = STRLEN( W_DT1 ).
W_N = W_N - 4.
REPLACE ALL OCCURRENCES OF ',' IN W_DT1 WITH '.' .
REPLACE ALL OCCURRENCES OF '.'
IN SECTION OFFSET W_N LENGTH 4 OF W_DT1 WITH ','.
WRITE: / W_DT1.
Hope this resolves your query.
Reward all the helpful answers.
Regards
2007 Apr 17 5:35 AM
Hi Magham ,
These setting can be done for each user.
To set this please follow the path
in the menu Systems --> USer Profile --> Own data . or you can call the transaction SU3 to set this data,.
Regards
Arun
2007 Apr 17 6:10 AM
HI,
Thank you for your responce.
I would like to know what is the use of this decimal, can you tell me what is the importance of this decimal notation.
can you send me any link on decimal Notation
Regards,
Magham
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |