2009 Aug 07 6:49 AM
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
2009 Aug 07 8:06 AM
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
2009 Aug 07 8:15 AM
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.
2009 Aug 07 8:17 AM
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.
2009 Aug 07 8:21 AM
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.
2010 Mar 05 10:35 AM