2007 Mar 27 1:18 PM
To change the user profile manually we follow the following steps:
1. click on "System" (top most line of standard SAP screen)
2. Click on "User profile".
3. click on "Own data"
4. click on "default tab"
You will see the decimal notataion ....
I want to set the second one i.e (1,234,567.89) irrespective of what ever was selected earlier.
After executing the program, i have to again change it to its previous state (which ever was selected earlier)..
Please tell me how can i change this user profile when wver my program is executed ??
Thanks
Rahul
To change the user profile manually we follow the following steps:
1. click on "System" (top most line of standard SAP screen)
2. Click on "User profile".
3. click on "Own data"
4. click on "default tab"
You will see the decimal notataion ....
I want to set the second one i.e (1,234,567.89) irrespective of what ever was selected earlier.
After executing the program, i have to again change it to its previous state (which ever was selected earlier)..
Please tell me how can i change this user profile when wver my program is executed ??
Thanks
Rahul
2007 Mar 27 1:40 PM
Pl take a look at the function module SUSR_GET_USER_DEFAULTS & use the source code to meet your reqt.
~Suresh
2007 Mar 27 3:32 PM
Hi Rahul,
I do not think that would work. Even if you update the user profile manually it only takes effect when you logout and login.
You can update the profile programmatically but the changes will not take effect till the user logs out and logs in again.
If it is just an issue of printing the right decimal format you can programatically controll how you show the values.
-kalyan
2007 Apr 03 7:06 AM
Instead of changing the user-profile, i changed the users country to that country which was using the desired decimal notation and then at the end of the program the country of the user was set to its default.
I used :
Set country v_country at the beginning
set coutry blank at the end
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |