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

How to maintain User Profile in Background processing

Former Member
0 Likes
1,056

Hi all,

I have maintained the user profile for foreground process by going to System->User profile->Own data and i have selected the required Decimal notation. But while i am executing the same process in background it is taking the defauld setting not the one i am setting in Foreground process.

Kindly tell me as how to do same user profile setting in background processing.

Regards,

Nikesh kumar

Hi all,

I have maintained the user profile for foreground process by going to System->User profile->Own data and i have selected the required Decimal notation. But while i am executing the same process in background it is taking the defauld setting not the one i am setting in Foreground process.

Kindly tell me as how to do same user profile setting in background processing.

Regards,

Nikesh kumar

5 REPLIES 5
Read only

Sm1tje
Active Contributor
0 Likes
960

But while i am executing the same process in background

So how are you trying to set a profile in background? There are several FM's to set the user data (defaults).

For example:

BAPI_USER_CREATE1

Read only

Former Member
0 Likes
960

before executing the background job you can change the default profile.

actually when you goto system->user profile->own data it takes you to tcode SU3. so before executing the background job you can do this,.

one more way is, if you your exact requirement then you can tweak the format with your code itself.

Read only

Former Member
0 Likes
960

I did not understand this properly. Actally the program is same in the case of both foreground and background process but in the case of background the decimal notation if of European format, jut my concern is how to change it to American format. As it is perfectly fine in the case of foreground process.

Read only

0 Likes
960

I Had the same in other post of urs..

This setting can be found in table USR01 (key field BNAME equals SY-UNAME), field
DCPFM with the following values:
X = decimal point (N,NNN.NN)
Y = decimal comma (N NNN,NN)
<space> = decimal comma (N.NNN,NN)

Once you determined the users settings, you can do the following:
in case of decimal point (USR01-DCPFM equals 'X'):
replace commas with spaces, condense the field and replace the point with
a comma.

in case of a decimal comma (USR01-DCPFM equals 'Y' or USR01-DCPFM equals
space):
replace points with spaces, condense the field.

Read only

Former Member
0 Likes
960

Thanks