cancel
Showing results for 
Search instead for 
Did you mean: 

decimal prob

Former Member
0 Kudos

Hi all ,

We are working on a smartform Invoice which is being run

by standard SAP transaction . We are printing the field

NETWR at one place . In one particular document , where

its value is 10.00 it gets doisplayed as 10,00(with comma

as decimal separator)whereas in another where its value is

22222.00 , it gets displayed/printed as 22,222.00(with decimal

as decimal separator )

Any ideas why this is happenning .

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I can think of two things that can cause this:

1. The currency format in the user master is set up in the way you have

described. You can change this in the user master preferences.

2. You are printing an invoice in a European or Asian currency and the

currency is set up to print that way. To fix this, you can use the SET

COUNTRY command within the smart form to set it to print in the style of the

country you want, e.g. U.S. or Canada. Or, you can change the config for

the currency in table T005X.

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

from Menu Bar -


> System -


> User Profile -


> Own Data------> Defaults Tab -


> Set Decimal notation here .

to take changes effect u have to re login.

reward if helpful

Former Member
0 Kudos

Hi

first move this integer type variable into a character type and now u can use..

TRANSLATE or REPLACE..

data w_value(20) type c.

w_value = mseg-amount.

translate w_value using ',.'.

or

replace all occurrences of ',' in w_value with '.'.

this ',' to '.' conversion depends on the user master settings for your user id. if it is , only then no need of this change !! take care of that also..