cancel
Showing results for 
Search instead for 
Did you mean: 

Comma in place of dot in smartforms

Former Member
0 Kudos

hello,

I have one peculier problem, when i print the data (numbers, currency) it will print comma(,) in place of dot( . decimals ), and dot in place of comma, i dubugged tht smartform in internal table has same data wht i get data base, when priting only this problem was raised, for some invoices it coming properly, for some invoice it not coming, i  checke user profile also.

kindly help me how to rectify the error.

I have user set country as 'GB'.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member184569
Active Contributor
0 Kudos

Hi Abhis,

'.'  or  ','  is printed according to the country settings.

First check the transaction OY01. Here are the formats of number and date.

Then in your print program set country using this command node.

SET COUNTRY <country name>

 

Eg :  SET COUNTRY 'GB'

Thanks Susmitha

Former Member
0 Kudos

Thanks Susmita for your reply.

Invoice is picking decimal format from OY01 based on ship to country.

Answers (2)

Answers (2)

former_member214878
Active Participant
0 Kudos

Hello Abhis,

I am really not sure of what Susmitha and Sultana is suggesting.

Though you can check the global setting in OY01 and can set the country GB in SF.

I suggest if you want your '.' or ',' format, use MOVE statement to copy data (Currency/numbers) to char variable and then try to print.

MOVE will overcome global settings.....

Hope it might help.

Thanks and Regards,

Ravindra Sonar

Former Member
0 Kudos

Hi,

Check in the Country Global Parameters.

In tcode OY01, under country GB, check the decimal pt Format.

Regards...

Sultana