Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Can i change the user-profile using a program ???

Former Member
0 Likes
1,396

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

3 REPLIES 3
Read only

suresh_datti
Active Contributor
0 Likes
1,010

Pl take a look at the function module SUSR_GET_USER_DEFAULTS & use the source code to meet your reqt.

~Suresh

Read only

Former Member
0 Likes
1,010

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

Read only

Former Member
0 Likes
1,010

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